Author Topic: Help updating GCC (mingW) with Code::Blocks  (Read 5422 times)

Offline Someone1

  • Multiple posting newcomer
  • *
  • Posts: 11
Help updating GCC (mingW) with Code::Blocks
« on: September 27, 2012, 04:26:44 pm »
It seems I have Gcc, version 4.4.1.

I am experiencing (sudden) issues with compiling. I keep getting a message, "It seems your project has not been build. Would you like to build it now?"
When I attempt to compile my simple hello world project, I don't get any errors - but neither does it compile.
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

My question is how I would go about re-installing, or updating my GCC (mingW?) installation, which came packaged with Code::Blocks.

I have yet to get any responses in my old thread, http://forums.codeblocks.org/index.php/topic,16905.new.html#new
And quite frankly, it is necessary that I complete certain parts of my project today.

I've had little sleep and have been trying to get a new installation of MingW working, but no luck.
If anyone could be so kind and instruct me into doing this.
Also, I have searched Google plenty of times - but ironically (it being a search engine) all my searches relating to Code::Blocks return unrelated crap which really in no way relates to my search terms.

Now when I'm at it, does anyone know which Gcc version has issues with spaces in the directory path? Is my version the faulty one?
« Last Edit: September 27, 2012, 04:28:15 pm by Someone1 »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Help updating GCC (mingW) with Code::Blocks
« Reply #1 on: September 27, 2012, 04:50:52 pm »
The reason you ignored this response is what?

Remove the spaces in the paths and it will work.

Edit: Read this link http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps

Install a Compiler
Setup the toolchain
If it fails to work ask real questions giving real information needed to help you.


Tim S.
« Last Edit: September 27, 2012, 04:53:22 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Someone1

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Help updating GCC (mingW) with Code::Blocks
« Reply #2 on: September 27, 2012, 04:55:40 pm »
The reason you ignored this response is what?

Remove the spaces in the paths and it will work.

Edit: Read this link http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps

Install a Compiler
Setup the toolchain
If it fails to work ask real questions giving real information needed to help you.


Tim S.
Thanks, Tim.
I didn't see that statement in my other thread. I still don't see it - but I suppose it would be quite obvious.

Actually, Tim, that post was added after I made the other thread - not before.
« Last Edit: September 27, 2012, 04:57:53 pm by Someone1 »