User forums > Help
Code::blocks with Borland CC 5.5
LoopyWolf:
I've installed Code::Blocks v1.0 and I'm trying to use Borland's free 5.5.1 compiler with it: (on windows)
I used the auto-detect, that didn't work so I just pointed it to the spot. It found the program, but when I said "build" it said "/W3 unknown option." - so I found advanced options and took out "/W3" now it says /Gm unknown option.
Additional: I've been able to figure out that the Borland wants - not / but I can't figure out how to tell C::B to use - and not /
killerbot:
settings menu -> compiler and debugger : look in there, advanced or user additions ...
sorry this is very breef. Could you file a bugreport (at the berios project page) on which switches CB generates now that are incorrect, and what it should be ?? Then I can adjust them.
Cheers,
Lieven
mandrav:
--- Quote from: killerbot on April 05, 2006, 08:09:27 am ---Could you file a bugreport (at the berios project page) on which switches CB generates now that are incorrect, and what it should be ?? Then I can adjust them.
--- End quote ---
That's not the problem Lieven. The current project templates only support gcc and msvctk, so the compiler switches are prepared for those compilers. He should just remove all options from "Project->Build options->Compiler" because they refer to a different compiler...
killerbot:
Ok. I thought it was in the "fixed settings" of our Borland compiler support.
LoopyWolf:
Update: I removed the compiler options, so that worked. - They were not under "Compiler Flags" they were listed under "Other options" - mentioned mostly for anyone who reads this thread after me.
Now my problem is that Borland Compiler doesn't like GL.H - but I'm not sure where to seek for help on that :)
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1153: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1154: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1153: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1154: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1155: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1154: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1155: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1156: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1155: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1156: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1157: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1156: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1157: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1158: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1157: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1158: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1159: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1158: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1159: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1160: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1159: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1160: Declaration syntax error
Error E2238 d:\Borland\BCC55\include\gl/gl.h 1161: Multiple declaration for 'WINGDIAPI'
Error E2344 d:\Borland\BCC55\include\gl/gl.h 1160: Earlier declaration of 'WINGDIAPI'
Error E2141 d:\Borland\BCC55\include\gl/gl.h 1161: Declaration syntax error
Error E2228 d:\Borland\BCC55\include\gl/gl.h 1161: Too many error or warning messages
Navigation
[0] Message Index
[#] Next page
Go to full version