为什么windres找不到“wx/msw/wx.rc"? [英] Why windres cannot find "wx/msw/wx.rc"?

查看:34
本文介绍了为什么windres找不到“wx/msw/wx.rc"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CodeLit 5.2、Windows 7、wxWidget 2.9.4

CodeLit 5.2, Windows 7, wxWidget 2.9.4

C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f  Makefile"
----------Building project:[ CL2a - Debug ]----------
mingw32-make[1]: Entering directory `D:/Exaos/Workspace/ms-win/CL2a'
windres -i "D:/Exaos/Workspace/ms-win/CL2a/win_resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:\Apps\wxWidgets-2.9.5\lib\gcc_dll\mswu --include-dir C:\Apps\wxWidgets-2.9.5\include --define WXUSINGDLL    -o ./Debug/win_resources.rc.o
D:/Exaos/Workspace/ms-win/CL2a/win_resources.rc:1:24: fatal error: wx/msw/wx.rc: No such file or directory
compilation terminated.
c:\Apps\MinGW-4.7.1\bin\windres.exe: c:\Apps\MinGW-4.7.1\bin\gcc exited with status 1
mingw32-make[1]: *** [Debug/win_resources.rc.o] Error 1
mingw32-make.exe: *** [All] Error 2
CL2a.mk:124: recipe for target `Debug/win_resources.rc.o' failed
mingw32-make[1]: Leaving directory `D:/Exaos/Workspace/ms-win/CL2a'
Makefile:4: recipe for target `All' failed
1 errors, 0 warnings

我确定 wx.rc 在那里.

I'm sure that the wx.rc is there.

推荐答案

首先小小的更正:为什么windres找不到wx/msw/wx.rc

First a small correction: why can't windres find wx/msw/wx.rc

现在,在顶部您写的是您使用的是 wx294,但是 Winders 正在搜索 C:\Apps\wxWidgets-2.9.5 下的文件 - 该路径是否存在?

Now, at the top you wrote that you are using wx294, however winders is searching for the file under C:\Apps\wxWidgets-2.9.5 - is this path exists?

要控制codelite生成的搜索路径,您应该编辑WXWIN环境变量以指向正确的wxWidgets安装文件夹,这可以通过:设置 -> 环境变量

To control the search path generated by codelite you should edit the WXWIN environment variable to point to the correct wxWidgets installation folder, this can be done from: Settings -> environment variables

(Codelite 正在使用 wx-config.exe 工具为 windres 生成标志)

(Codelite is using wx-config.exe tool to generate the flags for windres )

伊兰

这篇关于为什么windres找不到“wx/msw/wx.rc"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆