User forums > Help

Code::Blocks has got some SERIOUS issues!

<< < (2/4) > >>

Someone1:
I am getting extremely frustrated now.

I COMPLETELY removed the declaration of my collision detection function.
When objects collide, they reject each other?

What the heck is going on. Why is it not saving my code properly?

Someone1:

--- Quote from: Freem on September 27, 2012, 02:02:32 pm ---This is not an error returned by C::B, but by your compiler (whatever it is).

It is not possible or hard for us to debug code with so few informations (bigger snippets and copy/paste of the log would be more helpful)... but if you used "search and replace" tool, did not you replace the name in the include directive, without having changed the filename?
Anyway, this is a a programmer error: you made an error in the code, and we can not help with so few lines.

For single error, I would like to complete oBFusCATed: solving an error often highlight other ones.
(This is why I often fix only 5-6 first errors before compiling anew ;) )

--- End quote ---
The problem is not my coding. ALL my instances of calling the class name, and using the member separator (".") are done CORRECTLY!
The problem is (read my comment above), Code::Blocks now turns out to not save my code at all--or, the underlaying compiler doesn't compile?

Yes, literally any changes I make are not compiled.

Okay. Now I completely removed my main function, and it still says it compiles?

Someone1:
I hope the moderators don't mind the multiple posts.

I followed the correct guide-lines, setting it to show all the build options.
Here is what it gave me:

--- Code: ----------------- Clean: Debug in test12 ---------------

Cleaned "test12 - Debug"

-------------- Build: Debug in test12 ---------------

mingw32-g++.exe -Wall  -g    -I"C:\Users\Franck\Desktop\C++ projects\C++ CodeBlocks projects\test12\" -I"C:\Users\Franck\Desktop\C++ projects\C++ CodeBlocks projects\test12\" -IC:\Users\Franck\Desktop\SDL-1.2.15\include\SDL  -c "C:\Users\Franck\Desktop\C++ projects\C++ CodeBlocks projects\test12\objects.h" -o objects.h.gch
mingw32-g++.exe: projects\C++: No such file or directory
mingw32-g++.exe: CodeBlocks: No such file or directory
mingw32-g++.exe: projects\test12": No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

--- End code ---
Now, I MAY not be the brightest bulb around, but I think there's a problem here.
Why does it not recognize mingw32? I was coding perfectly fine yesterday, until around 21:00 'o clock when it started malfunctioning.

Phenom:
I think your problem are the spaces in the paths.

Jenna:
Your posts miss some absolutely necessary informations:
Which version of C::B do you use ?
Which version of gcc do you use ?

Older revisions of gcc sometimes have problems with paths, that continue spaces.
That seems to be your issue (at least the issue shown from your log).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version