These are chat archives for highfidelity/hifi

26th
May 2017
Philip Rosedale
@PhilipRosedale
May 26 2017 16:07
@jmo7 welcome!
Jeff Moyes
@jmo7
May 26 2017 19:48
Thanks for the welcome!
Jeff Moyes
@jmo7
May 26 2017 19:58

All, I've got everything built from my fork on a linx machine (mint linux 1.8) BUT.... I'm trying to build it on win 10 now and I keep running into a problem between cmake and openssl. I know this isn't a high fidelity issue but I've been searching and searching online and tried everything I've found and nothing seems to work.
So I'm wondering if any of you have seen this and, if so, what you did about it.
When I run cmake I get the following error:
-- Could NOT find NSIGHT (missing: NSIGHT_INCLUDE_DIRS NSIGHT_LIBRARIES)
CMake Error at C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindOpenSSL.cmake:217 (find_package_handle_standard_args)
libraries/networking/CMakeLists.txt:15 (find_package)

I've set the OPENSSL_ROOT_DIR, but it makes no difference whatsoever. Argg!

Any thoughts would be very helpful!

Anthony Thibault
@hyperlogic
May 26 2017 20:04
Hey, this might be obvious, but it's worth a shot. Have you tried restarting the shell used to run cmake after you changed the environment variable?
the NSIGHT bit is ok, that is the NVIDIA nsight profiler, it's ok if it is not found
Jeff Moyes
@jmo7
May 26 2017 21:15
yep, I did restart. (Thanks, it often is the simple things we forget).
I even read about how there was a change in openssl in terms of the location of somethings and that cmake had to update for it, so I've been trying different combinations (cmake 1.8 with openssl 1.1.0f; cmake 1.8.1 with openssl 1.1.0f; and cmake 1.7 with openssl 1.0.2k). But nothing
I've tried setting the OPENSSL_ROOT_DIR both as an environment variable as well as passing it as cmake variable on the command line using the -D flag.
I think next I'll try the "rip out my hair" approach ;)
Midnight
@MidnightRift
May 26 2017 21:21
Have you checked out hte Win build guide ? https://github.com/highfidelity/hifi/blob/master/BUILD_WIN.md
Anthony Thibault
@hyperlogic
May 26 2017 22:05
Hmm, for what it's worth, I'm using the 64-bit version of OpenSSL 1.0.2e, and cmake 3.7.0-rc3