I have a program that I made with OpenGL, but it doesn't work on PCs that don't have OpenGL installed. Is there a way to embed the necessary OpenGL files into the .exe file through the compiler?
aPPmaSTer 0 Light Poster
Recommended Answers
Jump to Post>Is there a way to embed the necessary OpenGL files into the .exe file through the compiler?
Yes, try statically linking the libraries, which will emebed all the necessary code into the final executable. Actual process to do such a thing varies from compiler to compiler.The easiest way, …
Jump to PostActually... scratch that. I was thinking of Mesa (an OpenGL clone) when I said that. There is a static library, libopengl32.a, but I believe that this somehow references the symbols from the DLL file. Sorry. :-(
Anyhow, it seems strange that the test machines don't have OpenGL installed on …
All 5 Replies
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Colin Mac 53 Posting Whiz
John A 1,896 Vampirical Lurker Team Colleague
aPPmaSTer 0 Light Poster
John A 1,896 Vampirical Lurker Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.