开发者

g++ won't play nice with wx-config

开发者 https://www.devze.com 2023-03-14 07:40 出处:网络
I\'开发者_JAVA技巧m on windows using mingw and when i use the following to try and compile my wxWidgets code

I'开发者_JAVA技巧m on windows using mingw and when i use the following to try and compile my wxWidgets code

g++ main.cpp `wx-config --libs` `wx-config --cxxflags`

I get the following error

g++: `wx-config: No such file or directory
g++: `wx-config: No such file or directory
cc1plus.exe: error: unrecognized command line option "-flibs`"
cc1plus.exe: error: unrecognized command line option "-fcxxflags`"

And I cannot figure out what to do to make g++ play nice with wx-config

Please help, thanks.


What shell are you using? Back quotes don't work on the Windows command prompt. You may need to use msys and bash.

0

精彩评论

暂无评论...
验证码 换一张
取 消