[c/c++] Clientless (Work in Progress)

Posts 91–105 of 131 · Page 7 of 9
Quote Originally Posted by Extain View Post
Would this be capable of claiming rewards from the login calender?
It would. That is something that has crossed my mind. Setting up some kind of "daily login" system that auto logs in and collects the rewards for all my mules and whatnot.


edit: i created a new branch on my github that claims daily rewards for whatever accounts you put in the settings file. Woot!
I'm having trouble compiling OpenSSL (from the setups that Kushala Daora posted 4 weeks ago) with Microsoft Visual Studio Command Prompt Cross Tools. I downloaded ActivePerl and I have the sources but when I try to compile I run into errors such as perl is not an internal or external command... or the file Configure was not found, etc.

Any help is greatly appreciated.
Quote Originally Posted by iliketrainz View Post
I'm having trouble compiling OpenSSL (from the setups that Kushala Daora posted 4 weeks ago) with Microsoft Visual Studio Command Prompt Cross Tools. I downloaded ActivePerl and I have the sources but when I try to compile I run into errors such as perl is not an internal or external command... or the file Configure was not found, etc.

Any help is greatly appreciated.
I just replied to your PM. You dont need to compile OpenSSL just download the from here: https://slproweb.com/products/Win32OpenSSL.html

The version i original downloaded from there (1.0.2j) has been updated to 1.0.2k. I just downloaded and tested and that version works with the project just fine. Curl is the only library you are going to have to compile, and you can find the tutorial i wrote on how to do that posted in this thread.
Quote Originally Posted by toddddd View Post
I just replied to your PM. You dont need to compile OpenSSL just download the from here: https://slproweb.com/products/Win32OpenSSL.html

The version i original downloaded from there (1.0.2j) has been updated to 1.0.2k. I just downloaded and tested and that version works with the project just fine. Curl is the only library you are going to have to compile, and you can find the tutorial i wrote on how to do that posted in this thread.
I did compile cURL and added the include, lib, and .lib. As for OpenSSL, I downloaded the 32-bit and 64-bit installers and installed them in my C:\ drive. As for the includes, do include both include and lib folders from both 32-bit and 64-bit?
Quote Originally Posted by iliketrainz View Post
I did compile cURL and added the include, lib, and .lib. As for OpenSSL, I downloaded the 32-bit and 64-bit installers and installed them in my C:\ drive. As for the includes, do include both include and lib folders from both 32-bit and 64-bit?
You dont want the 64bit only 32bit. Then set the BuildMacros.prop up so the openssl includes are like this:
Code:
<OPENSSL_INCLUDE>C:\OpenSSL-Win32-1.0.2k\include</OPENSSL_INCLUDE>
<OPENSSL_LIB>C:\OpenSSL-Win32-1.0.2k\lib\VC</OPENSSL_LIB>
Except make sure those paths point to where you installed openssl.
Thanks @todddd. I have one error left while building and that is error code LNK1104 cannot open file 'libeay32MDd.lib'. I searched on Google and tried a lot but didn't seem to solve the issue. Did anyone else have the same issue upon building? If so, how did you solve it?
Thats one of the openssl includes. Make sure the openssl lib path is pointing to the VC directory like i showed in the post above. You dont want to point to just the \lib, do \lib\VC. So:
Code:
<OPENSSL_LIB>[PATH_TO_OPENSSL]\lib\VC</OPENSSL_LIB>
Quote Originally Posted by toddddd View Post
Thats one of the openssl includes. Make sure the openssl lib path is pointing to the VC directory like i showed in the post above. You dont want to point to just the \lib, do \lib\VC. So:
Code:
<OPENSSL_LIB>[PATH_TO_OPENSSL]\lib\VC</OPENSSL_LIB>
I did that but the error still pops up. Maybe I should try readding it as an include/lib?
Quote Originally Posted by iliketrainz View Post
I did that but the error still pops up. Maybe I should try readding it as an include/lib?
No that wouldnt make any difference, if you put it in the BuildMacros.props then its in the projects include/lib config. You renamed the file from "BuildMacros.props-sample" to just "BuildMacros.props" too, right? I would then go and open up the path in your file explorer to make sure its a valid path again, but also so you can see if "libeay32MDd.lib" exists or not. If you dont have it, which wouldnt make any sense if you installed openssl i linked too, you can always change the path to be just the \lib folder and change "libeay32MDd.lib" to just "libeay32.lib". Although i have no idea if that will work or not as i havent had to do it.
Quote Originally Posted by toddddd View Post
No that wouldnt make any difference, if you put it in the BuildMacros.props then its in the projects include/lib config. You renamed the file from "BuildMacros.props-sample" to just "BuildMacros.props" too, right? I would then go and open up the path in your file explorer to make sure its a valid path again, but also so you can see if "libeay32MDd.lib" exists or not. If you dont have it, which wouldnt make any sense if you installed openssl i linked too, you can always change the path to be just the \lib folder and change "libeay32MDd.lib" to just "libeay32.lib". Although i have no idea if that will work or not as i havent had to do it.
Fixed it. Turns out it was looking in the wrong library directory (amd64) instead of (lib\VC). One more hiccup left and I'm good to go!

EDIT: Ran into 7 errors. LNK 2019 unresolved external symbol _imp_curl_easy_escape... under file clientless.obj. Any idea why this is caused?
Quote Originally Posted by iliketrainz View Post
Fixed it. Turns out it was looking in the wrong library directory (amd64) instead of (lib\VC). One more hiccup left and I'm good to go!

EDIT: Ran into 7 errors. LNK 2019 unresolved external symbol _imp_curl_easy_escape... under file clientless.obj. Any idea why this is caused?
Change to x86 compile mode.
Quote Originally Posted by Kushala Daora View Post
Change to x86 compile mode.
Already did that and got the same errors. I'm trying to build under release mode x86 right now.

EDIT: Upon building under release mode x86, 7 LNK 2001 unresolved external symbol _imp_curl_free under file clientless.obj
Quote Originally Posted by iliketrainz View Post
Already did that and got the same errors. I'm trying to build under release mode x86 right now.

EDIT: Upon building under release mode x86, 7 LNK 2001 unresolved external symbol _imp_curl_free under file clientless.obj
Its telling you that your version of curl is wrong, or something in the way you set it up isnt right. That is a curl function and it cant find it, which means curl isnt installed correctly. Did you follow the steps i posted in this thread for downloading and compiling curl with visual studios? Did you build curl in 64bit instead of 32bit? Something related to your curl install is the problem.
Quote Originally Posted by toddddd View Post
Its telling you that your version of curl is wrong, or something in the way you set it up isnt right. That is a curl function and it cant find it, which means curl isnt installed correctly. Did you follow the steps i posted in this thread for downloading and compiling curl with visual studios? Did you build curl in 64bit instead of 32bit? Something related to your curl install is the problem.
I followed the steps you said in downloading cURL and compiling it but when I tried like how you did I got a bunch of fatal errors and my lib and include folders were empty (probably because my system is running a 64-bit OS). So I built it for 64-bit by adding something (I forgot) and 64 after it. That compiled successfully and gave me both 32-bit and 64-bit files. However, the 32-bit build folders were still empty while the 64-bit folders contained the build files. Then I added directories like you said in both the .props files and the project properties.
Quote Originally Posted by iliketrainz View Post
I followed the steps you said in downloading cURL and compiling it but when I tried like how you did I got a bunch of fatal errors and my lib and include folders were empty (probably because my system is running a 64-bit OS). So I built it for 64-bit by adding something (I forgot) and 64 after it. That compiled successfully and gave me both 32-bit and 64-bit files. However, the 32-bit build folders were still empty while the 64-bit folders contained the build files. Then I added directories like you said in both the .props files and the project properties.
I have a 64 bit os too, 64 supports 32 and can do everything a 32 bit system can. A 32 bit system is the one that is limited and cant do 64...

So that is your problem, you cant use a 64bit library in a 32bit project. You need to recompile curl to 32bit.

edit: also if you look at step 3 from the tutorial i wrote on building curl (http://www.mpgh.net/forum/showthread...1#post12488746) it says to read the "BUILD WINDOWS.txt" file. If the directions i gave didnt work, open that folder and follow those directions exactly. I promise you the directions work if followed.
Posts 91–105 of 131 · Page 7 of 9

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?