User forums > Help

i'm very much a beginner in need of help :(

<< < (3/4) > >>

Jenna:

--- Quote from: Paul C. Anagnostopoulos on September 04, 2008, 02:21:28 am ---mingw32-gcc.exe: 1: No such file or directory

--- End quote ---

Can you post the full commandline ?

To switch it on change "Settings -> Compiler and debugger... -> Global compiler settings -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline".

Paul C. Anagnostopoulos:
Jens, here you are:

[ 50.0%] mingw32-gcc.exe -fexpensive-optimizations -O3 -Wall -Ddebug_mode 1  -g  -fexpensive-optimizations -O3 -Wall -g   -std=c99  -c C:\Freefall\freefall.c -o obj\Release\freefall.o
C:\Freefall\freefall.c: In function `main':
C:\Freefall\freefall.c:41: warning: implicit declaration of function `printf'
mingw32-gcc.exe: 1: No such file or directory
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 1 warnings

Second time:


-------------- Build: Release in Freefall ---------------

[100.0%] mingw32-g++.exe  -o bin\Release\Freefall.exe obj\Release\memory.o obj\Release\strings.o obj\Release\vm.o obj\Release\freefall.o   
Output size is 34.52 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings

Two different compilers?

~~ Paul

 

 

Jenna:
Remove the " 1"  from your "-Ddebug_mode 1" cause it's not needed and syntactical wrong.

If you define "debug_mode" it automatically is defined with the value 1.
If you want to give it a value explicitely use "-Ddebugmode=1".

Quote from the gcc-docs:

--- Quote ----D name
    Predefine name as a macro, with definition 1.
-D name=definition
    The contents of definition are tokenized and processed as if they appeared during translation phase three in a ‘#define’ directive. In particular, the definition will be truncated by embedded newline characters.

--- End quote ---

The "1" is treated as the name of an inputfile in your case.

Paul C. Anagnostopoulos:
Of course! Thank you so much. Things are working much better now.

Since you're being so helpful, can you tell me why my Management | Resources list includes my project (Freefall), but no sources list under it?

Again, thanks!

~~ Paul

Jenna:

--- Quote from: Paul C. Anagnostopoulos on September 05, 2008, 09:54:44 pm ---Of course! Thank you so much. Things are working much better now.

Since you're being so helpful, can you tell me why my Management | Resources list includes my project (Freefall), but no sources list under it?

Again, thanks!

~~ Paul


--- End quote ---

The resources list contains the wxSmith-resources, that means the frames/dialogs and there children.
But only if you have wxSmith-based wxWidgets project.
The files belonging to your project are in "Management -> Projects".

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version