Re: [Plib-users] Compiling issues on MacOS X 10.5
Brought to you by:
sjbaker
From: Fay J. F Dr C. U. 46 S. <joh...@eg...> - 2008-07-16 17:13:47
|
While that might make it work in the present case, it is most emphatically NOT a good general fix. Most platforms do define "uint" somewhere else, and taking out the "#ifdef" would break PLIB on those platforms. A more general solution would be to find where MacOS X 10.5.4 defines "uint" and include that definition. John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Stuart McDonald Sent: Wednesday, July 16, 2008 12:09 PM To: PLIB Users Subject: Re: [Plib-users] Compiling issues on MacOS X 10.5 Never tried this, but as you can see from the error the problem is it doesn't know what a uint is. It's typedef'ed to unsigned int in the ssgLoadFLT source, but with an ifdef UL_WIN32. Just take out the #ifdef will make it work for you. No idea if that's a proper fix i.e. would work on every platform. Cheers, Stuart. Fabio Ruini wrote: > Dear all, > > I'm trying to compile PLIB on my MacPro (MacOS X 10.5.4), but > unfortunately I can't use DarwinPorts since the firewall installed by > my institution is continuously blocking it. I've therefore tried to > compile the libraries manually, but after the configuration I gets an > error during the compiling phase which starts in this way: > > ssgLoadFLT.cxx: In function 'void _swab32(const void*, void*, int)': > ssgLoadFLT.cxx:185: error: 'uint' was not declared in this scope > ssgLoadFLT.cxx:185: error: 's' was not declared in this scope > ssgLoadFLT.cxx:185: error: expected primary-expression before ')' token > ssgLoadFLT.cxx:185: error: expected `;' before 'src' > ssgLoadFLT.cxx:186: error: 'd' was not declared in this scope > ssgLoadFLT.cxx:186: error: expected primary-expression before ')' token > ssgLoadFLT.cxx:186: error: expected `;' before 'dst' > ssgLoadFLT.cxx:188: error: expected `;' before 't' > [...] > > It looks like - even if the ./configure didn't return me any error - > I'm missing some dependencies. Anyway, I can't understand which one. > Perhaps some of you has already experienced a similar issue trying to > compile PLIB on Mac and therefore you could provide me with some > findings? > > I've also tried to write to Darrell Walisser, as suggested into the > README.mac file included into the sources package, but the address > published there looks to be not used anymore. > > Many many thanks, > Fabio > ------------------------------------------------------------------------ - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > > > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |