|
|
Hi, Seems like there is a example already under examples/OpenGL3test
I however have problems linking the code under linux: *** Compile OpenGL3test.cxx... g++ -I.. -I.. -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -I. -c OpenGL3test.cxx -o OpenGL3test.o *** Linking OpenGL3test...
g++ OpenGL3test.o ../lib/libfltk.a -lXrender -lXcursor -lXfixes -lXft -lfontconfig -lXinerama -pthread -lpthread -ldl -lm -lX11 ../lib/libfltk_images.a -ljpeg -lpng -lz ../lib/libfltk.a -lXrender -lXcursor -lXfixes -lXft -lfontconfig -lXinerama -pthread -lpthread -ldl -lm -lX11 -o OpenGL3test OpenGL3test.o: In function `Fl_Gl_Window::mode(int)': OpenGL3test.cxx:(.text._ZN12Fl_Gl_Window4modeEi[_ZN12Fl_Gl_Window4modeEi]+0x21): undefined reference to `Fl_Gl_Window::mode(int, int const*)' OpenGL3test.o: In function `Fl_Gl_Window::pixel_w()': OpenGL3test.cxx:(.text._ZN12Fl_Gl_Window7pixel_wEv[_ZN12Fl_Gl_Window7pixel_wEv]+0x14): undefined reference to `Fl_Gl_Window::pixels_per_unit()' OpenGL3test.o: In function `Fl_Gl_Window::pixel_h()':
Any hints ?
Best regards Håvard
søndag 28. august 2022 kl. 09:32:49 UTC+2 skrev holm.h...@gmail.com:
Hello,
Do anyone have a demo/test-code for using GLSL (shaders) in fltk ?
Best regards Håvard
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/4dd10f7e-341a-4db6-939e-62311bcb159dn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |