Hello Leif,
Are your libraries mutually dependent? You may be hitting the
mutually-dependent static library problem. Look for the word
mutual near
the end of
http://www.cmake.org/cmake/help/v3.0/command/target_link_libraries.html,
that section explains some of what is going on.
yes it
Hi Olaf,
See my reply below inline.
On 21/08/14 20:19, Olaf Peter wrote:
Hello Marcel,
Olaf,
Unless your code snippets are incomplete, I'm missing the following
statement in ./source/eea/ui/CMakeLists.txt
target_link_libraries(eea_ui_lib
eea_ui_schematic_lib)
I'm not sure
no idea here? It's seems to be a C++ problem, but how to solve it.
Changing the order of
target_link_libraries(eea
eea_ui_schematic_lib
eea_ui_lib
to
target_link_libraries(eea
eea_ui_lib
eea_ui_schematic_lib
makes it even worser - more unresolved symbols. So what
Olaf,
Unless your code snippets are incomplete, I'm missing the following
statement in ./source/eea/ui/CMakeLists.txt
target_link_libraries(eea_ui_lib
eea_ui_schematic_lib)
I'm not sure this is causing the link error, but it's worth a try.
Furthermore, I think the order of
Hello Marcel,
Olaf,
Unless your code snippets are incomplete, I'm missing the following
statement in ./source/eea/ui/CMakeLists.txt
target_link_libraries(eea_ui_lib
eea_ui_schematic_lib)
I'm not sure this is causing the link error, but it's worth a try.
thank you a lot, this
Are your libraries mutually dependent? You may be hitting the
mutually-dependent static library problem. Look for the word mutual near
the end of
http://www.cmake.org/cmake/help/v3.0/command/target_link_libraries.html,
that section explains some of what is going on.
On Thu, Aug 21, 2014 at
Hello,
for my project I have the following structure in my project directory:
./CMakeLists.txt
./source/CMakeLists.txt
./source/eea/CMakeLists.txt
./source/eea/ui/CMakeLists.txt
./source/eea/ui/schematic/CMakeLists.txt
with
---8---
./CMakeLists.txt:
project(eea)
...
---8---