User forums > Using Code::Blocks
Error on compil project
(1/1)
s79:
I have project where create target "WorkPWD" (console app, use dll wxWidgets) with two files:
1) workpwd.cpp
2) TestWorkPwd.cpp
When I make Rebild, I got:
--- Code: ---mingw32-g++.exe -W -g -D__WXDEBUG__ -Wall -DwxUSE_UNICODE 1 -I- -I. -IC:\wxWidgets\lib\gcc_dll\mswu -IC:\wxWidgets\include -IC:\Lang\MinGW\include -c workpwd.cpp -o .objs\workpwd.o
mingw32-g++.exe: 1: No such file or directory
Process terminated with status 1 (0 minutes, 4 seconds)
--- End code ---
Then I command Build and got:
--- Code: ---mingw32-g++.exe -W -g -D__WXDEBUG__ -Wall -DwxUSE_UNICODE 1 -I- -I. -IC:\wxWidgets\lib\gcc_dll\mswu -IC:\wxWidgets\include -IC:\Lang\MinGW\include -c TestWorkPwd.cpp -o .objs\TestWorkPwd.o
mingw32-g++.exe: 1: No such file or directory
Process terminated with status 1 (0 minutes, 8 seconds)
0 errors, 0 warnings
--- End code ---
Then I command Build and got:
--- Code: ---mingw32-g++.exe -LC:\wxWidgets\lib\gcc_dll\mswu -LC:\wxWidgets\lib\gcc_dll\ -LC:\Lang\MinGW\lib -o WorkPWD.exe .objs\workpwd.o .objs\TestWorkPwd.o -lwxmsw26ud
Info: resolving wxStringBase::npos by linking to __imp___ZN12wxStringBase4nposE (auto-import)
Info: resolving _wxConvUTF8 by linking to __imp__wxConvUTF8 (auto-import)
Process terminated with status 0 (0 minutes, 3 seconds)
0 errors, 0 warnings
--- End code ---
Why it's do? What i do wrong?
While not work "Export makefile"?
Pecan:
--- Quote from: s79 on July 11, 2006, 02:37:10 am ---
--- Code: ---mingw32-g++.exe -W -g -D__WXDEBUG__ -Wall -DwxUSE_UNICODE 1 -I- -I. -IC:\wxWidgets\lib\gcc_dll\mswu -IC:\wxWidgets\include -IC:\Lang\MinGW\include -c workpwd.cpp -o .objs\workpwd.o
mingw32-g++.exe: 1: No such file or directory
Process terminated with status 1 (0 minutes, 4 seconds)
--- End code ---
--- End quote ---
Why is there a "1" following DwxUSE_UNICODE ? Take it out.
s79:
--- Quote ---Why is there a "1" following DwxUSE_UNICODE ? Take it out.
--- End quote ---
Yes, work
But, question, why I can do it?
Why in "build options" "#define" I can write
--- Code: ---wxUSE_UNICODE 1
--- End code ---
?
mandrav:
--- Quote from: s79 on July 11, 2006, 02:38:24 pm ---
--- Quote ---Why is there a "1" following DwxUSE_UNICODE ? Take it out.
--- End quote ---
Yes, work
But, question, why I can do it?
Why in "build options" "#define" I can write
--- Code: ---wxUSE_UNICODE 1
--- End code ---
?
--- End quote ---
You would write wxUSE_UNICODE=1.
Navigation
[0] Message Index
Go to full version