-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fails on latest OpenGL::Modern - "glGenTextures" is not exported #20
Comments
All are available as their "_c" variants:
glGenTextures_c
glTexImage2D_c
glTexSubImage2D_c
See source and pod in OpenGL::Modern::Helpers for
information on how to call. Friendlier bindings
are in progress.
…--Chris
On 3/6/2017 02:39, Dmitry Karasik wrote:
"glGenTextures" is not exported by the OpenGL::Modern module
"glTexImage2D" is not exported by the OpenGL::Modern module
"glTexSubImage2D" is not exported by the OpenGL::Modern module
Can't continue after import errors at
C:/Strawberry/perl/site/lib/OpenGL/Texture.pm line 4.
BEGIN failed--compilation aborted at
C:/Strawberry/perl/site/lib/OpenGL/Texture.pm line 22.
Compilation failed in require at shadertoy.pl line 15.
BEGIN failed--compilation aborted at shadertoy.pl line 15.
|
I've moved the API to the new version with 8ebcb1b , but I now get crashes before the program really starts up. I guess soem of my buffer handling needs a closer look... |
Totally unrelated: I know you develop under win32, I found a nice valgrind alternative for it, might be handy: Dr.Memory from google (drmemory.org). The only problem it doesn't understand mingw, msvc only, so you'll need an activestate build for it to work. |
@Corion i tried with the latest master, but i get perl syntax errors. Is that commit incomplete? In any case, maybe try with the feature added by this branch: Perl-GPU/OpenGL-Modern#50 |
I just tried the latest git from master, 8ebcb1b
|
Whoops! I've added the missing prerequisites via 30bbcf4 , but you still need the API key for shadertoy.com (which needs registering with the site) |
We've just released OpenGL::Modern 0.04 with all the fixes Dmitry has done for app-shadertoy. I tried to build and test but the repo is missing some prerequisites: Future and Future::HTTP. I hope it will build for you. Also, it might be nice if there were a "built in" shader for the application so folks can see it working without having an ID from shadertoy.com. |
Not directly related to app-shadertoy, but Prima-OpenGL/examples/shadertoy.pl
does exactly that, runs the minimal built-in shader program against
OpenGL::Modern, if available. I'll try to sync it with v0.04 later
/dk
…On Mon, Aug 07, 2017 at 12:31:51PM -0700, devel-chm wrote:
We've just released OpenGL::Modern 0.04 with all the fixes Dmitry has done
for app-shadertoy. I tried to build and test but the repo is missing some
prerequisites: Future and Future::HTTP. I hope it will build for you.
Also, it might be nice if there were a "built in" shader for the application
so folks can see it working without having an ID from shadertoy.com.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#20 (comment)
--
Sincerely,
Dmitry Karasik
|
"glGenTextures" is not exported by the OpenGL::Modern module
"glTexImage2D" is not exported by the OpenGL::Modern module
"glTexSubImage2D" is not exported by the OpenGL::Modern module
Can't continue after import errors at C:/Strawberry/perl/site/lib/OpenGL/Texture.pm line 4.
BEGIN failed--compilation aborted at C:/Strawberry/perl/site/lib/OpenGL/Texture.pm line 22.
Compilation failed in require at shadertoy.pl line 15.
BEGIN failed--compilation aborted at shadertoy.pl line 15.
The text was updated successfully, but these errors were encountered: