Code::Blocks Forums

User forums => Help => Topic started by: sksksk on May 12, 2010, 08:00:56 am

Title: code::blocks svn version 6218 compiling error
Post by: sksksk on May 12, 2010, 08:00:56 am
During the compile I get:
Code
/include/wx/fs_mem.h:68: undefined reference to `_imp___ZTV17wxMemoryFSHandler
why?
code::blocks svn version 6218
mingw version 4.4.1
Title: Re: code::blocks svn version 6218 compiling error
Post by: MortenMacFly on May 12, 2010, 01:36:19 pm
During the compile I get:
Code
/include/wx/fs_mem.h:68: undefined reference to `_imp___ZTV17wxMemoryFSHandler
why?
code::blocks svn version 6218
mingw version 4.4.1
Because you are missing to provide the implementation of that function to the linker.

Notice that this is not a Code::blocks issue, so your topic might get locked as it violates our forum rules. Using Google before asking here would have revealed that, too.
Title: Re: code::blocks svn version 6218 compiling error
Post by: Jasper on May 29, 2010, 05:09:27 pm
Ironically enough, this is the only result when searching google for that error. If tell to show even the results it thought too similar (or whatever that functionality is called in English) you will get a bunch more references to this post and to one other result. Also on this forums.

Anyway, let me repeat real quick what it said there: this might be caused by your dll having been compiled with a different version of gcc than you are using to Code::Blocks with.
Title: Re: code::blocks svn version 6218 compiling error
Post by: stahta01 on June 06, 2010, 12:36:50 am
During the compile I get:
Code
/include/wx/fs_mem.h:68: undefined reference to `_imp___ZTV17wxMemoryFSHandler
why?
code::blocks svn version 6218
mingw version 4.4.1

I got the same error compiling Code::Blocks and linking against wxWidgets 2.8.10 that was compiled with different compiler (It may have been the 3.4.5 MinGW GCC). After recompiling wxWidgets with TDM 4.4.1 SJLJ the error did not happen on linking.
Another post blamed the issue on Bin Utils being to old; no idea if that is true.

Tim S.