当前位置: 技术问答>linux和unix
求助,编译出错!
来源: 互联网 发布时间:2016-09-11
本文导语: 听说codeblocks是不错的ide,下了源代码准备自己编译但是总是不成功 在codeblocks程序目录下,./configure,结果报出如下错误 configure: error: wxWidgets must be installed on your system but the wx-config script couldn't be found. P...
听说codeblocks是不错的ide,下了源代码准备自己编译但是总是不成功
在codeblocks程序目录下,./configure,结果报出如下错误
configure: error:
wxWidgets must be installed on your system
but the wx-config script couldn't be found.
Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.3.4 or above.
但是我的wxWidgets已经安装了,请问这个问题怎么解决?谢谢
在codeblocks程序目录下,./configure,结果报出如下错误
configure: error:
wxWidgets must be installed on your system
but the wx-config script couldn't be found.
Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.3.4 or above.
但是我的wxWidgets已经安装了,请问这个问题怎么解决?谢谢
|
看看你环境变量设置
|
这是编译之前的配置出错, 看下环境设置, 是否有一些头文件
|
wxWidgets怎么装的?是不是装到/usr/local下了?如果是的话有肯能导致找不到。