LimeSuiteNG - Build for x64 without debug info

Hi,

How can I cmpile this package without debug info for x64 ?

The created limeGUI.exe requires MSVCP140D.dll

Thank you,

Zvi

Hi,

Do cmake -DBUILD_TYPE=Release ..

Hi,

Thank you very much for your fast reply.

I ran:

make -DBUILD_TYPE=Release

and got

CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TYPE


Can you please advise ?

Best regards,

Zvi

Hi,

I also tried:

cd LimeSuiteNG
cmake -B build
cmake --build build --config Release

According to README.md

But limeGUI.exe created depends on:

D:\git\LimeSuiteNG\build\bin>dumpbin /DEPENDENTS limeSPI.exe
Microsoft (R) COFF/PE Dumper Version 14.44.35211.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file limeSPI.exe

File Type: EXECUTABLE IMAGE

  Image has the following dependencies:

    limesuiteng.dll
    MSVCP140D.dll
    VCRUNTIME140D.dll
    VCRUNTIME140_1D.dll
    ucrtbased.dll
    KERNEL32.dll

Thank you,

Zvi

Hi,

I suspect the cause is that I did not install conda.

In my opinion, it should be much easier to build the sample code.

I think LimeSDR website should contain at least the mandatory dlls, lib ,h for V.S 2022, 2019, 2017 and 2015 - x86 and x64

Thank you,

Zvi

Conda is not a mandatory dependency that is preventing you from building it, but rather an optional environment in which LimeSuiteNG can be built. LimeSuiteNG can be built from source in regular Windows environment by just using VS2022 developer command prompt and manually installing all the necessary dependencies.

That said, the build instructions default to the use of conda environment, because LimeSuiteNG also provides a plug in for a popular software GNU Radio which is unfortunately only accessible through conda environment on Windows.

To make it easier to install all conda dependencies we have a guide here:

Regarding this problem:

I misspelled the cmake variable. The correct variable name is -DCMAKE_BUILD_TYPE=Release.

Your cmake call order seems incorrect (it looks like you’re not specifying the project source):

Try something like this:

cd LimeSuiteNG
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build
cmake --build .\build

Hi Arnius,

It works !

I highly appreciate your effort.

Best regards,

Zvi

1 Like