Hi,

So I went to look at the Makefile2.txt and did the following:

1. Uncommented:
# best way to get to APPLE?
IF(APPLE)
 SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra")
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra -Wno-unused-para\
meter")

 # uncomment one of the following, depending on minimum OS level you want
 #SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.5")
 #SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk/")
 SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.6")
 SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.6.sdk/")

2. Commented:
IF(APPLE)
ADD_CUSTOM_TARGET(macosx_bundle bash until/macosx_bundle.sh 
${CMAKE_INSTALL_PREFIX} ${PROJECT_SOURCE_DIR} DEPENDS install WORKING DIRECTORY 
${PROJECT_SOURCE}
ENDIF()

Then I went back and ran: make macosx_bundle

Got the following output:
-- Configuring done
-- Generating done
-- Build files have been written to: 
/Users/jiayu/Development/stellarium/builds/macosx
make[2]: *** No rule to make target `CMakeFiles/install.dir/all', needed by 
`CMakeFiles/macosx_bundle.dir/all'.  Stop.
make[1]: *** [CMakeFiles/macosx_bundle.dir/rule] Error 2
make: *** [macosx_bundle] Error 2

When I went back to look at the Makefile2, I couldn't find the section on 
Macosx bundling. It was a longer Makefile2 with headers like "Directory level 
rules" and "Target rules".

Do I need to reinstall Stellarium?

Thanks again


________________________________
 
 Sent: Sunday, 15 April 2012, 7:11
Subject: Re: [Stellarium-pubdevel] Trouble with make macosx_bundle
 

This is an issue with the cmake files.  Edit the CMakeFiles/Makefile2 and 
remove the dependency on that step. When I get back to my computer, I'll email 
the line number. 

On Apr 14, 2012, at 22:46, Kristen Aw <[email protected]> wrote:


Hi
>
>
>I'm building Stellarium on OS Lion, and cmake, make and make install ran 
>successfully, but when I ran make macosx_bundle, this error occured: 
>
>
>make macosx_bundle
>make[2]: *** No rule to make target `CMakeFiles/install.dir/all', needed by 
>`CMakeFiles/macosx_bundle.dir/all'.  Stop.
>make[1]: *** [CMakeFiles/macosx_bundle.dir/rule] Error 2
>make: *** [macosx_bundle] Error 2
>
>
>I'm not sure how to proceed with those error instructions... There was this 
>convo (http://stellarium.org/wiki/index.php/Talk:Compilation_on_Macosx) but 
>it's about FreeType2 and svn I think.
>
>
>Thanks
------------------------------------------------------------------------------
>For Developers, A Lot Can Happen In A Second.
>Boundary is the first to Know...and Tell You.
>Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
>Stellarium-pubdevel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to