Closed mattosborn closed 5 years ago
Hi,
You have issue with wxWidgets linking. Do you build wxWidgets yourself ?
The travis script build it with this commands: https://github.com/Ifsttar/I-Simpa/blob/master/ci/travis/linux/before_install.sh
I've tried building and configuring in various ways, including the method in the travis scripts, but same error.
Please check that cmake is using the good wxwidgets build/libs path.
You can view it in the file CMakeCache.txt
There are a bunch of references to my wxWidgets make install
target which all look correct to me, including something that looks a bit like a compiler flag to add the static libraries:
FIND_PACKAGE_MESSAGE_DETAILS_wxWidgets:INTERNAL=[-L/home/matto/progs/wxWidgets-install/lib;-pthread;;;/home/matto/progs/wxWidgets-install/lib/libwx_gtk3u_gl-3.1.a;/home/matto/progs/wxWidgets-install/lib/libwx_gtk3u_aui-3.1.a;/home/matto/progs/wxWidgets-install/lib/libwx_gtk3u_html-3.1.a;/home/matto/progs/wxWidgets-install/lib/libwx_gtk3u_adv-3.1.a;/home/matto/progs/wxWidgets-install/lib/libwx_gtk3u_core-3.1.a;/home/matto/progs/wxWidgets-install/lib/libwx_baseu_xml-3.1.a;/home/matto/progs/wxWidgets-install/lib/libwx_baseu-3.1.a;-lGL;-lGLU;-lgthread-2.0;-pthread;-lX11;-lXxf86vm;-lSM;-lgtk-3;-lgdk-3;-lpangocairo-1.0;-lpango-1.0;-latk-1.0;-lcairo-gobject;-lcairo;-lgdk_pixbuf-2.0;-lgio-2.0;-lgobject-2.0;-lglib-2.0;-lpng;-ljpeg;-lexpat;-lwxregexu-3.1;-lwxtiff-3.1;-lz;-ldl;-lm][/home/matto/progs/wxWidgets-install/lib/wx/include/gtk3-unicode-static-3.1;/home/matto/progs/wxWidgets-install/include/wx-3.1][v3.1.0()]
Any idea on the cause of this linker error when building on Linux?