Author Topic: Error on compil project  (Read 4996 times)

Offline s79

  • Multiple posting newcomer
  • *
  • Posts: 11
Error on compil project
« 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"?

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Error on compil project
« Reply #1 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.

Offline s79

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Error on compil project
« Reply #2 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
?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Error on compil project
« Reply #3 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.
Be patient!
This bug will be fixed soon...