I've successfully gotten lensfun to build on OS X. The problem is with the link step. I'm not a makefile expert so I haven't tried to change the build rules, but I can tell you what I did to build the dylib.
Once you compile and have all of the object files, I was able to get a MacOS dynamic library by doing the following: g++ -dynamiclib -arch i386 -filelist objfiles.txt -lm -lstdc++.6 -lglib-2.0 -o liblensfun.dylib This works. I'm compiling on an Intel Mac. Because I was doing this from the command line, I put the list of object files in objfiles.txt. Also, please note that Mac OS X does not come standard with glib-2.0 so you'll need to install that. (I compiled it from source.) Once you have the sylib, you can link the example programs like this: g++ -o example -lglib-2.0 -llensfun example.o Hopefully someone smarter than me can update the makefiles so compiling on OS X can be more automatic. :-) Paul ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Lensfun-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lensfun-users
