# Install custom library in CopperSpice

**URL:** https://discourse.cmake.org/t/install-custom-library-in-copperspice/13880
**Category:** Usage
**Created:** [April 3, 2025, 9:45pm UTC](https://discourse.cmake.org/t/install-custom-library-in-copperspice/13880 "2025-04-03T21:45:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Navadvipa-Chandra-d](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/n/f0a364/32.png) [@Navadvipa-Chandra-d](https://discourse.cmake.org/u/Navadvipa-Chandra-d)
#### Post date: [April 3, 2025, 9:45pm UTC](https://discourse.cmake.org/t/install-custom-library-in-copperspice/13880/1 "2025-04-03T21:45:19Z")

</div>

Hello, All!

My name is Navadvipa Chandra das.  
My language is Russian. I use translate dot yandex dot ru.  
Windows 11 64-bit operating system  
CMake - cmake-3.31.4-windows-x86\_64

There is a CopperSpice library. I’m adding my NNPrabhupada library there.

> **[GitHub - Navadvipa-Chandra-das/copperspice: Set of cross platform C++ libraries (Core, Gui,...](https://github.com/Navadvipa-Chandra-das/copperspice)**
>
> Set of cross platform C++ libraries (Core, Gui, Network, Multimedia, SQL, Vulkan, etc)

File  
D:\CopperSpice\Source\src\Prabhupada\CMakeLists.txt  
I created a similar file  
D:\CopperSpice\Source\src\svg\CMakeLists.txt

Fixed one line in the file  
D:\CopperSpice\Source\CMakeLists.txt

set(CS\_OPTIONAL\_COMPONENTS Gui Multimedia Network OpenGL Sql Svg Vulkan WebKit XmlPatterns Prabhupada)

I install CopperSpice  
CopperSpice configured to run on: Windows 64 bit, Release Mode  
CopperSpice will be built in: D:/CopperSpice/Release/Build  
CopperSpice will be installed in: D:/CopperSpice/Release/Lib

But I get a problem.  
This file has been installed

D:\CopperSpice\Release\Lib\lib\CsSvg2.0.lib

But there is no expected file

D:\CopperSpice\Release\Lib\lib\NNPrabhupada2.0.lib

There is a file

D:\CopperSpice\Release\Lib\bin\CsSvg2.0.dll

And there is also a file

D:\CopperSpice\Release\Lib\bin\NNPrabhupada2.0.dll

It’s interesting to see the file

D:\CopperSpice\Release\Build.ninja.log

| 5014794 | 5015398 | 7654173158967963 | bin/NNPrabhupada2.0.dll | 685a78933e47740e |
| --- | --- | --- | --- | --- |
| 5014794 | 5015398 | 7654173158967963 | lib/NNPrabhupada2.0.lib | 685a78933e47740e |

| 349 | 481 | 7654173196598801 | bin/NNPrabhupada2.0.dll | 685a78933e47740e |
| --- | --- | --- | --- | --- |
| 349 | 481 | 7654173196598801 | lib/NNPrabhupada2.0.lib | 685a78933e47740e |

| 2979143 | 2981933 | 7654152819714939 | bin/CsSvg2.0.dll | 88f12371688ec042 |
| --- | --- | --- | --- | --- |
| 2979143 | 2981933 | 7654152819714939 | lib/CsSvg2.0.lib | 88f12371688ec042 |

That is, the library name “NNPrabhupada2.0.lib” occurs twice, and the library name “CsSvg2.0.lib” occurs only once.

I want to get the NNPrabhupada2.0.lib file, but it’s not there. Riddle.

Would anyone be not lazy to solve such a problem? I’ve reached a dead end. I do not know how to debug CMake. I don’t really know CMake, I just do it according to the pattern.

Of course, installing CopperSpice itself is also not an easy task.  
You can read a bit about how I installed CopperSpice here.:

> **[navadvipa-chandra-das/Словарь Шрилы Прабхупады на CopperSpice: Санскритский...](https://gitflic.ru/project/navadvipa-chandra-das/slovar-shrily-prabhupady-na-copperspice)**
>
> Санскритский словарь Шрилы Прабхупады на CopperSpice

The description is in Russian, but now the translation of the text is a bit of a problem.

With great hope for help, Navadvipa Chandra das.

---

<div class="post-metadata">

### Author: ![Navadvipa-Chandra-d](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/n/f0a364/32.png) [@Navadvipa-Chandra-d](https://discourse.cmake.org/u/Navadvipa-Chandra-d)
#### Post date: [April 28, 2025, 10:18am UTC](https://discourse.cmake.org/t/install-custom-library-in-copperspice/13880/2 "2025-04-28T10:18:03Z")

</div>

Hello, All!

It turned out that the problem was not CMake, but that the classes and functions C++ were not specifically cross-linked to be placed in the library. Since the library eventually had 0 classes and 0 functions, the lib file was not created either.

With regards, Navadvipa Chandra das.
