PositionBasedDynamics icon indicating copy to clipboard operation
PositionBasedDynamics copied to clipboard

Clothdemo compilation failed

Open wil1996 opened this issue 4 years ago • 6 comments

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 avatar Oct 21 '19 08:10 wil1996

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

wil1996 avatar Oct 21 '19 08:10 wil1996

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?

janbender avatar Oct 22 '19 08:10 janbender

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"[email protected]; 发送时间: 2019年10月22日(星期二) 下午4:29 收件人: "InteractiveComputerGraphics/PositionBasedDynamics"[email protected]; 抄送: "晴天"[email protected];"Author"[email protected]; 主题: 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.

wil1996 avatar Oct 22 '19 08:10 wil1996

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

janbender avatar Oct 22 '19 08:10 janbender

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.

Jason-Hayes avatar Jan 07 '21 02:01 Jason-Hayes

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?

janbender avatar Jan 11 '21 13:01 janbender