• Advertisement
Sign in to follow this  

Linker errors

This topic is 4252 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to compile the Sauerbraten engine (also known as Cube 2, see http://sauerbraten.org ). The project files for this engine are made for VC++ 8, but I only have VC++ 7. However, I have a friend who has VC++ 8, and I had him take screenshots of each and every page of the project options. I set them EXACTLY as I read them, desprately hoping that I could still get it to work. Well, it worked, and then it didn't. :P I got past the compiling stage, and then had to face the linker errors. Here's the problem that I am currently stuck on: ------------------------------------------------------------------------------ water.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) worldio.obj : error LNK2019: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) referenced in function "void * __cdecl operator new(unsigned int,char const *,int)" (??2@YAPAXIPBDH@Z) fps.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) tools.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) rendermodel.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) renderparticles.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) server.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) spheretree.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) octa.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) octaedit.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) octarender.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) physics.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) command.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) cubeloader.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) lightmap.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) normal.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@$$FYAPAXIHPBDH@Z) LINK : error LNK2001: unresolved external symbol __CorExeMain@0 .\Release\AGM.exe : fatal error LNK1120: 2 unresolved externals ------------------------------------------------------------------------------ I'm pretty sure I know why this is; I'm guessing that the standard libraries of VC++ 8 had something that VC++ 7 didn't. Unfortunately, I don't know how to fix this. Could anyone help me with this dilemma? (I didn't know wether to put this here or in the Beginner forums, because I am somewhat of a beginner, but this is hardly a beginner question.)

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement