简体   繁体   English

代码块wxWidgets没有此类文件或目录

[英]Code blocks wxWidgets no such file or directory

I have problem when I try to compile my project in Code Blocks with wxWidgets, I was looking everywhere solution for my problem but nothing was good for me and nowhere was explained how to solve this problem... 当我尝试使用wxWidgets在代码块中编译我的项目时,我遇到了问题,我到处都在寻找解决我问题的方法,但是对我来说没有什么好处,而且也没有人解释如何解决此问题...

I post image of my problem here http://postimage.org/image/ngejv16d3/ 我在这里发布问题图像http://postimage.org/image/ngejv16d3/

Agree with greatwolf. 同意大狼。 Or you can use DOS path instead (in command prompt go to C:\\ and execute dir /x , it will display the DOS version of Program Files (x86) folder (without spaces). Then you can change your wx path accordingly. 或者,也可以使用DOS路径(在命令提示符下转到C:\\并执行dir /x ,它将显示DOS版本的Program Files (x86)文件夹(不带空格)。然后可以相应地更改wx路径。

The fully qualified path of your wxWidget location is getting truncated, most likely due to spaces in the path. wxWidget位置的标准路径已被截断,这很可能是由于路径中的空格所致。 Two possible ways to fix it, you can move your wxWidget install to another directory with the spaces removed or you can try enclosing your current path in "" double quotes when it gets passed to the compiler. 两种可能的方法来解决它,你可以移动wxWidget安装到另一个目录中去掉空格或者你可以尝试封闭在当前路径""当它被传递到编译器的双引号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM