Re: Trouble compiling OpenPegasus with OpenSSL - Compilation error.
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <1783183068-1297863566-cardhu_decombobulator_blackberry.rim.net-1567240626-@b4.c3.bise7.blackberry> |
Hi, When I use OpenPegsus in a demo client that I built, I'm being asked to include pegcommon.dll and pegclient.dll. Is there a way where I could build only static libs and not have to include the DLLs in my client? If I can do this, my application can be used just by the EXE without requiring any additional files. Does OpenPegasus support multi threading? During build, I was told to use the option "MT" instead of "MD". How can I do that? Can you, kindly, advise me on how to build static libraries only and use "MT" option to build multi-threaded support? Regards, Srujan Chennupati Sent from BlackBerry® on Airtel -----Original Message----- From: [email protected] Date: Mon, 14 Feb 2011 13:42:47 To: <[email protected]> Reply-To: [email protected] Subject: Fw: Trouble compiling OpenPegasus with OpenSSL - Compilation error. Hi, The first attempt to send the mail failed. So, re sending the same. Kindly help. Regards, Srujan Chennupati Sent from BlackBerry® on Airtel -----Original Message----- From: [email protected] Date: Mon, 14 Feb 2011 13:30:50 To: <[email protected]> Reply-To: [email protected] Subject: Trouble compiling OpenPegasus with OpenSSL - Compilation error. Hi, I'm a student interested in working on WBEM and in the process found that OpenPegasus is the right tool for building WBEM clients. But, while compiling the OpenPegasus tool with SSL, I'm being shown the following error. SSLContext.cpp(275) : error C2664: 'sk_value' : cannot convert parameter 1 from 'stack_st_X509_REVOKED *' to 'const _STACK *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast The environment is: OS: Windows 2K3 R2 Build: VS 2008 Libs: openssl-1.0.0c (also tried with openssl-1.0.0d) Environment variables set: OPENSSL_BIN OPENSSL_HOME Path (contains both pegasus and openssl source folders) PEGASUS_DEBUG=true PEGASUS_HAS_SSL=1 PEGASUS_HOME PEGASUS_ROOT=%PEGASUS_HOME% PEGASUS_ROOT=WIN32_IX86_MSVC Can you, kindly, help me resolve this problem? Regards, Srujan Chennupati Sent from BlackBerry® on Airtel