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

Could NOT find LZO #378

Closed
shah-aadil opened this issue Jul 24, 2018 · 5 comments
Closed

Could NOT find LZO #378

shah-aadil opened this issue Jul 24, 2018 · 5 comments

Comments

@shah-aadil
Copy link

After cloning the git repository all dependencies like ZLIB, PNG, JPEG gets included except LZO and QCA despite providing all the required dependencies in the same directory and setting the PATH variable accordingly. I am using Windows 10 64bit and Visual Studio Community Edition. Following is the output log

CMake Error at cmake/modules/FindLZO.cmake:24 (message):
Could NOT find LZO
Call Stack (most recent call first):
CMakeLists.txt:128 (FIND_PACKAGE)

2
1

@tobydox
Copy link
Contributor

tobydox commented Jul 24, 2018

We don't support MSVC at the moment and I don't have any experiences with it. You probably will have to build LZO and QCA on your own with MSVC first so it can be detected properly. What compiler is used internally? MSVC or some kind of mingw gcc?

@shah-aadil
Copy link
Author

MSVC

1> C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\aadil\CMakeBuilds\252530f5-a734-023c-b907-fbe2667c3a28\install\x86-Debug" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX86/x86/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX86/x86/cl.exe" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\aadil\Source\Repos\veyon" returned with exit code: 1
CMake Error at cmake/modules/FindLZO.cmake:24 (message):

@shah-aadil
Copy link
Author

The Compiler

-DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX86/x86/cl.exe" -

@tobydox
Copy link
Contributor

tobydox commented Jul 26, 2018

Is the library liblzo2 library available in your system? You can also try to pass LZO_INCLUDE_DIR and LZO_LIBRARIES to cmake e.g. cmake ... -DLZO_INCLUDE_DIR=C:\lzo

@tobydox
Copy link
Contributor

tobydox commented Jul 31, 2018

Closing due to inactivity.

@tobydox tobydox closed this as completed Jul 31, 2018
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

2 participants