0
runtime error
I'm writing cpp shaders and it throws "debug assertion failed!"
6 Antworten
+ 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/
+ 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?
+ 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.
+ 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.
0
Code is huge enough.
Im using visual studio.
What is most common reason to throw that kind of exception?
0
This is cpp code
https://code.sololearn.com/cLms45g2nlGC/?ref=app