VicToMeyeZR Posted January 27, 2010 Share Posted January 27, 2010 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 Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Roland Posted January 27, 2010 Share Posted January 27, 2010 Add the file <leadwerks installdir>/CPP/engine.cpp to your project. There was a change in some headers since the current ProjectWizard was released which leads to manually adding this file for LEO projects. This will be fixed in next release of ProjectWizard Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Canardia Posted January 27, 2010 Share Posted January 27, 2010 It was fixed for the current ProjectWizard also long time ago. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Roland Posted January 27, 2010 Share Posted January 27, 2010 It was fixed for the current ProjectWizard also long time ago. This error exists in the ProjectWizard delivered today. Tested with a fresh download. Anyway it will be fixed. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Canardia Posted January 27, 2010 Share Posted January 27, 2010 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. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Roland Posted January 27, 2010 Share Posted January 27, 2010 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. But I havent sent any files since 2.14, ages ago! Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Canardia Posted January 27, 2010 Share Posted January 27, 2010 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. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted January 27, 2010 Author Share Posted January 27, 2010 Will give that a shot. Thanks guys Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Recommended Posts
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.