digitalmars.D.ide - Running project with Visual D fails, with dub it succeeds
- Begah (24/24) Aug 15 2016 I have a problem :
- Begah (4/4) Aug 19 2016 I did some more testing and it seems that my application only
- Rainer Schuetze (3/7) Aug 19 2016 That sounds like a problem with the debug engine. You might want to try
- Begah (4/14) Aug 20 2016 Thanks. Switched from Mango to Visual Studio and i no longer get
I have a problem : When i compile & run my application with Visual D, my application crashes ( It fails to load higher opengl versions ). When i compile & run my application with dub, my application runs flawlessly. To test what i am talking about : git clone https://github.com/Begah/Dominator.git cd Dominator dub // Works perfectly dub generate visuald Then build & run solution with Visual Studio. I get the following error when launching from visual studio ( from library derelict-gl3 ) : First-chance exception: derelict.util.exception.SymbolLoadException Failed to load OpenGL symbol [glGetSubroutineUniformLocation] at ..\..\..\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\exception.d(35) It happens when i call DerelictGL3.reload(). ( in file isolated/window, line 128). Launching from Visual D, it seems my application can't load opengl properly but with dub ( and running the executable created by Visual D outside of Visual D ) works. Why does Visual D gives my application a different environment than dub and just executing the executable manually ?
Aug 15 2016
I did some more testing and it seems that my application only crashes when I launch it in debug mode ( from Visual Studio ). If i launch my application from visual studio ( ctr + F5 ) without debugging my application works flawlessly.
Aug 19 2016
On 19.08.2016 13:33, Begah wrote:I did some more testing and it seems that my application only crashes when I launch it in debug mode ( from Visual Studio ). If i launch my application from visual studio ( ctr + F5 ) without debugging my application works flawlessly.That sounds like a problem with the debug engine. You might want to try switching to another engine in the project debug settings.
Aug 19 2016
On Friday, 19 August 2016 at 18:38:25 UTC, Rainer Schuetze wrote:On 19.08.2016 13:33, Begah wrote:Thanks. Switched from Mango to Visual Studio and i no longer get the error. Thanks!I did some more testing and it seems that my application only crashes when I launch it in debug mode ( from Visual Studio ). If i launch my application from visual studio ( ctr + F5 ) without debugging my application works flawlessly.That sounds like a problem with the debug engine. You might want to try switching to another engine in the project debug settings.
Aug 20 2016