Add a symbolic link to the include dir of the Boost lib in the osm2pov base dir: osm2pov$ ln -s /boost_1_45_0/boost boostĪdaptions to the source code Changes in Makefile.Please note that this replaces the standard g++ compiler V4.2.1 provided by Apple.ĭownload the free Boost C++ library for Mac OS X. Then replace the smybolic link to /usr/bin/g++ by sudo ln -sf /opt/local/bin/g++-mp-4.4 g++. Save the old g++ link by running sudo mv /usr/bin/g++ /usr/bin/g++.old This may take some time (on my 3 year-old iMac about 30 minutes). If you have installed Darwin, you just need to get gcc44 by running sudo port install gcc44. You need gcc/g++ V4.3 or higher in order to support the most recent C++ standard (compiler flag -std=c++0x), but Apple uses 4.2.1 by default. This solution is quick and dirty it is neither the only nor the best way to accomplish this improvements are appreciated. This page shows how I get osm2pov to work on my Mac (Mac OS X 10.6.5, Snow Leopard). OSM2POV is an converter that produces 3D files for PovRay basing upon OSM geodatas. The 3D Development team are currently working on unifying 3D related tags.įor first results see Simple 3D Buildings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |