Bohr1005 / xcrypto

quant,trading system,crypto,async
MIT License
212 stars 57 forks source link

Support windows platform compilation #3

Closed saiksy closed 2 weeks ago

Bohr1005 commented 2 weeks ago

After adding some compilation options, indeed it is possible to compile on Windows. However, compiling on Windows can be slightly cumbersome as it requires the installation of OpenSSL and the setup of some environment variables, such as OPENSSL_LIBS_DIR and OPENSSL_DIR. It would be even better if there were a compilation script like build.rs.

saiksy commented 2 weeks ago

After adding some compilation options, indeed it is possible to compile on Windows. However, compiling on Windows can be slightly cumbersome as it requires the installation of OpenSSL and the setup of some environment variables, such as OPENSSL_LIBS_DIR and OPENSSL_DIR. It would be even better if there were a compilation script like build.rs.

yes, if openssl-sys compile failed,we could set openssl vendor feature