Re: [Plib-users] link plib into code on mac osx
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-10-22 22:33:35
|
Bernhard Windisch wrote: > I have written a glut-application and compiled it on Mac OS X NOT using > the project development tools but the g++ compiler. > Now, I decided to design the user interface using pui but even just > including the headerfile without actually using anything from the > library creates real problems because the (standard) g++-3.3 compiler > doesn't recognise the plib files as C++ and is therefore not able to > compile. If it isn't able to compile your application with the PLIB headers in them then the problem is not how it recognises PLIB's files - but rather a matter of what language it thinks the application is written in...header fines have to match the language of the file they are included into. My guess is that your application is in C and that's what the problem is. Could you send us the EXACT output from the compiler? ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |