我正在尝试在ARM处理器上使用wxWidgets。我将wxWidgets配置如下:
../configure --host=arm-linux --with-gtk --with-libpng=builtin --with-libjpeg=builtin --with-libtiff=builtin --with-regex=builtin --with-zlib=builtin --with-expat=builtin LDFLAGS="-static-libgcc -static-libstdc++" --enable-unicode --with-opengl --enable-mediactrl
运行make
编译得很好,然后我使用sudo make install
安装它。
但是,当我尝试使用它构建应用程序时,我收到以下链接器错误:
/usr/bin/ld: cannot find -lwx_gtk3u_core-3.0
/usr/bin/ld: cannot find -lwx_baseu-3.0
/usr/bin/ld: cannot find -lwx_gtk3u_media-3.0