Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake issue and How to create DLT installer package #612

Open
oblesh6 opened this issue Jan 8, 2025 · 2 comments
Open

Cmake issue and How to create DLT installer package #612

oblesh6 opened this issue Jan 8, 2025 · 2 comments

Comments

@oblesh6
Copy link

oblesh6 commented Jan 8, 2025

Hello,

I have followed the instructions mentioned in the file \dlt-viewer-2.25.0\scripts\windows\build.md

I have successfully able to build the source code

But when I execute "cmake install . --prefix C:\DltViewerSDK", i'm getting an error as shown below

cmake install . --prefix D:\DltViewerSDK
CMake Warning:
Ignoring extra path from command line:

"D:\DltViewerSDK"

CMake Error: Unknown argument --prefix
CMake Error: Run 'cmake --help' for all supported options.

what is the actual issue here? Also I want to create Installer package.

Please let know any solutions

Thanks :)

@alexmucde
Copy link
Collaborator

Please look at the bat files for Windows to build the DLT Viewer.
The Installer package generation we currently do not use, perhaps they are not up to date.

@vifactor
Copy link
Collaborator

@oblesh6 there is either a misprint in the docs or that command was written for a specific build system (not the same as you use). I am not sure if you really want to install the binaries you built yourself, but if you do, please try the following

cmake --install <build_dir> --prefix <your_prefix_path>

Alternatively, you should be able to control install prefix by passing -DCMAKE_INSTALL_PREFIX=[..] at configuration step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants