Solved. SSL files were missing. I copied the "__openssl" implementations onto them. Program now builds with project file (it does not build with command line options). Thanks. PS. I still would love to build sans project file. I don't understand why it is required.