Code::Blocks Forums

User forums => Help => Topic started by: jshand01 on March 04, 2012, 04:05:53 am

Title: unknown option 'v'
Post by: jshand01 on March 04, 2012, 04:05:53 am
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

Title: Re: unknown option 'v'
Post by: ollydbg on March 04, 2012, 04:34:35 am
I get the error message :   Unknown option 'v'
Can you give more details?
See: How do I troubleshoot a compiler problem? (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
Title: Re: unknown option 'v'
Post by: jshand01 on March 04, 2012, 02:28:05 pm
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
Title: Re: unknown option 'v'
Post by: MortenMacFly on March 04, 2012, 03:13:29 pm
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.
Title: Re: unknown option 'v'
Post by: Alpha on March 04, 2012, 07:08:06 pm
2) Went and installed some new programs including visual studio express and other C++-related environments
[...]
 > Compiler: GNU GCC Compiler
Are you using the compiler you think you are using?  GCC (MinGW) - or - MSVC?