The original crash happened because I was starting without anything plugged into the cplusplus TOP so there was no texture to load. Then I realized the code was looking for a 640x480 image and would crash with anything larger.
Now I have an issue with the conversion of floats to ints.
- Code: Select all
int neighborhood= int(arrays->floatInputs->values); //get TOP input floats
VC++ looks for ftol2.asm, can't find it and crashes. TD throws a VC++ Runtime error.
After some research it seems this may have to do with OpenGL32.lib but I'm not sure.