User forums > Help

Error E2075 Incorrect command line option

(1/2) > >>

VintigeUK:
Hello i installed codeblocks a while ago with the borland compiler and it worked fine.  But ive come back on it now and im getting that error when i try to build
Thankyou for your help

Jenna:
Its an error of the Borland compiler!
Turn on full commandline logging (Settings -> Compiler and Debugger -> Tab "Other" -> Compiler logging = "Full command line"), rebuild and check the syntax in the Build Log.

If you know what's wrong, you can start investigating where it comes from: global compiler settings, project specific settings, automatically set by C::B or manually set by you ?

VintigeUK:
Cheers this is what came up in the build log


Project   : 01.HelloWorld
Compiler  : Borland C++ Compiler 5.5 (called directly)
Directory : C:\Users\ollystac\Desktop\irrlicht\examples\01.HelloWorld\
--------------------------------------------------------------------------------
Switching to target: Debug
bcc32.exe   /DWIN32 /D_DEBUG /D_CONSOLE /W3 /O0 /MLd    -I"..\..\include"  -I"C:\Borland\BCC55\include" -I"\home\mike\irrlicht\include" -I"C:\Users\ollystac\Desktop\irrlicht\include" -I"C:\Borland\BCC55\Include\Gl" -I"C:\Borland\BCC55\Include\Rw" -I"C:\Borland\BCC55\Include\Sys" -oDebug\main.obj -c main.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2075: Incorrect command line option: /W3
Process terminated with status 1 (0 minutes, 0 seconds)

MortenMacFly:

--- Quote from: VintigeUK on March 28, 2008, 12:35:53 pm ---Error E2075: Incorrect command line option: /W3

--- End quote ---
Hopefully this makes things clear. Just remove that invalid (GCC) option.

VintigeUK:
which is the invalid gcc option?
Thankyou

Navigation

[0] Message Index

[#] Next page

Go to full version