Fixed Ogre For mac osx
Jul 13th, 2010 by song

[code]
CPack: Create package using PackageMaker
CPack: Install projectsCPack: - Install project: OGRE
CPack: Compress package
CPack Error: Bad file extension specified: . Currently only .rtfd, .rtf, .html, and .txt files allowed.
CPack Error: Problem copying the resource files
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: OGREmake: *** [package_buildpart_0] Error 1Command /bin/sh failed with exit code 2[/code]

The error message comes from the CPack PackageMakerGenerator regarding these
settings:

SET(CPACK_RESOURCE_FILE_LICENSE “/hg/ogre/COPYING.txt”)
SET(CPACK_RESOURCE_FILE_README “/Applications/CMake 2.8-2.app/Contents/share/cmake-2.8/Templates/CPack.GenericDescription.txt”)
SET(CPACK_RESOURCE_FILE_WELCOME “/Applications/CMake 2.8-2.app/Contents/share/cmake-2.8/Templates/CPack.GenericWelcome.txt”)
SET(CPACK_SET_DESTDIR “OFF”)

Try naming your COPYING file with a txt extension: “COPYING.txt” (Or…
configure COPYING into your binary tree as “COPYING.txt” and then reference
that as your CPACK_RESOURCE_FILE_LICENSE setting.)

These files get displayed in the installer generated by the PackageMaker
generator. CPack is trying to ensure that the installer will know how to
display the file inside its UI. That’s why the limitation on the types of
the files used for this setting with the PackageMaker generator.

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »