Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The linker is complaining that my_package is not a library. Do you create a library named my_package in your CMakeLists.txt? (Including your FULL CMakeLists.txt would be useful here).

P.S. - You should NEVER #include a .cpp file. NEVER.

The linker is complaining that my_package is not a library. Do you create a library named my_package in your CMakeLists.txt? (Including your FULL CMakeLists.txt would be useful here).

P.S. - You should NEVER #include a .cpp file. NEVER.