ClothSimulation icon indicating copy to clipboard operation
ClothSimulation copied to clipboard

How do I build this after compiling this

Open aidankeighron opened this issue 4 years ago • 5 comments

I have compiled it with CMake and I have the .sln file for VS but what do I do now.

aidankeighron avatar Sep 08 '21 02:09 aidankeighron

Building is just another term for the entire process of preprocessing, compiling and linking, I replied to an almost identical issue yesterday on the same problem.

Again;

Compiling and 'Building'

For anyone having issues with the compilation, to compile just navigate to the main directory of 'ClothSimulation' e.g. for me its ned@debian:~/ClothSimulation$ Here open a terminal and first make sure you have cmake, build-essential and gdb installed, if not you can just run;

sudo apt-get install cmake build-essential gdb

Now in the main directory run cmake . I'm assuming this is the part you needed, Next run make Then you can run the script with sudo ./Cloth

Nedcotter avatar Sep 08 '21 04:09 Nedcotter

Is there a way to do it on windows

aidankeighron avatar Sep 08 '21 11:09 aidankeighron

For Windows you can either use the built in compiling tool for c++ in VS or you can download the Cmake GUI tool from here: https://cmake.org/download/ Once downloaded the process is rather self explanatory, select the path you want to compile then the location of where you want the build saved to then just compile the program. If you have any issues feel free to ask, forgive me im replying on a phone rn.

Nedcotter avatar Sep 08 '21 18:09 Nedcotter

I've got "error in configuration process, project files may not be valid" error

ShaneWooosh avatar Sep 10 '21 08:09 ShaneWooosh

Are you on Windows or Linux? if Windows are you compiling using cmake or with Visual Studio?

Nedcotter avatar Sep 10 '21 09:09 Nedcotter