Hot answers tagged

1 vote

How to match object value from fc::variant which is std::pair type in contract unit test via Boost test?

You can pass variant_object to initialize the other variant_object. For example, auto fa_obj = mvo()("first", "apk")("second", 1); REQUIRE_MATCHING_OBJECT(notary, mvo()("account", "ins")("...
conr2d's user avatar
  • 2,320
1 vote

How to include boost when building using eosio.cdt?

Your CMakeLists file in the base folder should not be changed. But rather in the src folder CMakeList you should add the following line: target_include_directories( mycontract PUBLIC "$ENV{BOOST_DIR}/...
Phillip Hamnett - EOS42's user avatar
1 vote

Building EOS on Ubuntu Linux Subsystem

./eosio_build.sh # no sudo for build sudo ./eosio_install.sh I had similar problems with WSL 16.04. Using the 18.04 image brought up better results. Note that I finally did not manage to stabilize ...
Lazaridis's user avatar
1 vote

Building EOS on Ubuntu Linux Subsystem

Used Thomas5577's instructions but created an opt directory in /usr/ and then a boost directory within opt. Then I installed the boost library, but I changed the bootstrap setup command to ./bootstrap....
Cameron Blumenthal's user avatar
1 vote

Building EOS on Ubuntu Linux Subsystem

You will probably be better off installing boot manually. That is what I had to do https://www.boost.org/: Install the required packages sudo apt-get update sudo apt-get install build-essential g++ ...
Thomas55777's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible