-
Notifications
You must be signed in to change notification settings - Fork 23
Building with Bitcoin 0.12.1 fails #4
Comments
Seems version.cpp doesn't exist in later versions. Any pointers to what would need to be modified in the builder I'd be grateful. |
If you just want to remove that file from the build, you could comment out this line: I have no idea if that will cause other problems though. |
Ah I see. Looking at the code I might have to add a lot of sources too, ill comment back on my findings. |
It may be easier to grab all sources in the source directories, and then remove the ones you don't want. We do that for the Tor plugin: |
Yeah that does sound easier, my assumption is to write aux_source_directory(${BITCOIN_ROOT_DIR}/src bitcoin_sources). I'll give that a try. EDIT: Just seen it's already in there just commented out: https://github.com/shadow/shadow-plugin-bitcoin/blob/master/src/CMakeLists.txt#L93 |
It does pick up the sources and starts to build them but, it cannot build key.cpp as 'secp256k1.h' doesn't exist. So, like the Bitcoin make file, the dependencies need building first and somehow linked to building the rest of the Bitcoin source. EDIT: My guess is each new source folder will be added tt the CMakeLists.txt file in the same way leveldb was originally. |
In the shadow-plugin-bitcoin directory after using the command make -j1 I get an error stating:-
Maybe this verison.cpp doesn't exist in Bitcoin 0.9.2 netmine edition and needs to be added to some cmake config file?
The text was updated successfully, but these errors were encountered: