Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: s79 on July 11, 2006, 02:37:10 am

Title: Error on compil project
Post by: s79 on July 11, 2006, 02:37:10 am
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)
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
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

Why it's do? What i do wrong?

While not work "Export makefile"?
Title: Re: Error on compil project
Post by: Pecan on July 11, 2006, 05:08:21 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)


Why is there a "1" following DwxUSE_UNICODE ? Take it out.
Title: Re: Error on compil project
Post by: s79 on July 11, 2006, 02:38:24 pm
Quote
Why is there a "1" following DwxUSE_UNICODE ? Take it out.
Yes, work
But, question, why  I can do it?
Why in "build options" "#define" I can write
Code
wxUSE_UNICODE 1
?
Title: Re: Error on compil project
Post by: mandrav on July 11, 2006, 03:10:12 pm
Quote
Why is there a "1" following DwxUSE_UNICODE ? Take it out.
Yes, work
But, question, why  I can do it?
Why in "build options" "#define" I can write
Code
wxUSE_UNICODE 1
?

You would write wxUSE_UNICODE=1.