![](https://secure.gravatar.com/avatar/b467405418358aa61e4fa1f7c6873df8.jpg?s=120&d=mm&r=g)
Hi there,
I am trying to build the Inkscape 0.45 for Pather (Mac OS X 10.3.9), but during the building, the following error has occured:
object-edit.cpp: In function `void sp_spiral_outer_set(SPItem*, const NR::Point&, const NR::Point&, unsigned int)': object-edit.cpp:921: error: `isfinite' undeclared in namespace `std' make[2]: *** [object-edit.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
What to do now? I am using gcc 3.3, but I can install the gcc 4.3 by Darwin Ports. Would it resolve my problem?
![](https://secure.gravatar.com/avatar/616706c4d6f7bdf68b30893f860cbb2b.jpg?s=120&d=mm&r=g)
This is the feature of the system that has compiled Inkscape 0.45 for OS X:
OS X version: 10.4.8 Fink: Package manager version: 0.24.23 Distribution version: 0.8.1.rsync powerpc 10.4 tree
GCC versions: gcc-4.0 g++-4.0
Configure options: --enable-osxapp --disable-static --enable-shared
Stripped: trueand
I suppose that you must use gcc 4.0 or 4.3!
For more info: http://inkscape.modevia.com/macosx-snap/Inkscape_20061213-info.txt http://inkscape.modevia.com/
Federico
----- Original Message ----- From: "Areozol" <areozol@...1663...> To: "inkscape-devel" inkscape-devel@lists.sourceforge.net Sent: Tuesday, March 06, 2007 4:33 PM Subject: [Inkscape-devel] Error during building the Inkscape 0.45.
Hi there,
I am trying to build the Inkscape 0.45 for Pather (Mac OS X 10.3.9), but during the building, the following error has occured:
object-edit.cpp: In function `void sp_spiral_outer_set(SPItem*, const NR::Point&, const NR::Point&, unsigned int)': object-edit.cpp:921: error: `isfinite' undeclared in namespace `std' make[2]: *** [object-edit.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
What to do now? I am using gcc 3.3, but I can install the gcc 4.3 by Darwin Ports. Would it resolve my problem?
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
![](https://secure.gravatar.com/avatar/320e8bbc7c005391034c741242c10eb8.jpg?s=120&d=mm&r=g)
On 2007-March-06 , at 16:33 , Areozol wrote:
I am trying to build the Inkscape 0.45 for Pather (Mac OS X 10.3.9), but during the building, the following error has occured:
object-edit.cpp: In function `void sp_spiral_outer_set(SPItem*, const NR::Point&, const NR::Point&, unsigned int)': object-edit.cpp:921: error: `isfinite' undeclared in namespace `std' make[2]: *** [object-edit.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
What to do now? I am using gcc 3.3, but I can install the gcc 4.3 by Darwin Ports. Would it resolve my problem?
just some precisions. this errors occurs with the tarball for 0.45, it's not tested with latest svn (the objective is to build a 0.45 package for panther). so if someone has committed a fix for this to trunk, it would be great to merge it in the 0.45 branch too. areozol: we'll try to keep gcc3.3 because you need to build inkscape with the same gcc version that you used to build its dependencies. if you install gcc 4.3, you will need to recompile all depencies with gcc 3.3.
cheers,
JiHO --- http://jo.irisson.free.fr/
![](https://secure.gravatar.com/avatar/b467405418358aa61e4fa1f7c6873df8.jpg?s=120&d=mm&r=g)
On 2007-03-06, at 17:30, jiho wrote:
just some precisions. this errors occurs with the tarball for 0.45, it's not tested with latest svn (the objective is to build a 0.45 package for panther). so if someone has committed a fix for this to trunk, it would be great to merge it in the 0.45 branch too. areozol: we'll try to keep gcc3.3 because you need to build inkscape with the same gcc version that you used to build its dependencies. if you install gcc 4.3, you will need to recompile all depencies with gcc 3.3.
So all, what i need to do, is to just wait for the fix?
![](https://secure.gravatar.com/avatar/3081a54f25df80a9757dacac0795a416.jpg?s=120&d=mm&r=g)
On Tue, 6 Mar 2007, Areozol wrote:
On 2007-03-06, at 17:30, jiho wrote:
just some precisions. this errors occurs with the tarball for 0.45, it's not tested with latest svn (the objective is to build a 0.45 package for panther). so if someone has committed a fix for this to trunk, it would be great to merge it in the 0.45 branch too. areozol: we'll try to keep gcc3.3 because you need to build inkscape with the same gcc version that you used to build its dependencies. if you install gcc 4.3, you will need to recompile all depencies with gcc 3.3.
So all, what i need to do, is to just wait for the fix?
I think that with gcc 3.3 on Mac you had to use: #define isNaN(_a) (__isnan(_a)) #define isFinite(_a) (__isfinite(_a)) This is judging by the state of isnan.h before I started committing Tiger changes to it.
Could you please see if it compiles with: #define isFinite(_a) (__isfinite(_a))
If it does I will add the following case to src/isnan.h for SVN and for the release branch: #if defined(__APPLE__) && __GNUC__ == 3 # define isFinite(_a) (__isfinite(_a)) // MacOSX definition gcc 3.x
Cheers, Michael
participants (4)
-
Areozol
-
Federico
-
jiho
-
Michael Wybrow