PDA

View Full Version : Help with OpenGL using Borland C++ builder 5.5



Hattori
03-07-2005, 04:20 PM
Hi, I'm using the japanese version of Borland C++ builder 5.5 and I'm trying run this openGL program. I have all of the settings right, but when I compile the program, it gave me 5 errors on the sam.obj file. Here are the errors:

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
sam.c:
警告 W8070 sam.c 25: 関数は値を返すべき(関数 main )
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: 外部シンボル '__glutInitWithExit' が未解決(C:\DOCUMENTS AND SETTINGS\服部君\MY DOCUMENTS\SAM.OBJ が参照)
Error: 外部シンボル '__glutCreateWindowWithExit' が未解決(C:\DOCUMENTS AND SETTINGS\服部君\MY DOCUMENTS\SAM.OBJ が参照)
Error: 外部シンボル '__glutCreateMenuWithExit' が未解決(C:\DOCUMENTS AND SETTINGS\服部君\MY DOCUMENTS\SAM.OBJ が参照)
Error: 外部シンボル 'glutDisplayFunc' が未解決(C:\DOCUMENTS AND SETTINGS\服部君\MY DOCUMENTS\SAM.OBJ が参照)
Error: 外部シンボル 'glutMainLoop' が未解決(C:\DOCUMENTS AND SETTINGS\服部君\MY DOCUMENTS\SAM.OBJ が参照)

what should do to fix this problem? Is it something has to do the glut.h file. I'm using the new version 3.7.6

My specs:
---------
Lian-Li PC-60
512MB DDR RAM
AMD Athlon XP 2800+ (2.08GHz) Barton core
280GB HDD
128MB GeForce FX 5600
LG GSA4040B Drive
Windows XP Professional SP2 (japanese version)