User forums > Help

unknown option 'v'

(1/1)

jshand01:
Hi ... this must be a really simple thing but I am tearing my hair out.

1) Was using codeblocks for more than 6 months without issue
2) Went and installed some new programs including visual studio express and other C++-related environments
3) Now when I go to run codeblocks I get the following:

I got to create a new project
 > console application
 > choose c++
 > I enter project title
 > Compiler: GNU GCC Compiler
 
I get the error message :   Unknown option 'v'

I have tried deleting and reinstalling codeblocks, I have deleted most of the C++-related programs.

Can anyone help?
Thanks!

Jim

ollydbg:

--- Quote from: jshand01 on March 04, 2012, 04:05:53 am ---I get the error message :   Unknown option 'v'

--- End quote ---
Can you give more details?
See: How do I troubleshoot a compiler problem?

jshand01:
I am not getting as far as trying to compile anything (although I was able to do so a few months ago) ... I am only getting as far as opening a new project and this error appears when the project is created, before any code is even entered. Thus it seems more like an installation problem. Regards

MortenMacFly:
Check your PATH environment variable if you (by accident) have a conflicting compiler in the PATH.

Next time, please post the platform and version of C::B and the compiler.

Alpha:

--- Quote from: jshand01 on March 04, 2012, 04:05:53 am ---2) Went and installed some new programs including visual studio express and other C++-related environments
[...]
 > Compiler: GNU GCC Compiler

--- End quote ---
Are you using the compiler you think you are using?  GCC (MinGW) - or - MSVC?

Navigation

[0] Message Index

Go to full version