Skip to content

Can not compile and link to Kagome scale implementation #11

@drskalman

Description

@drskalman

I'm trying to add a command line helper which links to and tests kagome scale implementation. See here:
https://github.com/w3f/polkadot-re-tests/blob/f--kagome-scale/test/testers/cpp-tester/CMakeLists.txt#L1

However, I get these errors when I try to compile. Could you resolve it?

-- Boost version: 1.69.0
-- Configuring done
-- Generating done
-- Build files have been written to: ./polkadot-re-tests/build
[  0%] Built target git_submodule_init
[ 10%] Building CXX object implementations/cpp/kagome/core/scale/CMakeFiles/scale.dir/basic_stream.cpp.o
In file included from ./polkadot-re-tests/implementations/cpp/kagome/core/common/buffer.hpp:13,
                 from ./polkadot-re-tests/implementations/cpp/kagome/core/scale/basic_stream.hpp:9,
                 from ./polkadot-re-tests/implementations/cpp/kagome/core/scale/basic_stream.cpp:6:
./polkadot-re-tests/implementations/cpp/kagome/core/common/result.hpp:46:21: error: expected constructor, destructor, or type conversion before ‘;’ token
   Value(T)->Value<T>;
                     ^
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions