gl3 + Standalone on Windows

Terry Anastasiadis's icon

Hello, all.

I hope everyone is as good as can be...
It's my first time posting on the forums. So, please bear with me!

I'm trying to compile a bare bones test project that utilizes gl3 to an application on Windows 10 but whenever I execute "myApp.exe" I run into a number of errors all pertaining to gl3 (or the lack of).

Max Runtime Errors


From what I gather, gl3 and the necessary gl3 externals are not being included in the standalone. I tried manually including/copying what I suspect to be the missing files but with no luck...

gl3 folder -> myAppDir/resources/packages
gl3.mxe64 -> myAppDir/resources/extensions
gl3.mxe64 -> myAppDir/resources/extensions/jitter
jit.gl.tf.mxe64 & jit.gl.buffer.mxe64 -> myAppDir/resources/externals
jit.gl.tf.mxe64 & jit.gl.buffer.mxe64 -> myAppDir/resources/externals/jitter

I'm running...
Windows 10 Pro x64 (1909)
MAX (8.1.3)
gl3 (0.1.3)

ps. This is for school and I need to hand something in a few days. If gl3 is currently off the table for a Windows standalone then no worries, gl3 is in beta after all... It's just the sooner I know the better so that I can pivot, thanks!

Pedro Santos's icon

Hi Terry. I remembered that I've read about your problem (and its solution) on the following thread:
https://cycling74.com/forums/gl3-package-update-0-1-1

Rob Ramirez's icon

to support gl3 in a windows standalone simply copy the entire gl3 package folder into myAppDir/resources/packages

The first time it launches, the glengine will be set to the default value of gl2, so you need to include the max message "; max glengine gl3" (which it looks like you have in your patch). hit that message and then restart your app and you should be good.