问题描述
我正在尝试从CodeProject构建一个项目
使用CodeBlocks 13.12,wxW 3.0.2,MinGW-64。
我以前从未见过这个错误,但似乎与某个特定的电脑有关。 (最近我安装了CodeBlocks和wxWidgets的两个pc)
我相信我有两个PC CodeBlocks设置,构建选项和全局变量设置相同。 (另一台PC构建此项目没有错误)
提到的resource.rc文件位于项目文件夹中。
I'm trying to build a project from CodeProject from this article.
Using CodeBlocks 13.12, wxW 3.0.2, MinGW-64.
I have never before seen this error, but seems to be related to one particular pc. (of two pcs in which I have recently installed CodeBlocks and wxWidgets)
I believe I have both PCs CodeBlocks Settings, Build Options, and Global Variables set identically. (The other PC builds this project with no errors)
The resource.rc file mentioned IS IN the project folder.
aaaa ICON "wx/msw/std.ico"
#include "wx/msw/wx.rc"
构建日志:
Build Log:
-------------- Build: Release in wxlConsole (compiler: GNU GCC Compiler)---------------
windres.exe -I(invalid)\include -I(invalid)\lib\gcc_lib\mswu -J rc -O coff -i C:\WXLCON~1\resource.rc -o obj\Release\resource.res
C:\WXLCON~1\resource.rc:3:24: wx/msw/wx.rc: No such file or directory
windres.exe: can't open icon file `wx/msw/std.ico': No such file or directory
windres.exe: preprocessing failed.
Process terminated with status 1 (0 minute(s), 10 second(s))
3 error(s), 0 warning(s) (0 minute(s), 10 second(s))
我认为这是一个IDE配置问题,因为我复制了项目文件夹&内容到第二台PC,它建立没有错误。两台PC都是Windows XPpro,1-SP2(build-ok),1-SP3,都是32位。
任何帮助表示赞赏。
I'm thinking this is an IDE configuration issue, as I copied the project folder & contents to the second PC and it builds without errors. Both PCs are Windows XPpro, 1-SP2(build-ok), 1-SP3, both 32-bit.
Any help appreciated.
推荐答案
这篇关于CodeBlocks / wxWidgets项目中找不到resource.rc文件和std.ico文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!