InteractiveComputerGraphics / PositionBasedDynamics

PositionBasedDynamics is a library for the physically-based simulation of rigid bodies, deformable solids and fluids.
MIT License
1.93k stars 365 forks source link

Clothdemo compilation failed #78

Closed wil1996 closed 2 years ago

wil1996 commented 5 years ago

Dear author: In the compilation process of clothdemo, "CMake Error at CMakeLists.txt:52 (VIS_SOURCE_GROUPS): Unknown CMake command "VIS_SOURCE_GROUPS"." always appears. How do you solve it?

wil1996 commented 5 years ago

I compile it under windows. Cmake and vs versions follow your requirements.

janbender commented 5 years ago

This is strange, the command is defined in Demos/Visualization/CMakeLists.txt which is included in Demos/CMakeLists.txt. Which CMake version do you use?

wil1996 commented 5 years ago

Dear author, I completely comply with your requirements: Windows 10 64-bit, CMake 3.9.5, Visual Studio 2017, but this error has always existed, this command is indeed defined.

------------------ 原始邮件 ------------------ 发件人: "Jan Bender"notifications@github.com; 发送时间: 2019年10月22日(星期二) 下午4:29 收件人: "InteractiveComputerGraphics/PositionBasedDynamics"PositionBasedDynamics@noreply.github.com; 抄送: "晴天"75104172@qq.com;"Author"author@noreply.github.com; 主题: Re: [InteractiveComputerGraphics/PositionBasedDynamics] Clothdemocompilation failed (#78)

This is strange, the command is defined in Demos/Visualization/CMakeLists.txt which is included in Demos/CMakeLists.txt. Which CMake version do you use?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

janbender commented 5 years ago

Can you add a message command to Demos/Visualization/CMakeLists.txt to see if the file is included correctly.

Jason-Hayes commented 3 years ago

Dear author: In the compilation process of all demos,i have the same error——"CMake Error at CMakeLists.txt: (VIS_SOURCE_GROUPS): Unknown CMake command "VIS_SOURCE_GROUPS".My compiling environment is Ubuntu 16.04 LTS, CMakeg 3.12.3, GCC 6.3.0.I don't know how to deal with this problem.

janbender commented 3 years ago

The command is defined in Demos/Visualization/CMakeLists.txt. Can you check if this file is correctly loaded by adding a message command to the file?