InteractiveComputerGraphics / SPlisHSPlasH

SPlisHSPlasH is an open-source library for the physically-based simulation of fluids.

Home Page:https://splishsplash.physics-simulation.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows CMake issue

stapperfend opened this issue · comments

There is an error making SPlisHSPlasH following the windows installation instruction:

CMAKE error

I think this is an issue with never CMAKE versions. I am using CMake 3.29.0 as I want to use a current Visual Studio version.
In the (GitHub Documentation) it is mentioned to use CMake 3.18.3 and (readthedocs ) suggests to go for CMake 3.13

This does not look like a CMake problem. It seems that CMake does not find the file AVX_math.h. Can you please take a look in the folder SPlisHSPlasH\Utilities if the file exists?

image

Yes we double checked that the file exists. The subdirectory "Utilities" is also added in the main CMakeLists.txt file.

That's weird. If Desktop/SPlisHSPlasH is your root directory, the file should be in Desktop/SPlisHSPlasH/SPlisHSPlasH/Utilities and not in Desktop/SPlisHSPlasH/Utilities. How did you install the source files?

I created a folder with the name "SPlisHSPlasH" and then cloned with git: git clone https://github.com/InteractiveComputerGraphics/SPlisHSPlasH.git into that folder.

As I then had Desktop/SPlisHSPlasH/SPlisHSPlasH (and in there another SPlisHSPlasH), I copied the cloned SPlisHSPlasH onto the Desktop to remove the useless inbetween folder. I think that messed with the folder structure, as there were so many folders with the name SPlisHSPlasH.

I cloned to another folder on my harddrive and CMake'd it there and works without any problems now. Thanks!