i reported the same problem under Windows (cmake/msvc) on this list recently.

Why is an INSTALL target needed? I'm not installing Blender system wide.

Can't we simply copy those files using something like below?

ADD_CUSTOM_COMMAND(     TARGET AppOpenCLClothDemo  POST_BUILD
                                                COMMAND ${CMAKE_COMMAND} ARGS 
-E copy_if_different
${BULLET_PHYSICS_SOURCE_DIR}/GLUT32.DLL
${CMAKE_CURRENT_BINARY_DIR}                                             )

At least instead of crashing, Blender should detect the missing files
and print a meaningful error in the console (did you build/run the
INSTALL target?)

Thanks,
Erwin


On Tuesday, 29 March 2011, Tom M <[email protected]> wrote:
> Ok, figured it out with Cambos help, i updated the documentation at the wiki.
>
> Need to switch the 'Target' to 'install'.  Previously that wasn't necessary.
>
> I don't feel quite so dumb since a lot of other folks had the same issue.
>
> LetterRip
>
> On Tue, Mar 29, 2011 at 8:48 PM, Benjamin Tolputt
> <[email protected]> wrote:
>> On 30/03/2011 12:40 PM, Tom M wrote:
>>> anyone using the generated xcode files from cmake to build blender?
>>>
>>> I haven't been able to build for quite some weeks (it builds but
>>> crashes on startup), was asumming it was a mistake on my part, but
>>> confirmed by others.
>>
>> I've tried multiple times now, having updated both the lib directory  &
>> code to latest from subversion. I tried with previous CMake settings and
>> then deleted them and the build directory completely to try fresh (I do
>> "out of source" builds).
>>
>> None of them work. This did not used to be a problem in any way, as I
>> could always (using existing options or fresh checkout) simply run CMake
>> then build in XCode, then run the resulting binary. Cannot speak for
>> others, but it is pretty bad that I cannot even get the RC to build for
>> testing :(
>>
>> --
>> Regards,
>>
>> Benjamin Tolputt
>> Analyst Programmer
>>
>>
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
>
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to