openvcash / vcash

A decentralized currency for the internet.
https://vcash.info
GNU Affero General Public License v3.0
36 stars 35 forks source link

Cmake progress #24

Open sum01 opened 7 years ago

sum01 commented 7 years ago

Issues

Windows is currently not building, issue tracker here.

Currently working/tested systems here.

  1. Arch Linux using my PKGBUILD
  2. OSX and Ubuntu

For anyone willing to test Cmake, here are the steps to test:

  1. Make full backups of your Vcash data folder, and/or move it so that a new data file gets created.
  2. Follow the build steps for your system in the wiki.
  3. Report if it worked or didn't in this issue tracker! Make sure to post your OS, its version, your dependency versions, and your full CMakeError.log (if you ran into any errors),
sum01 commented 6 years ago

I'm stuck on this specific issue and unsure of a fix. @xCoreDev Any ideas?

coin\src\db_env.cpp(205): error C2440: '<function-style-cast>': cannot convert from 'int' to 'DbEnv'
coin\src\db_env.cpp(205): note: No contruct or could take the source type, or contructor overload resolution was ambiguous
coin\src\db_env.cpp(205): error C2228: left of '.remove' must have class/struct/union

Issue is at this line.

This is with Berkeley DB v6.2, which I assume isn't compatible because of this. Problem is, before 6.2, to get 64-bit support you need to compile it yourself, which requires a very old Visual Studio version. It's a pain, while 6.2 has a 64-bit msi installer available, making it much more accessible.

sum01 commented 6 years ago

Just an update: The current thing holding back Windows from working is a linking error to Berkeley DB.

It seems something isn't linked correctly in Cmake, or maybe the source code, which is causing some errors when it tries to compile.

sum01 commented 6 years ago

Finally got Windows to compile, although there are linkage issues to Boost & Berkeley DB libs when trying to run the binary.