Hi,
Seems like there is a example already under examples/OpenGL3test
I however have problems linking the code under linux:
*** Compile OpenGL3test.cxx...
That aside, how did you compile/build? You are posting the error
message(s) but not your command which would have been really helpful.
AFAICT the OpenGL3 demos are not included in configure/make builds.
examples/Makefile
However, if you build with CMake you get them "for free" (set
FLTK_BUILD_EXAMPLES:BOOL=ON).
Finally: try to add "-lGLU -lGL -lGLEW" to your linker command. I tried
the following (you may do this as well in your environment, don't forget
"--use-gl"):
$
This worked for me. YMMV.
Note: my build includes Cairo and more, your command may be much shorter.
--
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/fbd65942-fbc6-5f4d-1447-76b8cd9d8a3c%40online.de.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.