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.

记录一冷
Jul 2nd, 2010 by song

两个经济学的学生走在路上,看到路边有一坨屎,A对B说:你把这坨屎吃了,我就给你5000万。为了钱B就毫不犹豫的吃了这坨屎,A爽快给了B一张5000万的支票。
  
  他们继续走着,但是心里却都有了一个疙瘩。A心想,他吃一坨屎,我就给了他5000万,真不值。B心里想,我吃了一坨屎,才拿到5000万,真不值。
  突然,在路边又出现一坨屎。于是B报复A说道:你把这坨屎吃了,我就还你5000万。见到弥补损失的机会,于是A也毫不犹豫的吃了屎。
  但是两个人回过头来想想,就觉得不对,什么都没得到,却一人吃了一坨屎。于是把这件事告诉了他们的经济学导师。
  导师激动的喊道:天哪!知道吗?你们刚才做了什么!
  两个学生一脸后悔地说:我们一人吃了一坨屎。
  导师立即打断他们的话:不!一眨眼功夫,你们就创造了一个亿的GDP,奇迹啊!这个经验推广全国,实现小康还会远吗!
  不久,这位经济学教授顺利进入国家院士之列。

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