User forums > Help

[solved] Environnement error with "codeblocks-13.12mingw-setup.exe"

<< < (3/3)

BlueHazzard:

--- Quote from: lordkrotos on January 28, 2015, 08:43:25 pm ---I checked every options, visual c++ is not defined anywhere in CB, so there is no path for it. Moreover, what is the funniest, I never had visua c++ installed on my PC. Does anyone have an idea?

--- End quote ---

Settings->Compiler->Dropdown menu:Selected compiler Set to Microsoft Visual c++ 2010 -> Toolchain executables make clear that there is a valdi path (it doesn't need to be the path to a c++ installation, just a path to some folder)
Make sure to change the "Selected compiler" back to GNU GCC Compiler.

If this makes no difference than i would suggest to completely remove c::b (also the folder in C:\Users\USERNAME\AppData\Roaming\ ) and try to reinstall
If this also does not help, try to install Mingw seperately and use a c::b nightly build...
As far as i can tell you are the first with this problem, and so it has mostly something to do with your setup...

After this i'm out of ideas....

lordkrotos:
Whooooooo yeeehaaaa!

You know what? It works!! Thanks a lot BlueHazzard!! I didn't understood what CB tried to tell me!!


Let's code now!!

(huhu... let's learn to code in fact!!)

BlueHazzard:

--- Quote from: lordkrotos on January 28, 2015, 10:43:06 pm ---Whooooooo yeeehaaaa!
You know what? It works!! Thanks a lot BlueHazzard!! I didn't understood what CB tried to tell me!!

--- End quote ---

what worked? (if others have the same problem it would be nice to know exactly what helped)

lordkrotos:
You're right.

I did what you tell:

Settings->Compiler->Dropdown menu:Selected compiler Set to Microsoft Visual c++ 2010 -> Toolchain executables. Make sure that there is a valid path.
After that, don't forget to set the default compiler as  gnu gcc.


What was disturbing CB was that the defaut folder for visual c++2010 didn't exist on my PC, even if I would not use this compiler. So I put an existing path on the settings, and because we set gnu GCC as defaut compiler, CB didn't see anything!!

Navigation

[0] Message Index

[*] Previous page

Go to full version