Overview
Features
Download
Documentation
Community
Add-Ons & Services

Net_OpenSSL Visual Studio 2010 compile code?

A general discussion forum.

Net_OpenSSL Visual Studio 2010 compile code?

Postby vladimirmir2012 » 15 Oct 2012, 13:35

Forgive for my bad English

openssl is collected successfully

paths to the INCLUDE and LIB environment variables
--------------------------------------------------
Additional Include Directories: .\include;..\Foundation\include;..\Net\include;..\Util\include;..\Crypto\include;
F:\ExtLibrary\openssl\include\;%(AdditionalIncludeDirectories)

Additional Library Directories: ..\lib;F:\ExtLibrary\openssl\out32dll;%(AdditionalLibraryDirectories)

------ Build started: Project: NetSSL_OpenSSL, Configuration: debug_shared Win32 ------
Build started 15.10.2012 10:49:41.
InitializeBuildStatus:
Touching "obj\debug_shared\NetSSL_OpenSSL.unsuccessfulbuild".
ClCompile:
X509Certificate.cpp
f:\extlibrary\openssl\include\openssl\opensslconf.h(1): error C2059: syntax error : '.'
f:\extlibrary\-- poco\crypto\include\poco\crypto\opensslinitializer.h(52): error C2143: syntax error : missing ';' before '{'

F:\ExtLibrary\openssl\include\openssl\opensslconf.h contain
---------------------------------------------------
../../crypto/opensslconf.h
vladimirmir2012
 
Posts: 5
Joined: 15 Oct 2012, 11:50

Re: Net_OpenSSL Visual Studio 2010 compile code?

Postby vladimirmir2012 » 15 Oct 2012, 15:31

excuse a question with Opensll it is already solved

at me was so:
---------------
Step01:
rem Firstly you should run Configure with platform VC-WIN32:
rem
perl Configure VC-WIN32 --prefix=F:\ExtLibrary\openssl\

Step02:
ms\do_nasm

Step03:
rem Then from the VC++ environment at a prompt do:
rem
cls
call "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
nmake -f ms\ntdll.mak

and correctly so:
------------------
Step01:
rem Firstly you should run Configure with platform VC-WIN32:
rem
perl Configure VC-WIN32 --prefix=F:\ExtLibrary\openssl\temp

Step02:
rem Next you need to build the Makefiles and optionally the assembly language files:
rem
rem - If you are using NASM then run:
rem
ms\do_nasm

Step03:
rem Then from the VC++ environment at a prompt do:
rem

cls

call "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"

nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak install
vladimirmir2012
 
Posts: 5
Joined: 15 Oct 2012, 11:50

Re: Net_OpenSSL Visual Studio 2010 compile code?

Postby alex » 15 Oct 2012, 16:47

Just to avoid confusion: this post (of which I can not make sense) is NOT a recommended way of building Poco::NetSSL_OpenSSL. As long as you have OpenSSL installed and include/lib directories in the path, it will build from either visual studio or buildwin.cmd command line.
alex
 
Posts: 1086
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Net_OpenSSL Visual Studio 2010 compile code?

Postby vladimirmir2012 » 15 Oct 2012, 16:52

sense of post that the wrong assembly of openssl led to errors of compilation at NetSSL_OpenSSL assembly
vladimirmir2012
 
Posts: 5
Joined: 15 Oct 2012, 11:50

Re: Net_OpenSSL Visual Studio 2010 compile code?

Postby vladimirmir2012 » 15 Oct 2012, 16:58

though we will notice both in the first and in the second case of openssl gathers
correctly. But the first option of assembly led to that in
include wasn't the correct *.h
vladimirmir2012
 
Posts: 5
Joined: 15 Oct 2012, 11:50

Re: Net_OpenSSL Visual Studio 2010 compile code?

Postby alex » 16 Oct 2012, 01:24

Why not just get the Shining Light OpenSSL that is recommended for use with POCO on Windows?

How to build SSL on Windows may be an interesting topic for an OpenSSL forum but it is not a POCO problem.
alex
 
Posts: 1086
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Net_OpenSSL Visual Studio 2010 compile code?

Postby vladimirmir2012 » 16 Oct 2012, 09:24

in the first message I asked for help in a solution of the problem of NetSSL_OpenSSL which have arisen at assembly.
But then solved this problem also apologized for that distracted attention of others.

... Shining Light OpenSSL that is recommended

From this as follows that it is only the correct way, though probably and faster...
vladimirmir2012
 
Posts: 5
Joined: 15 Oct 2012, 11:50


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron