0

runtime error

I'm writing cpp shaders and it throws "debug assertion failed!"

16th Nov 2018, 10:10 AM
Ilias
Ilias - avatar
6 odpowiedzi
+ 5
Hello, 😊 Can you specifying your question correctly! Use the search bar! https://www.sololearn.com/post/10362/?ref=app Please, read our guidelines: https://www.sololearn.com/discuss/1316935/?ref=app An useful code for any new user here!;) https://code.sololearn.com/WvG0MJq2dQ6y/
16th Nov 2018, 10:25 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 5
SO link about what "debug assertion failed!" is. Might give you a hint about the possible source of error. https://stackoverflow.com/questions/42884436/what-is-debug-assertion-failed The original author in his Github repo has been talked about "Dependencies". Did you add all of them to the project? Are they all up to date? Any chance the VS version has a problem with some of those libraries? https://github.com/Barnold1953/GraphicsTutorialsDeps Edit: The original implementation also has these headers https://github.com/Barnold1953/GraphicsTutorials/blob/master/Bengine/GLSLProgram.cpp #include "BengineErrors.h" #include "IOManager.h" #include <vector> are you sure you have considered them?
16th Nov 2018, 11:10 AM
Babak
Babak - avatar
+ 4
Without a code and specifying the compiler by which you've compiled that source code, it's almost impossible to see what's going on.
16th Nov 2018, 10:16 AM
Babak
Babak - avatar
+ 4
Again, you should at least try your best to narrow the problem down to something reasonable to inspect, then we more than happy to take our time and help you. If you can't do that for whatever reason, do some Google search. Hopefully, one of the Stackoverflow's threads has already addressed such problem.
16th Nov 2018, 10:26 AM
Babak
Babak - avatar
0
Code is huge enough. Im using visual studio. What is most common reason to throw that kind of exception?
16th Nov 2018, 10:20 AM
Ilias
Ilias - avatar
16th Nov 2018, 10:32 AM
Ilias
Ilias - avatar