Chiblue Posted December 3, 2012 Share Posted December 3, 2012 I am compiling a project I developed a few months back using 2.5, it was originally written using 2.4. Everything compiles normally but when I try to run the app the compiler (VS C++ 2008) returns: The program '[6964] restrainer-Debug.exe: Native' has exited with code -1 (0xffffffff). The engine.log has the following... Leadwerks Engine 2.5 Initializing Renderer... OpenGL Version: GLSL Version: Render device: Vendor: Error: GLSL 1.20 is not supported. Please update your graphics drivers or replace your hardware. But when I create and build a base project with the rotating cude everything works correctly... Any ideas? Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted December 3, 2012 Share Posted December 3, 2012 Have you tried updating your graphics drivers? Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
Chiblue Posted December 3, 2012 Author Share Posted December 3, 2012 Yes they are upto date according to NVidia... Also if that was the problem why would the spinning cube and editor work? So although it sounds like that is the problem I done think it is... Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
ChrisMAN Posted December 3, 2012 Share Posted December 3, 2012 My Intel GMA 4000 stopped working when i upgraded to windows 8. I have another gpu on the laptop. Kind of frustrating though. Quote Link to comment Share on other sites More sharing options...
Chiblue Posted December 4, 2012 Author Share Posted December 4, 2012 I tried several other projects I created and they all work except for this one, I believe that this message is misleading and is being throw becuase of some other issue... Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Chiblue Posted December 6, 2012 Author Share Posted December 6, 2012 I found the problem, it is due to the declaration of my Framework variable, Framework m_framewerk; If I remove this the class is created normally, so I gues the question is why is this causing and exit exception of code -1. when I look at the demo applicaiton is uses TFrameWork as the type. Is Framework not available within 1.5? Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Canardia Posted December 6, 2012 Share Posted December 6, 2012 You are probably initializing Framework before Graphics is created. If you use LEO classes in your own classes, you should always specify Classname object(CREATE_LATER), else your classes will launch in a random order (in the order you declared their instances). 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...
Chiblue Posted December 6, 2012 Author Share Posted December 6, 2012 Thanks, I would like to try that just to understand it, what is the syntax? e.g. Framework fw(CREATE_LATER); <- like this? I only see this as a parameter on world and camera classes, not framework... An if so how would I actually creat the class variable before using it? Quote If it's not Tactical realism then you are just playing.. Link to comment Share on other sites More sharing options...
Canardia Posted December 6, 2012 Share Posted December 6, 2012 Look how gamelib does it. 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...
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.