Talk:GenPass

From The iPhone Wiki
Revision as of 20:50, 6 April 2009 by James (talk | contribs) (Too many justs.)
Jump to: navigation, search

Compilation notes

Windows

If anyone is trying to compile this using MinGW on Windows, you'll run into some linking problems with libcrypto. After searching around for awhile, I found that the problem can be solved by adding -lgdi32 to your linker flags.

I just needed the -lgdi32 What crap that a crypto lib linked to a graphics library

I don't know, it's screwy. I think a lot of OpenSSL is actually hacky on Windows (after reading the posts with corrections for this problem, it seems like their talking about some kind of pre-alpha program that barely works on anything besides Linux). Also, I see that compiling works with just gdi, so I removed it from my initial suggestion. Must have had ws2_32 first or something..

Mac compiling

it seems to fail hard when attempting to compile it on mac, even with modded openssl for sha256 stuff. i am trying to get it working though, already defeated many errors by changing some code and using Apple's CommonCrypto instead of OpenSSL

Linux compiling

What do you expect? Works fine with just -lcrypto.