Having managed to set up my working development environment on the Mac, I am trying to compile my plugin. I have managed to compile Stellarium except for the last step:
make macosx_bundle This doesent work and complains about there not being a rule: *** No rule to make target `CMakefiles/install.dir/all', needed by `CMakeFiles/macosx_bundle.dir/all'. Stop. Since I have already completed the 'make' and 'make install' I though it was Ok to proceed to compile the plugin anyway. However I am getting: Error: Undefined interface Usually this has indicated that the STELROOT varaible is not set. However I have set it and confirmed it is present when opening a terminal session. I initially tried to set it fist by using the usual Unix method: export STELROOT=/User/johnc/Prog/stellarium This didn't work. So after a biit of Googling I found that on a Mac one needs to edit the /etc/launch.conf. I did this and re-booted. Upon opening a terminal I checked to see whether STELROOT was present. It was. I did a make clean and a cmake ../.. and finally a make but still I get the same error. I noticed a reference to environment.plist as well but I'm not sure what the format of this file is as I can't find any examples. As I understand it however, launch.conf is supposed to add the enironment variable in 'all contexts' so I expected this to work. By the way, where does 'make install' place the files on a Mac? I was expecting them in /usr/local/stellarium but I can't find them anywhere? I should also point out that I'm not building Universal binaries as the long .configure line did not work on my Mac. In the end I had to compile libiconv and gettext with a default './configure'. I also had to change from the carbon to the cocoa flavour of QT as upon running the make script for Stellarium I got an error complaining that I was trying to compile a 64 bit application with a 32 bit version of QT. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
