Console Output
Hello,
I am trying to track down a linker error, but the console output seems to be cut off by CLion so that I cannot see the original linker command. Is there a way to access the full console log? There really should be!
thanks,
Christian
Please sign in to leave a comment.
Christian, I apologise for the late response.
If you are still having the issue, could you please attach a screenshot to show it?
Hi,
I dont think you need a screenshot if you read my question carefully, unless you are not a programmer
Christian,
Answering your question, no, there is no other way.
Still, I would like to get the idea of how the console output is being cut off by CLion, a screenshot is an easiest way to do so, I belive.
I believe I have the same problem. I would like to see the link command, but in the Messages window I get:
"C:\Program Files (x86)\JetBrains\CLion 140.569.17\bin\cmake\bin\cmake.exe" --build C:\Users\Alex\.clion10\system\cmake\generated\60dd1e42\60dd1e42\Debug --target hermes_client -- -j 4
Linking CXX executable hermes_client.exe
CMakeFiles\hermes_client.dir/objects.a(Application.cpp.obj): In function `ZN14ApplicationWinD1Ev':
E:/src/hermes/client/src/gui/Application.cpp:24: undefined reference to `_imp___ZN9Awesomium7WebCore8ShutdownEv'
CMakeFiles\hermes_client.dir/objects.a(Application.cpp.obj): In function `ZN9Awesomium9WebConfigD1Ev':
c:/Program Files (x86)/Awesomium Technologies LLC/Awesomium SDK/1.7.5.0/include/Awesomium/WebConfig.h:43: undefined reference to `_imp___ZN9Awesomium14WebStringArrayD1Ev'
As you can see, I'm trying to link an application, but I get undefined reference errors. I would like to see what libraries are linked and investigate whether I'm missing a library I know of or not.
However, I do not see the call to ld.exe (or whatever linker it's using).
Thanks,
Alex.
Hi,
Putting "set(CMAKE_VERBOSE_MAKEFILE on)" into your CMakeLists.txt should help.