Opened 13 years ago

Closed 5 years ago

#33545 closed defect (fixed)

bullet: The following variables are used in this project, but they are set to NOTFOUND: OPENCL_LIBRARY

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: leopard, tiger Cc: kurthindenburg (Kurt Hindenburg)
Port: bullet

Description

Installing bullet fails on Leopard:

:info:configure CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
:info:configure Please set them or make sure they are set and tested correctly in the CMake files:
:info:configure OPENCL_LIBRARY
:info:configure     linked by target "AppParticlesOCL_Apple" in directory /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_bullet/bullet/work/bullet-2.80-rev2527/Demos/ParticlesOpenCL/Apple
:info:configure     linked by target "AppOpenCLClothDemo_Apple" in directory /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_bullet/bullet/work/bullet-2.80-rev2527/Demos/OpenCLClothDemo/Apple
:info:configure     linked by target "AppVectorAdd_Apple" in directory /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_bullet/bullet/work/bullet-2.80-rev2527/Demos/VectorAdd_OpenCL/Apple
:info:configure 
:info:configure -- Configuring incomplete, errors occurred!

As I recall, OpenCL is a feature Apple added in Snow Leopard. If bullet requires OpenCL now, then it should fail more gracefully on Leopard and Tiger. Or if it can be made to compile without OpenCL, it should do that on Leopard and Tiger. The failures appear to only be in demos; perhaps those demos can simply be skipped on Leopard and Tiger.

Attachments (1)

main.log (18.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Demos have not been build since 2013-12-05

-DBUILD_DEMOS=OFF \

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Assuming fixed as per comment:2; please reopen if not.

Note: See TracTickets for help on using tickets.