Hattori Posted June 5, 2005 Report Share Posted June 5, 2005 Hi, I have two questions that I want to ask. 1. [OPENGL]: I'm trying to compile this opengl program, but I get an error saying that the glut32.lib file won't open; I'm using glut version 3.7.6. I used "implib" on glut32.lib to glut32.dll and it suceeds, but when I compile the program the glut32.lib won't open. Is there a way to fix this problem2. [sDL]: Is SDL suitable for Borland. I tried placing the SDL.dll in the system32 directory, SDL.lib and SDLmain.lib in the lib directory of the bcc55 (Borland C++ builder command line tools 5.5), and all of the include files in the SDL directory to the include directory of bcc55. Please take a look at this program: /* -- Include the precompiled libraries -- */#ifdef WIN32#pragma comment(lib, "SDL.lib")#pragma comment(lib, "SDLmain.lib")#endif#include <SDL/SDL.h>int main(int argc, char **argv){ printf("\nHello SDL User!\n"); /* initialize SDL */ if ( SDL_Init( SDL_INIT_VIDEO ) < 0 ) { fprintf( stderr, "Video initialization failed: %s\n", SDL_GetError( ) ); SDL_Quit( ); } SDL_Quit( ); return 0;}I'm not sure if this would work, any ideas on how to configure SDL using Borland Quote Link to comment Share on other sites More sharing options...
Hattori Posted June 5, 2005 Author Report Share Posted June 5, 2005 Oh, by the way. I'm still using Windows XP Professional SP2, japanese versionLian-Li PC-60512MB DDR RAMAMD Athon XP 2800+LG GSA-4040B DVD Burner Drive128MB GeForce FX 5600 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.