Salut a tous et desole si ce post n'a pas une valeur ajoutee tonitruante...
Voila je debute dans la programmation Open GL et j'ai un bon bouquin et puis j'ai aussi telecharge plein d'exemples, mais quand j'en viens a compiler (sur Borland), Borland me met a chaque fois:
"Error: Error: 'C:\BC5\LIB\GLUT32.LIB' contains invalid OMF record, type 0x21"
Je n'ai pas une grande experience des erreurs generees par du contenu Open GL, et l'aide ne m'a pas avance enormement (elle me dit de recreer le module objet...?). Bref si quelqu'un sait ce que je doit faire, ca serait sympa...
Oups désolé, je peux pas grand chose là . Ca m'étonnerait beaucoup que l'erreur vienne de la lib en tout cas... Au pire essaye de trouver la lib sur le net.
__________________________
[col]( [/col][col]B[/col]e [col]S[/col]i[col]d[/col]e [col])[/col]
En v.o
This error usually occurs when you try to link with a LIB file or an OBJ file that is not compatible with Borland's OMF file format. This typically happens when dealing with libraries from third party vendors. Often times, the third party vendor will supply you with a LIB file that is in Microsoft's COFF format. The Microsoft COFF format is incompatible with Borland's OMF format.
The best solution is to obtain Borland compatible files from the third party vendor. Unfortunately, many third party vendors will simply ignore you. If this happens to you, your choices are limited.
If the LIB file is an import library for a DLL, you can create a Borland compatible import library using Borland's IMPLIB tool. All you need to do is pass IMPLIB the name of the DLL. IMPLIB will generate a Borland compatible import library. Link with that library instead of the one from the vendor. Another option is to use Borland's COFF2OMF tool on the Microsoft import library. I prefer to use IMPLIB if the DLL is available. For more details on how to call an MSVC DLL from BCB, see the article at http://www.bcbdev.com/articles/vcdll.htm.
__________________________
http://www.melancolik.net
Ok... thank you very much...
I found additional information on troubleshooting with Opengl using Borland on: http://www.gantless.com/borland.html
It solved my problems...
Pour les non bilingues: il y a un bon site (en anglais, mais c'est pas tres dur, au pire vous pouvez demander de l'aide) sur le site: http://www.gantless.com/borland.html
Ca a regle mon probleme de compilation avec Borland, qui n'utilise pas les memes .lib que VC...