# Need Help: Borland C++ 5.6.4

**URL:** <https://discourse.glfw.org/t/need-help-borland-c-5-6-4/342>\
**Category:** support\
**Created:** [May 5, 2005, 2:05pm UTC](https://discourse.glfw.org/t/need-help-borland-c-5-6-4/342 "2005-05-05T14:05:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [May 5, 2005, 2:05pm UTC](https://discourse.glfw.org/t/need-help-borland-c-5-6-4/342/1 "2005-05-05T14:05:24Z")

</div>

**nobody** wrote on [Thursday, May 05, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/731f46c5/#5b11):

Hi, I used Borland C++ 5.6.4 to compile GLFW using the command "make win32-bcc". I then followed the instructions in "readme.html" for where to put glfw.lib, glfw.dll, glfwdll.lib, and glfw.h.

I then tried to compile the following program:

//BEGIN PROGRAM  
#include \<gl/glfw.h\>

int main()  
{  
int running = GL\_TRUE;

```
// Initialize GLFW
glfwInit\(\);

// Open an OpenGL window
if\( \!glfwOpenWindow\( 300, 300, 0, 0, 0, 0, 0, 0, GLFW\_WINDOW \)\)
\{
	glfwTerminate\(\);
	return 0;
\}

// Main loop
while\( running \)
\{
	// OpenGL rendering goes here...
	glClear\( GL\_COLOR\_BUFFER\_BIT \);

	// Swap front and back rendering buffers
	glfwSwapBuffers\(\);

	// Check if ESC key was pressed or window was closed
	running = \!glfwGetKey\( GLFW\_KEY\_ESC \) &amp;&amp; glfwGetWindowParam\( GLFW\_OPENED \);
\}

// Close window and terminate GLFW
glfwTerminate\(\);

// Exit program
return 0;

```

}  
//END PROGRAM

I tried compiling it using the following makefile:

//BEGIN MAKEFILE  
CC = bcc32  
CFLAGS = -q -w  
LD = ilink32  
LDFLAGS = -q

glfw: glfw.obj  
${LD} ${LDFLAGS} glfw.obj glfw.lib opengl32.lib user32.lib kernel32.lib

glfw.obj: glfw.cpp  
${CC} ${CFLAGS} -c glfw.cpp  
//END MAKEFILE

As you can see, I tried linking with all the suggested .lib files. However, I get the following "Unresolved external" error:

Error: Unresolved external ‘\_\_turboFloat’ referenced from root

If anyone can help I would appreciate it very much. Please keep in mind that I am a total noob to OpenGL, GLFW, and makefiles.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [May 6, 2005, 1:49pm UTC](https://discourse.glfw.org/t/need-help-borland-c-5-6-4/342/2 "2005-05-06T13:49:43Z")

</div>

**nobody** wrote on [Friday, May 06, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/731f46c5/#5b11/30b5):

I also tried compiling using gcc and got this:

glfw.o(.eh\_frame+0x11):glfw.cpp undefined reference to ‘\_\_gxx\_personality\_v0’

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [May 9, 2005, 7:19am UTC](https://discourse.glfw.org/t/need-help-borland-c-5-6-4/342/3 "2005-05-09T07:19:56Z")

</div>

**[marcus256](https://sourceforge.net/u/marcus256/)** wrote on [Monday, May 09, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/731f46c5/#35b1):

I Googled "\_\_turboFloat", and found this:

[http://support.borland.com/entry.jspa?externalID=246&categoryID=135](http://support.borland.com/entry.jspa?externalID=246&categoryID=135)

Perhaps that helps?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [May 9, 2005, 4:41pm UTC](https://discourse.glfw.org/t/need-help-borland-c-5-6-4/342/4 "2005-05-09T16:41:57Z")

</div>

**nobody** wrote on [Monday, May 09, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/731f46c5/#6708):

I also googled my problem and found that. I didn’t even have the file they talk about, but I created one and tried what they said. It didn’t help. I got the same message.

Thanks anyway. I appreciate it.

I’m using GLUT instead at the moment because I don’t get errors, but I would really prefer to use GLFW if someone can help me fix this.
