Hi all i solved my problem OpenSSL Build on visual studio 2005 free edition
OpenSSL Build from source on VS 2005
create a file name windows.h and put to include path (not put on MingW path or in PATH envoirment from MINGW)
i put on C:\dev\externallib\include i have dir as LIB on envoirment bat at end
#ifndef _AKAWINDOWS_H
#define _AKAWINDOWS_H
#include <Windows.h>
#endif
#ifndef _AKAWINDOWS_H
#define _AKAWINDOWS_H
#include <Windows.h>
#endif
To copy to clipboard, switch view to plain text mode
quote from http://mumble.sourceforge.net/BuildingWindows
Download the latest OpenSSL source (you can find the latest source at:
http://www.openssl.org/source/ , get the one that is named " openssl-0.9.**.tar.gz". Unpack it to c:\dev\ (it will create a directory called openssl-x.y.z)
Download and install ActivePerl. You can find it here:
http://www.activestate.com/ chose free item.
Search a file called
MASMsetup.EXE result url must contains ww.microsoft.com/download and install this ms Assembler
Open a new shell visual studio (so that %PATH% includes ActivePerl).
cd \dev
cd openssl<Press tab and it will autocomplete to, as of this writing, [I]openssl-0.9.8h[/I]>
perl Configure VC-WIN32 --prefix=c:\\dev\\OpenSSL
ms\do_masm
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak install
cd \dev
cd openssl<Press tab and it will autocomplete to, as of this writing, [I]openssl-0.9.8h[/I]>
perl Configure VC-WIN32 --prefix=c:\\dev\\OpenSSL
ms\do_masm
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak install
To copy to clipboard, switch view to plain text mode
Create or change your visual studio start bat envoirment
vs.bat
@echo off
SET QTDIR=C:\dev\qt_4.4.1vs
SET MYSQL=c:\MySQL
SET OPENSSL=C:\dev\OpenSSL
CALL "C:\dev\vs\VC\vcvarsall.bat" x86
SET INCLUDE=C:\dev\ms_sdk\Include;%OPENSSL%\include;%OPENSSL%\include\openssl;C:\dev\externallib\include;%INCLUDE%
SET LIB=C:\dev\ms_sdk\Lib;%OPENSSL%\lib;C:\dev\externallib\lib;%LIB%
SET PATH=%QTDIR%\bin;%OPENSSL%\bin;%MYSQL%\lib\opt;C:\dev\cmake\bin;%PATH%
@echo off
SET QTDIR=C:\dev\qt_4.4.1vs
SET MYSQL=c:\MySQL
SET OPENSSL=C:\dev\OpenSSL
CALL "C:\dev\vs\VC\vcvarsall.bat" x86
SET INCLUDE=C:\dev\ms_sdk\Include;%OPENSSL%\include;%OPENSSL%\include\openssl;C:\dev\externallib\include;%INCLUDE%
SET LIB=C:\dev\ms_sdk\Lib;%OPENSSL%\lib;C:\dev\externallib\lib;%LIB%
SET PATH=%QTDIR%\bin;%OPENSSL%\bin;%MYSQL%\lib\opt;C:\dev\cmake\bin;%PATH%
To copy to clipboard, switch view to plain text mode
Open Visual Studio start console
cd C:\dev
call vs.bat cd $QDIR an build QT
configure -openssl *other option*
configure -openssl *other option*
To copy to clipboard, switch view to plain text mode
Bookmarks