BitShares Forum

Main => Technical Support => Topic started by: monsterer on February 22, 2016, 10:04:23 am

Title: No such file or directory: "hardfork.d"
Post by: monsterer on February 22, 2016, 10:04:23 am
I'm getting a compile error trying to build from the head of bitshares-2.:

Code: [Select]
[ 56%] Built target cat-parts
Scanning dependencies of target build_hardfork_hpp
boost::filesystem::directory_iterator::construct: No such file or directory: "hardfork.d"
make[2]: *** [libraries/chain/CMakeFiles/build_hardfork_hpp] Error 1
make[1]: *** [libraries/chain/CMakeFiles/build_hardfork_hpp.dir/all] Error 2
make: *** [all] Error 2

The directory is there, so I'm not sure what its complaining about. I'm building Release.
Title: Re: No such file or directory: "hardfork.d"
Post by: cube on February 22, 2016, 11:23:01 am
Wipe the bitshares2 folder and reclone the repo.
Title: Re: No such file or directory: "hardfork.d"
Post by: monsterer on February 22, 2016, 12:50:25 pm
Wipe the bitshares2 folder and reclone the repo.

I have local changes to the API I needed which never got merged into the github, though... Any other advice I could try?
Title: Re: No such file or directory: "hardfork.d"
Post by: cube on February 22, 2016, 01:12:39 pm
Wipe the bitshares2 folder and reclone the repo.

I have local changes to the API I needed which never got merged into the github, though... Any other advice I could try?

Perhaps try:

This may save you from a wipe.

Edit: Try the fix by alt - https://github.com/bitshares/bitshares-2/pull/9/files
Title: Re: No such file or directory: "hardfork.d"
Post by: monsterer on February 23, 2016, 08:49:29 am
Thanks, that sorted it :)