Open plumdeq opened 7 years ago
It sucks to reply to your own question, but maybe it will be helpful to anyone following the same route.
gl3w
- opengl core profile loading library will not work with this code, because gl3w
loads only the core functionality, which actually excludes all the matrix multiplication code, assuming that you do all linear algebra things yourself, and provide the computed results to the shader programs.
glew
- did help however, not only has it loaded all the opengl 2.0+ functionality with shaders mumbo jumbo, but it also loaded functions supporting older linear algebra opengl methods. Unfortunately the code mixes both older and newer opengl methods...
Anyways, after other minor tweaks to the code I could eventually compile the BaseCode executable both with MSVC and MinGW build tool chains.
It however freezes during the loading of the mesh...
So, it does not run....
I think that the code will have to be properly ported to work with MSVC or MinGW build tool chain... Has anybody actually succeeded in compiling and running it under Cygwin?
Strangely I only get glDeleteShader identifier not found
on VS 15
. ;(
Hello,
I've been struggling to compile the examples from this repository on Windows 10 64-bit with the MSVC++ build tool chain (cl.exe, link.exe, nmake.exe). Some things are broken (e.g.,
UF_long
types which should beSuiteSparse_long
, thanks to the parallel thread for solution)... I think the most challenging part right now is actually to makeopengl
behave nicely... All the declarations regarding vertex and fragment shaders (e.g.,glDeleteProgram
) are breaking... On MacOS X all theopengl
stuff works like charm though...Maybe I need the opengl loader libraries like gl3w or something? By the way almost identical errors with MinGW build tool chain...
I am using the
freeglut
library instead ofglut
.