Page 2 of 2

Re: Install CopperSpice 1.8 from source in Windows

Posted: Wed Dec 07 2022 6:02 pm
by barbara
In file C:\PrgCS\KitchenSink\Source\CMakeLists.txt I add set( CopperSpice_DIR "C:/CopperSpice/Release/Lib" ). Since CMake can't find the CopperSpice package! The most important directory for Copper Spice is just the folder - C:/CopperSpice/Release/Lib
You have made a few mistakes in setting up your CMake files for KitchenSink. When building the KitchenSink program CMake needs to know where the CopperSpice files are located. Using the set() command you specified is not the preferred CMake procedure. Instead, you should be using the build script for KS as explained in our CS Overview documentation.

https://www.copperspice.com/docs/cs_overview/demo-ks.html

Code: Select all

cmake -G "Ninja" \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_PREFIX_PATH=[path_to_copperspice]  \
    -DCMAKE_INSTALL_PREFIX=../deploy  ..
As per our documentation, the CMake PREFIX PATH is the path to the CopperSpice CMake files. This is more reliable than using the set() you tried. The INSTALL PREFIX is the path where KS will be installed.

Barbara

Re: Install CopperSpice 1.8 from source in Windows

Posted: Fri Dec 09 2022 4:35 pm
by Navadvipa Chandra d
Thank You for reply. I did it.
Thank You!
Hare Krishna!
With best regards, Navadvipa Chandra das.