Author Topic: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?  (Read 11202 times)

Frederico

  • Guest
Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« on: May 11, 2006, 01:34:48 am »
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

Offline Defender

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #1 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.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #2 on: May 11, 2006, 10:25:22 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.

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

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.

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

  • Guest
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #3 on: May 11, 2006, 05:49:33 pm »
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

  • Guest
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #4 on: May 11, 2006, 05:53:02 pm »
I think CodeBlocks cannot find cl.exe. Have you set the path for the compiler manually?

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

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #5 on: May 11, 2006, 10:13:42 pm »
There are now c::b files in the latest svn of fltk 2.0 not for vc, but you can modify them....
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Frederico

  • Guest
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #6 on: May 14, 2006, 09:14:12 pm »
I almost got it... :(
Here is the compile log:
-------------- Build: Win32 Release in fltkgl ---------------
Fl_Gl_Overlay.cxx
Fl_Gl_Window.cxx
gl_draw.cxx
gl_start.cxx
glut_compatability.cxx
glut_font.cxx
Fl_Gl_Choice.cxx
Linking static library: C:\fltk\lib\fltkgl.lib

-------------- Build: Win32 Release in fltkforms ---------------
forms_compatability.cxx
forms_free.cxx
forms_fselect.cxx
forms_pixmap.cxx
forms_timer.cxx
forms_bitmap.cxx
Linking static library: C:\fltk\lib\fltkforms.lib

-------------- Build: Win32 Release in fltkimages ---------------
Fl_File_Icon2.cxx
Fl_GIF_Image.cxx
Fl_Help_Dialog.cxx
Fl_JPEG_Image.cxx
Fl_PNG_Image.cxx
Fl_PNM_Image.cxx
fl_images_core.cxx
Fl_BMP_Image.cxx
Linking static library: C:\fltk\lib\fltkimages.lib

-------------- Build: Win32 Release in jpeg ---------------
jcapimin.c
jcapistd.c
jccoefct.c
jccolor.c
jcdctmgr.c
jchuff.c
jcinit.c
jcmainct.c
jcmarker.c
jcmaster.c
jcomapi.c
jcparam.c
jcphuff.c
jcprepct.c
jcsample.c
jctrans.c
jdapimin.c
jdapistd.c
jdatadst.c
jdatasrc.c
jdcoefct.c
jdcolor.c
jddctmgr.c
jdhuff.c
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdphuff.c
jdpostct.c
jdsample.c
jdtrans.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jidctred.c
jmemmgr.c
jmemnobs.c
jquant1.c
jquant2.c
jutils.c
Linking static library: C:\fltk\lib\fltkjpeg.lib

-------------- Build: Win32 Release in libpng ---------------
png.c
pngerror.c
pngget.c
pngmem.c
pngpread.c
pngread.c
pngrio.c
pngrtran.c
pngrutil.c
pngset.c
pngtrans.c
pngwio.c
pngwrite.c
pngwtran.c
pngwutil.c
Linking static library: C:\fltk\lib\fltkpng.lib

-------------- Build: Win32 Release in zlib ---------------
adler32.c
compress.c
crc32.c
deflate.c
gzio.c
inffast.c
inflate.c
inftrees.c
trees.c
uncompr.c
zutil.c
Linking static library: C:\fltk\lib\fltkz.lib

-------------- Build: Win32 Release in fluid ---------------
CodeEditor.cxx
Fl_Function_Type.cxx
Fl_Group_Type.cxx
Fl_Menu_Type.cxx
Fl_Type.cxx
..\fluid\Fl_Type.cxx(257) : warning C4390: ';' : empty controlled statement found; is this the intent?
Fl_Widget_Type.cxx
Fl_Window_Type.cxx
Fluid_Image.cxx
about_panel.cxx
align_widget.cxx
..\fluid\align_widget.cxx(524) : warning C4244: 'argument' : conversion from 'long' to 'uchar', possible loss of data
alignment_panel.cxx
code.cxx
factory.cxx
file.cxx
fluid.cxx
function_panel.cxx
template_panel.cxx
undo.cxx
widget_panel.cxx
Linking executable: C:\fltk\visualc\fluid___\fluid.exe
CodeEditor.obj : error LNK2019: unresolved external symbol "public: __thiscall Fl_Text_Buffer::~Fl_Text_Buffer(void)" (??1Fl_Text_Buffer@@QAE@XZ) referenced in function "public: void * __thiscall Fl_Text_Buffer::`scalar deleting destructor'(unsigned int)" (??_GFl_Text_Buffer@@QAEPAXI@Z)
factory.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Fl_Widget::default_callback(class Fl_Widget *,void *)" (?default_callback@Fl_Widget@@SAXPAV1@PAX@Z)
template_panel.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Fl_Widget::default_callback(class Fl_Widget *,void *)" (?default_callback@Fl_Widget@@SAXPAV1@PAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Fl_Widget::default_callback(class Fl_Widget *,void *)" (?default_callback@Fl_Widget@@SAXPAV1@PAX@Z) referenced in function "public: void __thiscall Fl_Widget::do_callback(void)" (?do_callback@Fl_Widget@@QAEXXZ)
Fl_Menu_Type.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Fl_Widget::default_callback(class Fl_Widget *,void *)" (?default_callback@Fl_Widget@@SAXPAV1@PAX@Z)
Fl_Widget_Type.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Fl_Widget::default_callback(class Fl_Widget *,void *)" (?default_callback@Fl_Widget@@SAXPAV1@PAX@Z)
alignment_panel.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Fl_Widget::default_callback(class Fl_Widget *,void *)" (?default_callback@Fl_Widget@@SAXPAV1@PAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Editor::add_key_binding(int,int,int (__cdecl*)(int,class Fl_Text_Editor *),struct Fl_Text_Editor::Key_Binding * *)" (?add_key_binding@Fl_Text_Editor@@QAEXHHP6AHHPAV1@@ZPAPAUKey_Binding@1@@Z) referenced in function "public: void __thiscall Fl_Text_Editor::add_key_binding(int,int,int (__cdecl*)(int,class Fl_Text_Editor *))" (?add_key_binding@Fl_Text_Editor@@QAEXHHP6AHHPAV1@@Z@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Editor::remove_all_key_bindings(struct Fl_Text_Editor::Key_Binding * *)" (?remove_all_key_bindings@Fl_Text_Editor@@QAEXPAPAUKey_Binding@1@@Z) referenced in function "public: void __thiscall Fl_Text_Editor::remove_all_key_bindings(void)" (?remove_all_key_bindings@Fl_Text_Editor@@QAEXXZ)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Display::redisplay_range(int,int)" (?redisplay_range@Fl_Text_Display@@QAEXHH@Z) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: char * __thiscall Fl_Text_Buffer::text_range(int,int)" (?text_range@Fl_Text_Buffer@@QAEPADHH@Z) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: int __thiscall Fl_Text_Buffer::line_end(int)" (?line_end@Fl_Text_Buffer@@QAEHH@Z) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: int __thiscall Fl_Text_Buffer::line_start(int)" (?line_start@Fl_Text_Buffer@@QAEHH@Z) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::select(int,int)" (?select@Fl_Text_Buffer@@QAEXHH@Z) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
Fl_Function_Type.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::select(int,int)" (?select@Fl_Text_Buffer@@QAEXHH@Z)
fluid.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::select(int,int)" (?select@Fl_Text_Buffer@@QAEXHH@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::remove(int,int)" (?remove@Fl_Text_Buffer@@QAEXHH@Z) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::replace(int,int,char const *)" (?replace@Fl_Text_Buffer@@QAEXHHPBD@Z) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::unselect(void)" (?unselect@Fl_Text_Buffer@@QAEXXZ) referenced in function "private: static void __cdecl CodeEditor::style_update(int,int,int,int,char const *,void *)" (?style_update@CodeEditor@@CAXHHHHPBDPAX@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Display::show_insert_position(void)" (?show_insert_position@Fl_Text_Display@@QAEXXZ) referenced in function "private: static int __cdecl CodeEditor::auto_indent(int,class CodeEditor *)" (?auto_indent@CodeEditor@@CAHHPAV1@@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Display::insert(char const *)" (?insert@Fl_Text_Display@@QAEXPBD@Z) referenced in function "private: static int __cdecl CodeEditor::auto_indent(int,class CodeEditor *)" (?auto_indent@CodeEditor@@CAHHPAV1@@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: int __thiscall Fl_Text_Display::line_start(int)" (?line_start@Fl_Text_Display@@QAEHH@Z) referenced in function "private: static int __cdecl CodeEditor::auto_indent(int,class CodeEditor *)" (?auto_indent@CodeEditor@@CAHHPAV1@@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::remove_selection(void)" (?remove_selection@Fl_Text_Buffer@@QAEXXZ) referenced in function "private: static int __cdecl CodeEditor::auto_indent(int,class CodeEditor *)" (?auto_indent@CodeEditor@@CAHHPAV1@@Z)
Fl_Function_Type.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::remove_selection(void)" (?remove_selection@Fl_Text_Buffer@@QAEXXZ)
fluid.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::remove_selection(void)" (?remove_selection@Fl_Text_Buffer@@QAEXXZ)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Display::insert_position(int)" (?insert_position@Fl_Text_Display@@QAEXH@Z) referenced in function "private: static int __cdecl CodeEditor::auto_indent(int,class CodeEditor *)" (?auto_indent@CodeEditor@@CAHHPAV1@@Z)
CodeEditor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Text_Display::resize(int,int,int,int)" (?resize@Fl_Text_Display@@UAEXHHHH@Z)
CodeEditor.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall Fl_Text_Editor::handle(int)" (?handle@Fl_Text_Editor@@UAEHH@Z)
CodeEditor.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Fl_Text_Display::draw(void)" (?draw@Fl_Text_Display@@MAEXXZ)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall Fl_Text_Display::~Fl_Text_Display(void)" (??1Fl_Text_Display@@UAE@XZ) referenced in function "public: virtual __thiscall Fl_Text_Editor::~Fl_Text_Editor(void)" (??1Fl_Text_Editor@@UAE@XZ)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::add_modify_callback(void (__cdecl*)(int,int,int,int,char const *,void *),void *)" (?add_modify_callback@Fl_Text_Buffer@@QAEXP6AXHHHHPBDPAX@Z1@Z) referenced in function "public: __thiscall CodeEditor::CodeEditor(int,int,int,int,char const *)" (??0CodeEditor@@QAE@HHHHPBD@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::text(char const *)" (?text@Fl_Text_Buffer@@QAEXPBD@Z) referenced in function "public: __thiscall CodeEditor::CodeEditor(int,int,int,int,char const *)" (??0CodeEditor@@QAE@HHHHPBD@Z)
Fl_Function_Type.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::text(char const *)" (?text@Fl_Text_Buffer@@QAEXPBD@Z)
Fl_Widget_Type.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Text_Buffer::text(char const *)" (?text@Fl_Text_Buffer@@QAEXPBD@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Display::highlight_data(class Fl_Text_Buffer *,struct Fl_Text_Display::Style_Table_Entry const *,int,char,void (__cdecl*)(int,void *),void *)" (?highlight_data@Fl_Text_Display@@QAEXPAVFl_Text_Buffer@@PBUStyle_Table_Entry@1@HDP6AXHPAX@Z2@Z) referenced in function "public: __thiscall CodeEditor::CodeEditor(int,int,int,int,char const *)" (??0CodeEditor@@QAE@HHHHPBD@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: char * __thiscall Fl_Text_Buffer::text(void)" (?text@Fl_Text_Buffer@@QAEPADXZ) referenced in function "public: __thiscall CodeEditor::CodeEditor(int,int,int,int,char const *)" (??0CodeEditor@@QAE@HHHHPBD@Z)
Fl_Function_Type.obj : error LNK2001: unresolved external symbol "public: char * __thiscall Fl_Text_Buffer::text(void)" (?text@Fl_Text_Buffer@@QAEPADXZ)
Fl_Widget_Type.obj : error LNK2001: unresolved external symbol "public: char * __thiscall Fl_Text_Buffer::text(void)" (?text@Fl_Text_Buffer@@QAEPADXZ)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Display::buffer(class Fl_Text_Buffer *)" (?buffer@Fl_Text_Display@@QAEXPAVFl_Text_Buffer@@@Z) referenced in function "public: __thiscall CodeEditor::CodeEditor(int,int,int,int,char const *)" (??0CodeEditor@@QAE@HHHHPBD@Z)
alignment_panel.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Text_Display::buffer(class Fl_Text_Buffer *)" (?buffer@Fl_Text_Display@@QAEXPAVFl_Text_Buffer@@@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: __thiscall Fl_Text_Buffer::Fl_Text_Buffer(int)" (??0Fl_Text_Buffer@@QAE@H@Z) referenced in function "public: __thiscall CodeEditor::CodeEditor(int,int,int,int,char const *)" (??0CodeEditor@@QAE@HHHHPBD@Z)
alignment_panel.obj : error LNK2001: unresolved external symbol "public: __thiscall Fl_Text_Buffer::Fl_Text_Buffer(int)" (??0Fl_Text_Buffer@@QAE@H@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: __thiscall Fl_Text_Editor::Fl_Text_Editor(int,int,int,int,char const *)" (??0Fl_Text_Editor@@QAE@HHHHPBD@Z) referenced in function "public: __thiscall CodeEditor::CodeEditor(int,int,int,int,char const *)" (??0CodeEditor@@QAE@HHHHPBD@Z)
factory.obj : error LNK2001: unresolved external symbol "public: __thiscall Fl_Text_Editor::Fl_Text_Editor(int,int,int,int,char const *)" (??0Fl_Text_Editor@@QAE@HHHHPBD@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Text_Display::cursor_style(int)" (?cursor_style@Fl_Text_Display@@QAEXH@Z) referenced in function "public: __thiscall CodeViewer::CodeViewer(int,int,int,int,char const *)" (??0CodeViewer@@QAE@HHHHPBD@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: static int __cdecl Fl_Text_Editor::kf_ignore(int,class Fl_Text_Editor *)" (?kf_ignore@Fl_Text_Editor@@SAHHPAV1@@Z) referenced in function "public: __thiscall CodeViewer::CodeViewer(int,int,int,int,char const *)" (??0CodeViewer@@QAE@HHHHPBD@Z)
CodeEditor.obj : error LNK2019: unresolved external symbol "public: virtual int __thiscall Fl_Text_Display::handle(int)" (?handle@Fl_Text_Display@@UAEHH@Z) referenced in function "protected: virtual int __thiscall CodeViewer::handle(int)" (?handle@CodeViewer@@MAEHH@Z)
Fl_Function_Type.obj : error LNK2019: unresolved external symbol "public: int __thiscall Fl_Text_Buffer::insertfile(char const *,int,int)" (?insertfile@Fl_Text_Buffer@@QAEHPBDHH@Z) referenced in function "public: int __thiscall Fl_Text_Buffer::appendfile(char const *,int)" (?appendfile@Fl_Text_Buffer@@QAEHPBDH@Z)
fluid.obj : error LNK2001: unresolved external symbol "public: int __thiscall Fl_Text_Buffer::insertfile(char const *,int,int)" (?insertfile@Fl_Text_Buffer@@QAEHPBDHH@Z)
Fl_Function_Type.obj : error LNK2019: unresolved external symbol "public: __thiscall Fl_Preferences::~Fl_Preferences(void)" (??1Fl_Preferences@@QAE@XZ) referenced in function "void __cdecl load_comments_preset(class Fl_Preferences &)" (?load_comments_preset@@YAXAAVFl_Preferences@@@Z)
Process terminated with status 1120 (1 minutes, 34 seconds)
52 errors, 2 warnings
 
Any ideas?

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #7 on: May 15, 2006, 11:52:39 am »
hmm. no, you can try the mailing list of fltk... I don't think that this is a C::B problem....
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline dejan

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #8 on: May 17, 2006, 05:16:20 pm »
Well, for your information, there is already Code::Blocks workspace and project(s) inside FLTK_SRC_DIR/ide/cb . Just open it with SVN version of Code::Blocks and you will be able to build FLTK2. :)
I use Code::Blocks sometimes for development of FLTK 2.0.

Kind regards

Dejan Lekic
  http://dejan.lekic.org

Offline dejan

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Help!! Building FLTK + VC++ 2003 Toolkit with CodeBlocks?
« Reply #9 on: May 17, 2006, 05:21:29 pm »
Ah yes, i have forgotten to say - there are no VC++ projects there... I'll do it soon, when i install VC++ 2005 Express. Just wait couple of days and than look for "windows-ms" project file. :)

PS. you can build FLTK2 in VC++, than just put libraries + header files at proper place, and setup Code::Blocks project which would use MS C/C++ compiler/linker.
« Last Edit: May 17, 2006, 05:23:01 pm by dejan »