Linking failed when building with CMake 3.14
Bug #1819928 reported by
HJarausch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Trying to build the version it fails with lots of undefined references like
wxGLCanvas:
It should build against additional libraries like libwx_gtk2u_aui-3.0
To post a comment you must log in.
The CMake build system should be take care of the needed wxWidgets libs.
We are currently at beta 2 and there were reports that it builds fine on different systems without problems.
CMake is using wx-config to get the needed libs. lib/i386- linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_stc-3.0 -lwx_gtk2u_ richtext- 3.0 -lwx_gtk2u_ ribbon- 3.0 -lwx_gtk2u_ propgrid- 3.0 -lwx_gtk2u_aui-3.0 -lwx_gtk2u_gl-3.0 -lwx_gtk2u_ media-3. 0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0
What is the output of "wx-config --selected-config" and "wx-config --libs all"?
I'm getting here:
>wx-config --selected-config
gtk2-unicode-3.0
>wx-config --libs all
-L/usr/
Maybe there are missing some wxWidgets libs on your side or the configuration is not corrupted. (Please state also which Hugin version and some details about the systems, e.g. which wxWidgets version.)