Jump to content

DanWard

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by DanWard

  1. Thanks, That worked lol.I didn't think of that :S. Thanks, Dan
  2. Thanks, turning it to Not-Set worked it for me. One thing though. I get this: 1>Linking... 1>leo.obj : error LNK2005: "bool LEO::g_engineLoaded" (?g_engineLoaded@LEO@@3_NA) already defined in Gamelib.obj 1>leo.obj : error LNK2005: "private: static int LEO::Engine::instances" (?instances@Engine@LEO@@0HA) already defined in Gamelib.obj 1>.\sceneloading-Debug.exe : fatal error LNK1169: one or more multiply defined symbols found Any ideas? Thanks, Dan
  3. Ok, I did that and now it wont compile. Errors: 1>c:\users\daniel\desktop\test\window.cpp(42) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>c:\users\daniel\desktop\test\window.cpp(48) : error C2664: 'LoadImageW' : cannot convert parameter 2 from 'const str' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>c:\users\daniel\desktop\test\window.cpp(50) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>c:\users\daniel\desktop\test\window.cpp(56) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [19]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
  4. I'm using windows, I found a way around it. You have to change the character set from Unicode to Multi-byte. Compiler is Visual Studio 2008 C++ and Leadwerks 2.31 with the 2.3 leoFramewerk leoLayer leoRenderer files. I fixed all the problems, cept now I get "Unable to load icon resource 100" "Icon image is NULL"
  5. Ive tried it a couple of times but I am still getting 58 errors, no matter what i do. 1>c:\users\daniel\desktop\test\window.cpp(42) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>c:\users\daniel\desktop\test\window.cpp(48) : error C2664: 'LoadImageW' : cannot convert parameter 2 from 'const str' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>c:\users\daniel\desktop\test\window.cpp(50) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>c:\users\daniel\desktop\test\window.cpp(56) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [19]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>test.cpp 1>c:\users\daniel\desktop\test\test.cpp(5) : error C2065: 'TGame' : undeclared identifier 1>c:\users\daniel\desktop\test\test.cpp(5) : error C2146: syntax error : missing ';' before identifier 'game' 1>c:\users\daniel\desktop\test\test.cpp(5) : error C2065: 'game' : undeclared identifier 1>c:\users\daniel\desktop\test\test.cpp(9) : error C2065: 'game' : undeclared identifier 1>c:\users\daniel\desktop\test\test.cpp(9) : error C2228: left of '.Initialize' must have class/struct/union 1> type is ''unknown-type'' 1>c:\users\daniel\desktop\test\test.cpp(12) : error C2065: 'game' : undeclared identifier 1>c:\users\daniel\desktop\test\test.cpp(12) : error C2228: left of '.scene' must have class/struct/union 1> type is ''unknown-type'' 1>c:\users\daniel\desktop\test\test.cpp(12) : error C2228: left of '.LoadMap' must have class/struct/union 1>c:\users\daniel\desktop\test\test.cpp(13) : error C2065: 'game' : undeclared identifier 1>c:\users\daniel\desktop\test\test.cpp(13) : error C2228: left of '.scene' must have class/struct/union 1> type is ''unknown-type'' 1>c:\users\daniel\desktop\test\test.cpp(13) : error C2228: left of '.SetCurrentPlayer' must have class/struct/union 1>c:\users\daniel\desktop\test\test.cpp(14) : error C2065: 'game' : undeclared identifier 1>c:\users\daniel\desktop\test\test.cpp(14) : error C2228: left of '.scene' must have class/struct/union 1> type is ''unknown-type'' They are a few of them. Help appreciated. Thanks, Dan
×
×
  • Create New...