You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm using the Nvidia Jetson TX2 to run GLVisualize and I came across this method ambiguity error when running the following function in GLAbstraction.jl
The ambiguity is at gluniform(::Integer, x::UInt8), since on the Jetson, both GLbyte and GLubyte maps to UInt8.
This is because Cchar (and thus, ModernGL.GLbyte) maps to UInt8 in the Jetson, while in x86 computers, Cchar maps to Int8. I fixed in the Jetson by defining ModernGL.GLbyte as Int8 in the Jetson. Also before fixing this, GLVisualize had issues rendering colors properly, but after this fix, the colors render properly. I'm not completely sure why this is happening, but ModernGL.GLbyte probably needs to be more consistently defined across architectures.
The text was updated successfully, but these errors were encountered:
So I'm using the Nvidia Jetson TX2 to run GLVisualize and I came across this method ambiguity error when running the following function in GLAbstraction.jl
The ambiguity is at
gluniform(::Integer, x::UInt8)
, since on the Jetson, both GLbyte and GLubyte maps to UInt8.This is because Cchar (and thus, ModernGL.GLbyte) maps to UInt8 in the Jetson, while in x86 computers, Cchar maps to Int8. I fixed in the Jetson by defining ModernGL.GLbyte as Int8 in the Jetson. Also before fixing this, GLVisualize had issues rendering colors properly, but after this fix, the colors render properly. I'm not completely sure why this is happening, but ModernGL.GLbyte probably needs to be more consistently defined across architectures.
The text was updated successfully, but these errors were encountered: