PDA

View Full Version : Library problems



Questions Burner
10-01-2001, 04:07 AM
When you do 3d programming in openGL, you'll need some libraries right. And when you want to run this program in another computer, you'll need to bring along the dlls right. How can I make my program run without the dlls. Is there libraries out there that don't use dll like glut.dll, sdl.dll, just static link libraries.

Bob
10-01-2001, 04:30 AM
You can always download the source and build a static library yourself. I believe both of them are open source. GLUT is, but dunno about SDL.

Questions Burner
10-01-2001, 07:19 PM
I didn't found any glut source but I've found sdl with source code. But the problem is it's huge!

john
10-01-2001, 10:07 PM
aa-a-a-a-nd what's the problem with that?

Questions Burner
10-02-2001, 04:51 AM
I just don't get it, the code is too messy.

Bob
10-02-2001, 05:10 AM
You don't need to know the code. If there's a project that allows you to compile a .DLL, just change the project settings to output a static .LIB instead. Messy code or not, it's the project settings that matters.

[This message has been edited by Bob (edited 10-02-2001).]

john
10-02-2001, 03:31 PM
SDL is messy? What non-commercially-available products have you been inhibiting?

SDL is a triumph of design. From the last time I looked at it, it had

- a clean, well specified interface
- documented code following a well defined coding standard
- man pages for all library functions.

If you think its 'messy', then scratch team-based softrware engineering off your list of Careers To Aspire To.

Cheers,
John

Questions Burner
10-02-2001, 10:02 PM
Calm down man, have I said the wrong words? Don't take my words too seriously.

john
10-02-2001, 10:04 PM
and i was perfectly calm. <nods> but sdl is not messy, doesn;t approach BEING messy and is, in general, very non-messy like.

Questions Burner
10-03-2001, 06:30 AM
Originally posted by Bob:
You don't need to know the code. If there's a project that allows you to compile a .DLL, just change the project settings to output a static .LIB instead. Messy code or not, it's the project settings that matters.

[This message has been edited by Bob (edited 10-02-2001).]

I can't seem to find it. In project setting?

Bob
10-04-2001, 12:38 AM
Just create a new project with the correct settings if there's any problem.

marcus256
10-04-2001, 02:24 AM
Use GLFW!

opengl.freehosting.net/glfw

Gives you the source (small and simple), and static linking.

/Marcus