News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

UNDEFINED REFERENCE TO ( ERROR )

Started by RBendo, October 06, 2009, 09:15:08 PM

Previous topic - Next topic

RBendo

Hi, i don't know english very well, sorry
I've a problem with a small program by me writed, It's a template class, after the compile time, in linking time
Codeblocks tell me:

s - source\PROGETTI\GCL\GCL_TESTER.CPP  | 14   |    undefined reference to `GCL::IOFile<GCL::Void0, GCL::Void1,
                                                                     |    GCL::Void2, GCL::Void3>::IOFile()'

obj\Debug\GCL_TESTER.o   |    In function `_ZN3GCL6IOFileINS_5Void0ENS_5Void1ENS_5Void2ENS_5Void3EElsEh':
(unsigned char)]+0x3b)      |    undefined reference to `GCL::IOFile<GCL::Void0, GCL::Void1, GCL::Void2, 
                                     |   GCL::Void3>::Write  (unsigned char, unsigned short, char*)'|

I don't know how to solve this problem, anybody can help me? ( Sorry for english too ).


stahta01

Quoteundefined reference

The above message normally means you failed to add an needed library to the list.

Please turn on Full Compiler Logging and post it in a site that support the library or a beginning programming site.

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]