digego / extempore

A cyber-physical programming environment
1.41k stars 127 forks source link

(sys:load "libs/external/opengl.xtm") leads to LLVM IR: <string>:60:19: error: invalid redefinition of function 'glActiveTexture' #325

Closed cinterloper closed 4 years ago

cinterloper commented 6 years ago

on the current master branch compiled from source, when I evaluate (sys:load "libs/external/opengl.xtm") the following error occurs:

sys:load notification base already loaded
Lib Load:  libGL dynamic library loaded from /usr/lib/x86_64-linux-gnu/libGL.so
**** DECL ****
declare void @glActiveTexture (i32)
**** ENDDECL ****

LLVM IR: <string>:60:19: error: invalid redefinition of function 'glActiveTexture'
declare cc 0 void @glActiveTexture(i32) nounwind
                  ^

Compiler Error  could not bind glActiveTexture
benswift commented 4 years ago

this should be fixed now - let us know if you're still having problems.