in borland c++
i try to go from visual c++ 6 to borlan c++ 5 (it''s easier to do menu... with borland c++ builder) but i have error when i compiled : FATAL : BAD OBJECT FILE ''C:\BC5\LIB\winmm.lib'' near file offset 0
i think i have put all the opengl dll and glu.h.... in the right place
could you please tell me what to do?
thx
Is that the winmm.lib that originally came with BCB? If not, then it''s easily explainable why that''s happening
. If it is, then try implibing a new copy from your winmm.dll.



when i do implib.... with winmm.dll i obtain a 19k file and the one on my lib directory made 42.9k
when i compile with the new one, i obtain these errors :
Unresolved external ''_glutInitWindowPosition'' referenced from module essai.cpp
.
.
.
Unresolved.....
if it''s again because i don''t have the right winmm.lib file could you send the right at eddyhautot@swing.be ?
thx
if it''s not that could you say what''s wrong
when i compile with the new one, i obtain these errors :
Unresolved external ''_glutInitWindowPosition'' referenced from module essai.cpp
.
.
.
Unresolved.....
if it''s again because i don''t have the right winmm.lib file could you send the right at eddyhautot@swing.be ?
thx
if it''s not that could you say what''s wrong
glutInitWindowPosition is not in winmm dll/lib, I don''t know why you''re blaming it. Are you linking the GLUT libraries? I''m guessing no; If you are they''re out of date. I don''t have the correct winmm.lib for you, but I''m guessing the one you created with implib is completely functional.


i have tried with the same glut.h then for visual c++ 6 but it doesn''t work.
and i have linked glut.h
and i have linked glut.h
You don''t (and can''t) link glut.h. You need to link glut.lib (or whatever it happens to be named).


This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement