News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

unknown option 'v'

Started by jshand01, March 04, 2012, 04:05:53 AM

Previous topic - Next topic

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

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

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
Are you using the compiler you think you are using?  GCC (MinGW) - or - MSVC?