User forums > Using Code::Blocks

Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?

(1/2) > >>

Frederico:
Hi!
I'm new to CodeBlocks (I tried it before, but now it looks pretty stable, and I'm going to use it for real work).
I'm a FLTK user, and I have built/used it with Mingw+Msys, Cygwin and Dev-cpp.
Now, I want to use FLTK with CodeBlocks and VC++ 2003 Toolkit.
I installed and tested CodeBlocks with VC++ 2003 and looks really good.
Now, I'm trying to build FLTK, by importing FLTK VC++ workspace. But CodeBlocks gives me this error:

Execution of 'cl.exe /nologo /W3 /GX /O2 /DWIN32 /DNDEBUG /D_WINDOWS /YX /FD /MD /Ot /Op /Ob2 /DWIN32_LEAN_AND_MEAN /DVC_EXTRA_LEAN /DWIN32_EXTRA_LEAN /O1  /I. /I.. /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003\include" /I"C:\Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include"  /c ..\src\Fl_Gl_Overlay.cxx /FoRelease\src\Fl_Gl_Overlay.obj' in 'C:\CodeBlocks\fltk\visualc' failed.
Nothing to be done.


I learned FLTK with these excellent videos: http://seriss.com/people/erco/fltk-videos/
And there's a video telling how to build FLTK with VC++ IDE.
But I want to build with Code Blocks IDE (using VC++ 2003 free compiler).
Any helps?


Thanks a lot!
I'm really interested in using and helping the Code Blocks Project!  :D

Defender:
I think CodeBlocks cannot find cl.exe. Have you set the path for the compiler manually?

Def.

Michael:

--- Quote from: Frederico on May 11, 2006, 01:34:48 am ---I'm a FLTK user, and I have built/used it with Mingw+Msys, Cygwin and Dev-cpp.
Now, I want to use FLTK with CodeBlocks and VC++ 2003 Toolkit.
I installed and tested CodeBlocks with VC++ 2003 and looks really good.

--- End quote ---

You can use MinGW with CodeBlocks if you wish :).


--- Quote from: Frederico on May 11, 2006, 01:34:48 am ---Now, I'm trying to build FLTK, by importing FLTK VC++ workspace. But CodeBlocks gives me this error:

Execution of 'cl.exe /nologo /W3 /GX /O2 /DWIN32 /DNDEBUG /D_WINDOWS /YX /FD /MD /Ot /Op /Ob2 /DWIN32_LEAN_AND_MEAN /DVC_EXTRA_LEAN /DWIN32_EXTRA_LEAN /O1  /I. /I.. /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003\include" /I"C:\Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include"  /c ..\src\Fl_Gl_Overlay.cxx /FoRelease\src\Fl_Gl_Overlay.obj' in 'C:\CodeBlocks\fltk\visualc' failed.
Nothing to be done.

--- End quote ---

Did you install correctly Visual Studio Toolkit .NET 2003? Have a look at here:

http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_Toolkit_2003_with_Code::Blocks_IDE

You can also search in the forum for some useful posts about Visual Studio Toolkit .NET 2003.

Anyway, did you import VC6 workspace? If yes, AFAIK, this import functionality has still some problems.

If you import a VC7.1 solution, then check if the imported solution is ok (included headers, libraries, pathes etc.).

Best wishes,
Michael

Frederico:
Well, the import of the workspace worked without problems (at least Code Blocks didn't give me an error).
But there's something it can't find that is generating this error. I'll try to check the paths again.

Thanks

Frederico:

--- Quote from: Defender on May 11, 2006, 07:13:31 am ---I think CodeBlocks cannot find cl.exe. Have you set the path for the compiler manually?

Def.

--- End quote ---
At least, Code Blocks can build Win32 API or console projects without errors.
The error only happens when building FLTK from source.

Navigation

[0] Message Index

[#] Next page

Go to full version