Newbie question: Compiling OpenSSL under VC++ 6.0
Please forgive this newbie question. I am trying to compile OpenSSL 0.9.5a (if I should upgrade to the newest let me know) under VC++ 6.0. I am new to both. I have read through all the documentation and looked at the mailing lists but I have not been able to figure everything out so far. I was able to : perl Configure VC-WIN32 and ms\do_nasm but the next part stopped me dead: (from the docs): *** Then from the VC++ environment at a prompt do: nmake -f ms\ntdll.mak *** It is that first line that has me most confused. What is "the VC++ environment at a prompt"? I have just been trying to do this at a MSDOS prompt. At first it didnt know what nmake was, so I added SET PATH=%PATH%;C:\progra~1\micros~2\vc98\bin to my path. The it was complaining that it couldnt find "mspdb60.dll", so I added this to my path: SET PATH=%PATH%;C:\progra~1\micros~2\common\msdev98\bin Now it is complaining that it doesnt know where stdio.h is: *** Building OpenSSL cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DBN_ASM -DMD 5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /GD -D_WINDLL -D_DLL -c .\crypto\cryp tlib.c Command line warning D4002 : ignoring unknown option '/Ob2' cryptlib.c .\crypto\cryptlib.c(59) : fatal error C1083: Cannot open include file: 'stdio.h' : No such file or directory NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\BIN\cl.exe' : return code '0x2' Stop. * Does anyone know how to build this under VC++? Any help would be greatly appreciated! Paul Baranowski [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Newbie question: Compiling OpenSSL under VC++ 6.0
When you install vc, you forget to run VCVARS32.BAT, so nmake can not find some enviroment variable like INCLUDE, if you really a newbie about VC, I suggest you install VC again, and let vc run the batch file, else, you can run it every time you start dos prompt or set them to system variable manully. Bye, Sincerely yours tjww. __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Newbie question: Compiling OpenSSL under VC++ 6.0
In your VC installation, you should be able to found a batch file under C:\progra~1\micros~2\vc98\bin, it is named "vcvars32.bat", just run the batch file under your DOS prompt, it will setup all the environment for you. -- (~._.~) Öì Ⱥ Ó¢ (Qun-Ying) (65) 874-6743 ( O ) TrustCopy Pte Ltd / Kent Ridge Digital Labs ()~*~() 21 Heng Mui Keng Terrace, Singapore 119613 (_)-(_)[EMAIL PROTECTED] * [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]