Now, in the Radiance source tree ~/src/radiance/ray, I first type. I delete ~/src/radiance/ray/src/px/tiff and replace it by a symlink to my libtiff (in ~/src/radiance/ray/src/px I type ln -s ~/src/tiff-4.3.0 tiff). I also get the latest libtiff sources from (I tool 4.3.0) and uncompress them to ~/src/tiff-4.3.0. I download the Radiance head release and the library files to ~/src/radiance and uncompress them there, giving me a source tree ~/src/radiance/ray. I keep self-compiled software (that is not updated by some package manager) in my home directory, e.g. Now the compiler environment should be set up properly. I recommend to log out and back in at this point, to ensure that xorg is functional and the CPATH is set. This tells the compiler to look for include files not in the (unix-default) /usr tree, but in the software development kit (basically this allows to build for different environments if more than one SDF is installed). I then added the following line to my ~/.zprofile:Įxport CPATH= xcrun -show-sdk-path/usr/include:$CPATH To get X11 and OpenGL support, I installed macports, and within macports the packages xorg, libGLU, and mesa (I hope I did not miss a package here). To get decent support for the new processor, I am relying on Apple’s clang rather than gcc here, so I first installed the Developer Tools with their Command Line Tools. Some of this is generic, but it may be helpful for others who have not built Radiance from source before. Finally, I managed to get my Macbook that had been waiting since early January and can share my first experiences with Radiance on this platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |