mcnopper / opengl Goto Github PK
View Code? Open in Web Editor NEWOpenGL 3 and 4 with GLSL
Home Page: http://nopper.tv
License: Apache License 2.0
OpenGL 3 and 4 with GLSL
Home Page: http://nopper.tv
License: Apache License 2.0
GLUS seems to be available both from McNopper/GLUS and McNopper/OpenGL/GLUS.
Which is the correct one? the other should probably be removed.
dont know the error reason its coming while rendering stl files in vtk..
Generic Warning: In vtkOpenGLState.cxx, line 1171
Error glGetBoolean1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
Generic Warning: In vtkOpenGLState.cxx, line 525
Error glBindFramebuffer1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
Generic Warning: In vtkOpenGLState.cxx, line 709
Error glDepthMask1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
Generic Warning: In vtkOpenGLState.cxx, line 709
Error glDepthMask1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
Generic Warning: In vtkOpenGLState.cxx, line 1171
Error glGetBoolean1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
Generic Warning: In vtkOpenGLState.cxx, line 525
Error glBindFramebuffer1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
Generic Warning: In vtkOpenGLState.cxx, line 709
Error glDepthMask1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
Generic Warning: In vtkOpenGLState.cxx, line 709
Error glDepthMask1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
with stack trace of
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtksys::Encoding::CommandLineArguments::CommandLineArguments
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkImageSliceMapper::SetCroppingRegion
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at vtkRenderPassCollection::~vtkRenderPassCollection
at CallWindowProcW
at CallWindowProcW
at wglSwapBuffers
at CallWindowProcW
at WindowFromPoint
at CallWindowProcA
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at CallWindowProcW
at EnumChildWindows
at IsIconic
at KiUserCallbackDispatcher
at NtUserDispatchMessage
at DispatchMessageW
at vtkGenericRenderWindowInteractor::TimerEventResetsTimerOn
at vtkImageSliceMapper::SetCroppingRegion
at main in C:\Users\dell\source\repos\ConsoleApplication1\ConsoleApplication1.cpp line 1022
at invoke_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 79
at __scrt_common_main_seh in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288
at __scrt_common_main in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 331
at mainCRTStartup in D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp line 17
at BaseThreadInitThunk
at RtlUserThreadStart
It would be nice to clearly see under which license this repo is published.
Hello!
I assume you license all of these as LGPL as stated in Binaries/COPYING.LESSER ?
Would be good to know for sure, since I want to use some of this as a reference in my own (foss) project, as well as when contributing to the ofxFX project.
PS Would be hella sweet if you wanted to release this stuff under the MIT license, since that's what the ofxFX and openFrameworks are licensed under. (Though I guess otherwise I'll just have to learn how to navigate the licensing jungle.)
can you post some README on how to build with QtCreator -eclipse is heavy?
Hello, i was wondering if it is possible to make this library run on nonstandard platforms that usually can’t run these kinds of software. My platform has no GPU or integrated graphics, it cannot run shaders, no operating system, and it is very limited in hardware, the graphics can only run in software.
My platform of choice is a microcontroller, but a more powerful one. My software of choice is the Arduino IDE. The coding language is c++11, and it is rather outdated.
I am looking for software that can run 3D graphics on a small device, but it is kind of hard to find such software. I found a port of opengl called tinygl, and i got it working with very few small modifications. There is also another port that doesn’t work since it has no frame buffer, but rather an encoded GPU signal.
It may be impossible to make this library work on my platform, but i wanted to see if i can with some help. Thank you for any help you can give me.
GLUS public headers are currently hidden within the src/
directory. Common practise is to store them in a separate include
directory.
If the maintainer has interest for this feature, I can submit a PR.
The current CMakeLists.txt
does not provide any install target, which makes it difficult to install GLUS system-wide and hence to use the library in various project.
If the maintainer has interest for this feature, I can submit a PR.
can your repost them? as UX3D doesn't seem open source..
Add a short description of OpenGL in README.md
Commands:
git clone https://github.com/McNopper/OpenGL.git
cd OpenGL
git submodule update --init --recursive
cmake .
make
System:
Output:
CMakeFiles/Example01.dir/src/main.c.o: In function `init':
main.c:(.text+0x19): undefined reference to `glClearColor'
CMakeFiles/Example01.dir/src/main.c.o: In function `reshape':
main.c:(.text+0x47): undefined reference to `glViewport'
CMakeFiles/Example01.dir/src/main.c.o: In function `update':
main.c:(.text+0x61): undefined reference to `glClear'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `glusWindowGetElapsedTime':
glus_window_glfw.c:(.text+0xb9): undefined reference to `glfwGetTime'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `_glusWindowInternalClose':
glus_window_glfw.c:(.text+0x199): undefined reference to `glfwSetWindowShouldClose'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `_glusWindowInternalKey':
glus_window_glfw.c:(.text+0x1d6): undefined reference to `glfwSetWindowShouldClose'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `glusWindowDestroy':
glus_window_glfw.c:(.text+0x3f8): undefined reference to `glfwMakeContextCurrent'
glus_window_glfw.c:(.text+0x407): undefined reference to `glfwDestroyWindow'
glus_window_glfw.c:(.text+0x417): undefined reference to `glfwTerminate'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `glusWindowCreate':
glus_window_glfw.c:(.text+0x4a8): undefined reference to `glfwInit'
glus_window_glfw.c:(.text+0x4e0): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x52a): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x57b): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x598): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x5e9): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x606): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x657): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x674): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x6c5): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x6e2): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x733): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x750): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x7a1): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x7be): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x834): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x887): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x8dd): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x918): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0x945): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x954): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x9ce): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0x9dc): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xa21): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0xa2f): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xa80): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0xa8a): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xae0): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xb34): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0xb3b): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xb87): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xbc7): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0xbfe): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0xc20): undefined reference to `glfwWindowHint'
glus_window_glfw.c:(.text+0xc27): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xc6d): undefined reference to `glfwGetPrimaryMonitor'
glus_window_glfw.c:(.text+0xc8e): undefined reference to `glfwCreateWindow'
glus_window_glfw.c:(.text+0xca6): undefined reference to `glfwTerminate'
glus_window_glfw.c:(.text+0xcd3): undefined reference to `glfwMakeContextCurrent'
glus_window_glfw.c:(.text+0xcd9): undefined reference to `glewExperimental'
glus_window_glfw.c:(.text+0xcdf): undefined reference to `glewInit'
glus_window_glfw.c:(.text+0xd15): undefined reference to `glGetError'
glus_window_glfw.c:(.text+0xd69): undefined reference to `glfwSetWindowSizeCallback'
glus_window_glfw.c:(.text+0xd7d): undefined reference to `glfwSetWindowCloseCallback'
glus_window_glfw.c:(.text+0xd91): undefined reference to `glfwSetKeyCallback'
glus_window_glfw.c:(.text+0xda5): undefined reference to `glfwSetMouseButtonCallback'
glus_window_glfw.c:(.text+0xdb9): undefined reference to `glfwSetScrollCallback'
glus_window_glfw.c:(.text+0xdcd): undefined reference to `glfwSetCursorPosCallback'
glus_window_glfw.c:(.text+0xde6): undefined reference to `glfwGetWindowSize'
glus_window_glfw.c:(.text+0xe10): undefined reference to `__glewDebugMessageCallback'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `glusWindowLoop':
glus_window_glfw.c:(.text+0xee0): undefined reference to `glfwWindowShouldClose'
glus_window_glfw.c:(.text+0xf16): undefined reference to `glfwSetWindowShouldClose'
glus_window_glfw.c:(.text+0xf25): undefined reference to `glfwSwapBuffers'
glus_window_glfw.c:(.text+0xf2a): undefined reference to `glfwPollEvents'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `glusWindowLoopDoRecording':
glus_window_glfw.c:(.text+0xf55): undefined reference to `glfwWindowShouldClose'
glus_window_glfw.c:(.text+0xf98): undefined reference to `glfwSetWindowShouldClose'
glus_window_glfw.c:(.text+0x100d): undefined reference to `glfwSetWindowShouldClose'
glus_window_glfw.c:(.text+0x101c): undefined reference to `glfwSwapBuffers'
glus_window_glfw.c:(.text+0x1021): undefined reference to `glfwPollEvents'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `glusWindowSwapInterval':
glus_window_glfw.c:(.text+0x1078): undefined reference to `glfwSwapInterval'
../lib/libGLUS.a(glus_window_glfw.c.o): In function `glusExtensionGetFuncAddress':
glus_window_glfw.c:(.text+0x10ab): undefined reference to `glfwGetProcAddress'
../lib/libGLUS.a(glus_log.c.o): In function `glusLogPrintError':
glus_log.c:(.text+0x1e5): undefined reference to `glGetError'
../lib/libGLUS.a(glus_math.c.o): In function `glusMathLengthf':
glus_math.c:(.text+0x159): undefined reference to `sqrtf'
../lib/libGLUS.a(glus_screenshot.c.o): In function `glusScreenshotUseTga':
glus_screenshot.c:(.text+0x7b): undefined reference to `__glewBindFramebuffer'
glus_screenshot.c:(.text+0x8c): undefined reference to `glFlush'
glus_screenshot.c:(.text+0x9b): undefined reference to `glPixelStorei'
glus_screenshot.c:(.text+0xaa): undefined reference to `glPixelStorei'
glus_screenshot.c:(.text+0xe5): undefined reference to `glReadPixels'
../lib/libGLUS.a(glus_version.c.o): In function `glusVersionIsSupported':
glus_version.c:(.text+0x14): undefined reference to `glGetString'
../lib/libGLUS.a(glus_image.c.o): In function `_glusImageGatherSamplePoints':
glus_image.c:(.text+0xc6): undefined reference to `floorf'
collect2: error: ld returned 1 exit status
Example01/CMakeFiles/Example01.dir/build.make:84: recipe for target 'build/Example01' failed
make[2]: *** [build/Example01] Error 1
CMakeFiles/Makefile2:218: recipe for target 'Example01/CMakeFiles/Example01.dir/all' failed
make[1]: *** [Example01/CMakeFiles/Example01.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
If the maintainer is interested in such a feature, I can propose a 'template' CMakeLists
for the examples.
Hi,
I am trying to run the example 45 and I am getting a grey screen. I tried different models but it got the same result.
Am I missing something? I did not change the code.
Is there a step by step noob guide on compiling the example?
It seems to me that the repo could effectively be renamed GLUS-examples-GL
or something along this line.
It would be great to have an example demonstrating the use of the mouse interaction functions (glusWindowSetMouseFunc
, glusWindowSetMouseWheelFunc
, glusWindowSetMouseMoveFunc
). Typically, a model viewer with a mouse-based free-look.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.