User forums > Help
Forbidden
MortenMacFly:
--- Quote from: xLordRADx on June 13, 2006, 11:19:01 pm ---.objs\newJourney.o:newJourney.cpp:(.text+0x186): undefined reference to `creature::creature()'
.objs\newJourney.o:newJourney.cpp:(.text+0x1ee): undefined reference to `creature::setName(std::string)'
--- End quote ---
It's written there: The linker cannot find thre methods creature::creature() and creature::setName(std::string). So what you've done wrong could be:
1.) You forgot to link to a library (or object file) that provides the implementation of these methods
2.) Your link order is wrong - the library providing the implementation of these methods is linked after the library (or object file) that refers to it.
3.) You really did forget to implement these methods. Thus e.g. the definition is in the header file but there is no implementation in the implementation file.
Could you check for that?
With regards, Morten.
Pecan:
--- Quote from: xLordRADx on June 13, 2006, 11:19:01 pm ---Here is the post I tried to make:
--- End quote ---
It appears that the forum server does not like any lib names.
If, for example, the spaces were taken out of l i b d p l a y x,
I'll get a 404 with a warning:
--- Code: ---Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.36 Server at forums.codeblocks.org Port 80
--- End code ---
[/quote]
--- Code: ---l i b d p l a y x
--- End code ---
xLordRADx:
Thanks to both of you, you each solved one of my problems.
liuke520:
CodeBlocks RC3 + MinGW strongly request the use of GCC4.0 and above version!
MortenMacFly:
--- Quote from: liuke520 on June 14, 2006, 04:42:14 am ---CodeBlocks RC3 + MinGW strongly request the use of GCC4.0 and above version!
--- End quote ---
Could one on the admins ban this guy? It's not funny anymore. :?
(BTW: It's not even a sentence...?!) :lol:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version