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

How to compile the example in windows? #14

Open
Kaju-Bubanja opened this issue Jul 13, 2020 · 0 comments
Open

How to compile the example in windows? #14

Kaju-Bubanja opened this issue Jul 13, 2020 · 0 comments

Comments

@Kaju-Bubanja
Copy link

I am trying to compile the example on windows using clion and vs19, which according to windows should work. vs15, vs17 and vs19 all have compatible libs. Now I have following CMakeLists.txt:

cmake_minimum_required(VERSION 2.8.9)
project (zcam)

include_directories(include)

add_executable(ssp_test example/libssp_test.cpp)

target_link_libraries(ssp_test lib/win_x64_vs2017/libsspd)

But I get following error:

LINK : fatal error LNK1104: cannot open file 'lib\win_x64_vs2017\libsspd.lib'
NMAKE : fatal error U1077: '"C:\Program Files\JetBrains\CLion 2020.1.2\bin\cmake\win\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.

Could you provide an example CMakeLists.txt or some instructions how to build the example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant