Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

ERROR Building Windows Agent

Hello!

I'm triying to build windows agent from Visual Studio 2015. I downloaded agent code from: https://github.com/OCSInventory-NG/WindowsAgent, I download all the libraries too (same version as you have in OCS_Make_Required_Libs.bat file) and I used the same Perl as you. The ZipArchive library is builded correctly.

I can execute OCS_Make_Required_Libs.bat file without errors. After that, I open the solution "OCSInventory.sln" and select project "Agent" and try to build as you told; but I get those fatal errors:

sysinfo\ocscrypto.cpp(17): fatal error C1083: Cannot open include file: 'openssl/sha.h': No such file or directory
ocsinventory front\flate.cpp(15): fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
ocsinventory front\ocsutils.cpp(18): fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory
comhttp\httpcrypt.h(20): fatal error C1083: Cannot open include file: 'openssl/aes.h': No such file or directory
c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\afx.h(24): fatal error C1189: #error:  Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

I don't know what's wrong. Could you help me please?

P.S: In Release folder I have:

  298.496    libcurl.dll      
1.207.296    libeay32.dll     
  564.736    netsnmp.dll      
  273.408    ssleay32.dll     
  354.304    ZipArchive.dll   
   75.264    zlib1.dll       

in Agent for Windows development by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...