Results 1 to 2 of 2

Thread: Get ml.exe to build OpenSSL on VS 2005

  1. #1
    Join Date
    Sep 2008
    Posts
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Get ml.exe to build OpenSSL on VS 2005

    I grab the last qt source on git

    Qt Code:
    1. git clone --depth 1 git://labs.trolltech.com/qt-snapshot
    To copy to clipboard, switch view to plain text mode 
    Now i wand to build OpenSSL source to qt-snapshot
    How get ml.exe ? i dont have on my free Visual Studio 2005

    Qt Code:
    1. Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
    2. Copyright (C) Microsoft Corporation. All rights reserved.
    3.  
    4. Building OpenSSL
    5. perl util/copy.pl ".\crypto\buildinf.h" "tmp32dll\buildinf.h"
    6. Copying: ./crypto/buildinf.h to tmp32dll/buildinf.h
    7. ml /Cp /coff /c /Cx /Focrypto\cpu_win32.obj .\crypto\cpu_win32.asm
    8. "ml" non è riconosciuto come comando interno o esterno,
    9. un programma eseguibile o un file batch.
    10. NMAKE : fatal error U1077: 'ml' : return code '0x1'
    11. Stop.
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Sep 2008
    Posts
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Get ml.exe to build OpenSSL on VS 2005

    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


    Qt Code:
    1. #ifndef _AKAWINDOWS_H
    2. #define _AKAWINDOWS_H
    3. #include <Windows.h>
    4. #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).

    Qt Code:
    1. cd \dev
    2. cd openssl<Press tab and it will autocomplete to, as of this writing, [I]openssl-0.9.8h[/I]>
    3. perl Configure VC-WIN32 --prefix=c:\\dev\\OpenSSL
    4. ms\do_masm
    5. nmake -f ms\ntdll.mak
    6. 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
    Qt Code:
    1. @echo off
    2. SET QTDIR=C:\dev\qt_4.4.1vs
    3. SET MYSQL=c:\MySQL
    4. SET OPENSSL=C:\dev\OpenSSL
    5. CALL "C:\dev\vs\VC\vcvarsall.bat" x86
    6. SET INCLUDE=C:\dev\ms_sdk\Include;%OPENSSL%\include;%OPENSSL%\include\openssl;C:\dev\externallib\include;%INCLUDE%
    7. SET LIB=C:\dev\ms_sdk\Lib;%OPENSSL%\lib;C:\dev\externallib\lib;%LIB%
    8. 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
    Qt Code:
    1. configure -openssl *other option*
    To copy to clipboard, switch view to plain text mode 

  3. The following user says thank you to captchaq for this useful post:

    jacek (27th September 2008)

Similar Threads

  1. build code using vs 2005
    By arunredi in forum Installation and Deployment
    Replies: 3
    Last Post: 14th May 2008, 19:42
  2. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  3. Can i use visual studio 2005 to build Qt applications?
    By coder1985 in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2007, 18:23
  4. Build error on mac Platform::WaitMouseMoved
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2007, 14:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.