bursl...@gmail.com
unread,Jul 25, 2017, 2:21:30 PM7/25/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to automatak-dnp3
Hello,
Having some issues building on windows. I can build openDNP3 on linux no problem.
I cant seem to get the OPENSSL to be found on windows? I have no idea.
Any help would be appreciated,
Gary C
C:\>cd build
C:\build>dir
Volume in drive C has no label.
Volume Serial Number is AC2C-3B07
Directory of C:\build
07/25/2017 12:41 PM <DIR> .
07/25/2017 12:41 PM <DIR> ..
07/25/2017 07:03 AM 18,038 ALL_BUILD.vcxproj
07/25/2017 06:27 AM 268 ALL_BUILD.vcxproj.filters
07/25/2017 07:08 AM <DIR> asiodnp3.dir
07/25/2017 07:03 AM 31,807 asiodnp3.vcxproj
07/25/2017 06:27 AM 9,150 asiodnp3.vcxproj.filters
07/25/2017 07:07 AM <DIR> asiopal.dir
07/25/2017 07:03 AM 29,714 asiopal.vcxproj
07/25/2017 06:27 AM 6,423 asiopal.vcxproj.filters
07/25/2017 08:02 AM 18,006 CMakeCache.txt
07/25/2017 11:37 AM <DIR> CMakeFiles
07/25/2017 06:27 AM 5,400 cmake_install.cmake
07/25/2017 07:07 AM <DIR> Debug
07/25/2017 07:03 AM 22,231 format.vcxproj
07/25/2017 06:27 AM 634 format.vcxproj.filters
07/25/2017 07:03 AM 11,481 INSTALL.vcxproj
07/25/2017 06:27 AM 499 INSTALL.vcxproj.filters
07/25/2017 07:07 AM <DIR> opendnp3.dir
07/25/2017 06:27 AM 9,391 opendnp3.sln
07/25/2017 07:03 AM 65,340 opendnp3.vcxproj
07/25/2017 06:27 AM 62,628 opendnp3.vcxproj.filters
07/25/2017 07:07 AM <DIR> openpal.dir
07/25/2017 07:03 AM 31,958 openpal.vcxproj
07/25/2017 06:27 AM 10,059 openpal.vcxproj.filters
07/25/2017 11:37 AM <DIR> Release
07/25/2017 07:07 AM <DIR> Win32
07/25/2017 07:03 AM 16,328 ZERO_CHECK.vcxproj
07/25/2017 06:27 AM 500 ZERO_CHECK.vcxproj.filters
19 File(s) 349,855 bytes
10 Dir(s) 94,985,187,328 bytes free
C:\build>cmake ..\dnp3-2.0.x -DFULL=ON
CMake build is: Release
enabling all optional components
ASIO has NOT been checked out as a git submodule...
ASIO_HOME defined in cache: C:\asio-1.10.8\include
CMake Error at C:/cmake-3.9.0-win32-x86/share/cmake-3.9/Modules/FindPackageHandl
eStandardArgs.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_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/cmake-3.9.0-win32-x86/share/cmake-3.9/Modules/FindPackageHandleStandardArgs
.cmake:377 (_FPHSA_FAILURE_MESSAGE)
C:/cmake-3.9.0-win32-x86/share/cmake-3.9/Modules/FindOpenSSL.cmake:388 (find_p
ackage_handle_standard_args)
CMakeLists.txt:77 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/build/CMakeFiles/CMakeOutput.log".
C:\build>cmake ..\dnp3-2.0.x -DFULL=ON -DOPENSSL_CRYPTO_LIBRARY="C:\openssl\src\
openssl\0.9.8h\openssl-0.9.8h"
CMake build is: Release
enabling all optional components
ASIO has NOT been checked out as a git submodule...
ASIO_HOME defined in cache: C:\asio-1.10.8\include
CMake Error at C:/cmake-3.9.0-win32-x86/share/cmake-3.9/Modules/FindPackageHandl
eStandardArgs.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_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/cmake-3.9.0-win32-x86/share/cmake-3.9/Modules/FindPackageHandleStandardArgs
.cmake:377 (_FPHSA_FAILURE_MESSAGE)
C:/cmake-3.9.0-win32-x86/share/cmake-3.9/Modules/FindOpenSSL.cmake:388 (find_p
ackage_handle_standard_args)
CMakeLists.txt:77 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/build/CMakeFiles/CMakeOutput.log".
C:\build>cmake ..\dnp3-2.0.x -DFULL=ON -DOPENSSL_CRYPTO_LIBRARY="C:\openssl\src\
openssl\0.9.8h\openssl-0.9.8h"