CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #5
    Join Date
    Nov 2010
    Posts
    105

    Re: VC++ 2010 Express Linker library issues

    Well I got a new laptop and the problem came back. I got a bunch of warnings and errors when the IDE tried to link the fltk library:
    1>fltkd.lib(Fl_File_Chooser2.obj) : error LNK2019: unresolved external symbol __imp___access referenced in function "private: void __thiscall Fl_File_Chooser::fileNameCB(void)" (?fileNameCB@Fl_File_Chooser@@AAEXXZ)
    1>fltkd.lib(Fl_File_Chooser2.obj) : error LNK2019: unresolved external symbol __imp__strstr referenced in function "char * __cdecl strstr(char *,char const *)" (?strstr@@YAPADPADPBD@Z)
    1>fltkd.lib(Fl_File_Chooser2.obj) : error LNK2019: unresolved external symbol __imp___mkdir referenced in function "private: void __thiscall Fl_File_Chooser::newdir(void)" (?newdir@Fl_File_Chooser@@AAEXXZ)
    1>fltkd.lib(Fl_File_Chooser2.obj) : error LNK2019: unresolved external symbol __imp__fread referenced in function "private: void __thiscall Fl_File_Chooser::update_preview(void)" (?update_preview@Fl_File_Chooser@@AAEXXZ)
    1>fltkd.lib(Fl_Text_Buffer.obj) : error LNK2001: unresolved external symbol __imp__fread
    1>fltkd.lib(Fl_Shared_Image.obj) : error LNK2001: unresolved external symbol __imp__fread
    1>fltkd.lib(Fl_Text_Buffer.obj) : error LNK2019: unresolved external symbol __imp__ferror referenced in function "public: int __thiscall Fl_Text_Buffer::insertfile(char const *,int,int)" ...
    Update: I figured it out. The fltk library was compiled with "debug" and the problem went away when it's re-compiled with "release". Although the fltk solution now fails to build 68 out of 79 projects.
    Last edited by acppdummy; July 13th, 2012 at 01:36 PM. Reason: add info

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured