Jump to content

Build fail using LEO


VicToMeyeZR
 Share

Recommended Posts

This is a brand new download with the project build with the project wizard on VS2008.

 

Linking...
MyGame.obj : error LNK2001: unresolved external symbol "unsigned char * __cdecl BackBuffer(void)" (?BackBuffer@@YAPAEXZ)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl TFilter(int)" (?TFilter@@YAXH@Z)
MyGame.obj : error LNK2001: unresolved external symbol "float __cdecl AppSpeed(void)" (?AppSpeed@@YAMXZ)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl RenderWorld(int)" (?RenderWorld@@YAXH@Z)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl AppSuspended(void)" (?AppSuspended@@YAHXZ)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl SetAppTitle(char *)" (?SetAppTitle@@YAXPAD@Z)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl FreeWorld(unsigned char *)" (?FreeWorld@@YAXPAE@Z)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl Flip(int)" (?Flip@@YAXH@Z)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl KeyHit(int)" (?KeyHit@@YAHH@Z)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl RegisterAbstractPath(char *)" (?RegisterAbstractPath@@YAXPAD@Z)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl AFilter(int)" (?AFilter@@YAXH@Z)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl AppTerminate(void)" (?AppTerminate@@YAHXZ)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl RenderLights(unsigned char *)" (?RenderLights@@YAXPAE@Z)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl SetBuffer(unsigned char *)" (?SetBuffer@@YAXPAE@Z)
MyGame.obj : error LNK2001: unresolved external symbol "unsigned char * __cdecl CreateWorld(void)" (?CreateWorld@@YAPAEXZ)
MyGame.obj : error LNK2001: unresolved external symbol "unsigned char * __cdecl CreateCustomBuffer(unsigned char *,unsigned char *)" (?CreateCustomBuffer@@YAPAEPAE0@Z)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl Terminate(void)" (?Terminate@@YAHXZ)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl UpdateWorld(float)" (?UpdateWorld@@YAXM@Z)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl GraphicsHeight(void)" (?GraphicsHeight@@YAHXZ)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl Graphics(int,int,int,int,int)" (?Graphics@@YAHHHHHH@Z)
MyGame.obj : error LNK2001: unresolved external symbol "unsigned char * __cdecl CreateBuffer(int,int,int)" (?CreateBuffer@@YAPAEHHH@Z)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl UpdateAppTime(void)" (?UpdateAppTime@@YAXXZ)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl GraphicsWidth(void)" (?GraphicsWidth@@YAHXZ)
MyGame.obj : error LNK2001: unresolved external symbol "void __cdecl FreeBuffer(unsigned char *)" (?FreeBuffer@@YAXPAE@Z)
MyGame.obj : error LNK2001: unresolved external symbol "int __cdecl Initialize(int)" (?Initialize@@YAHH@Z)
.\MyGame.exe : fatal error LNK1120: 25 unresolved externals

AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD

76561197984667096.png

Link to comment
Share on other sites

Ah, then you sent some old files, and destroyed my fixes :(

I fixed it in the text files earlier, the exe was unchanged.

You should always compare the latest LE version with your source, since sometimes LE has newer versions.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Ah, I think I remembered it wrong then, I "fixed" the files to work without engine.cpp, but that was then later on changed back in the LEO. So the project template files need to be fixed anyway.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...