Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CMake Error: CMake can not determine linker language for target:

Hi,

I am trying to create wireshark dissector plugin. I have referred README.plugins file. I have to create plugin using custom extension. I followed all the steps mentioned in README.plugins upto 3.1. But i am getting error as follows,

-- Configuring done CMake Error at cmake/modules/WiresharkPlugin.cmake:32 (add_library): Cannot find source file:

packet-75f_wirless.C

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): plugins/75f_wireless/CMakeLists.txt:55 (add_plugin_library)

CMake Error: CMake can not determine linker language for target: 75f_wirless -- Generating done -- Build files have been written to: C:/Development/wireshark

So let me know how can remove this linker error.

Thanks, Nilesh

click to hide/show revision 2
None

CMake Error: CMake can not determine linker language for target:

Hi,

I am trying to create wireshark dissector plugin. I have referred README.plugins file. I have to create plugin using custom extension. I followed all the steps mentioned in README.plugins upto 3.1. But i am getting error as follows,

-- Configuring done
CMake Error at cmake/modules/WiresharkPlugin.cmake:32 (add_library):
  Cannot find source file:

file: packet-75f_wirless.C
packet-75f_wirless.C

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): plugins/75f_wireless/CMakeLists.txt:55 (add_plugin_library)

(add_plugin_library)

CMake Error: CMake can not determine linker language for target: 75f_wirless -- Generating done -- Build files have been written to: C:/Development/wireshark

C:/Development/wireshark

So let me know how can remove this linker error.

Thanks, Nilesh