changing vc++ lib file to borland compatible lib
im trying to set up glut so i can use it but i ran in to problems when i was trying to convert vc++ lib to borland lib.
the readme told me i should do
IMPLIB glut32.lib glut32.dll
or if that crashes
IMPLIB glut32.lib glut32.def
but both runs fine but with error message saying either
unknown file type or error opening file
i tried to run implib in diff folders but im not sure where i should run it from
ive got the dll copied to my system32 folder, and lib already copied to the proper lib folder(and glut32.def file came with the download and i still have it in my download folder)
how do i convert the lib?!?
..I still dont get the difference between c and c++...
http://ucsub.colorado.edu/~macklem/borland.html
http://www.ece.rutgers.edu/~kdana/teaching/ece474/handouts/opengl.html
Mmm... Google mmm....
Anyways - _I think_ (don''t have time to check right now), the second link allows you to download the converted libs. I''ve seen them on the net somewheres, that''s for certain anyhow. If you''re really desperate, I can upload the file someplace or mail it to you or something. Let me know.
Crispy
http://www.ece.rutgers.edu/~kdana/teaching/ece474/handouts/opengl.html
Mmm... Google mmm....
Anyways - _I think_ (don''t have time to check right now), the second link allows you to download the converted libs. I''ve seen them on the net somewheres, that''s for certain anyhow. If you''re really desperate, I can upload the file someplace or mail it to you or something. Let me know.
Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
I''m not entirely clear on what you are doing. You don''t need anything from Visual C++ in order to create a library in borland. All you need is the .dll, which you obviously have. I suggest copying the .dll into your borland bin directory and running:
implib glut32.lib glut32.dll
If you have the VC++ library there already, and it is marked READ-ONLY, you will get a error opening file message (I tried it). You can make an import library out of any .dll using the implib.
implib glut32.lib glut32.dll
If you have the VC++ library there already, and it is marked READ-ONLY, you will get a error opening file message (I tried it). You can make an import library out of any .dll using the implib.
hm...
i found out something, even with the error it still creates the lib file........
it seems that the new lib is hte exact same size as teh vc++ version of lib
pardon my laziness but could you tell me if thats the file i want(the borland version of lib
i found out something, even with the error it still creates the lib file........
it seems that the new lib is hte exact same size as teh vc++ version of lib
pardon my laziness but could you tell me if thats the file i want(the borland version of lib
..I still dont get the difference between c and c++...
Sounds to me like that lib file IS the VC++ lib file. Delete it or move it somewhere out of the way, and try the implib command again. I suspect that you will get a new, different size file, with no error. If all else fails, I can send you me glut32.lib fie for Borland, since that is exactly what I use.
thanks for your help!! turns out that due to previous incorrect attempts to make a borland lib out of the dll, the dll had shrunk from 200k+ file to a mere 1k file,,, i restored the original and ran the command again and i get a nice little 14k borland lib(as opposed to the 29k vc++ lib)
..I still dont get the difference between c and c++...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement