commschamp / comms Goto Github PK
View Code? Open in Web Editor NEWC++(11) library to implement custom binary communication protocols
Home Page: https://commschamp.github.io
License: Mozilla Public License 2.0
C++(11) library to implement custom binary communication protocols
Home Page: https://commschamp.github.io
License: Mozilla Public License 2.0
Hello!
When I compile my project with comms as a submodule, this error occurs:
~/comms/install/include/comms/protocol/MsgSizeLayer.h: In member function ‘comms::ErrorStatus comms::protocol::MsgSizeLayer<TField, TNextLayer, TOptions>::writeInternalNoLength(comms::protocol::MsgSizeLayer<TField, TNextLayer, TOptions>::Field&, const TMsg&, TIter&, std::size_t, TWriter&&) const’:
~/comms/install/include/comms/protocol/MsgSizeLayer.h:467:21: error: ‘isMessageBase’ is not a member of ‘comms’
Conent of comms/protocol/MsgSizeLayer.h
:
My CMakeList.txt section:
include(${PROJECT_SOURCE_DIR}/library/comms/cmake/CC_CommsExternal.cmake)
set(cc_comms_install_dir ${PROJECT_BINARY_DIR}/comms/install)
cc_comms_build_during_config(
SRC_DIR ${PROJECT_SOURCE_DIR}/library/comms
CMAKE_ARGS
TAG v5.0.1
-DCMAKE_INSTALL_PREFIX=${cc_comms_install_dir}
-DCC_COMMS_BUILD_UNIT_TESTS=OFF
)
list(APPEND CMAKE_PREFIX_PATH ${cc_comms_install_dir})
find_package(LibComms NO_MODULE REQUIRED)
I was compiling with tag v5.0.1
.
This function is declared in comms/install/include/comms/MessageBase.h
, so maybe this is an unintended mistake. After adding the #include "comms/MessageBase.h"
line to comms/protocol/MsgSizeLayer.h
, the error seems to disappear.
So the patch can be applied quickly, hope you can fix this soon!
Hi Alex,
I've just updated the commschamp and commsdsl libs.
Most patches are gone now. But I needed to patch the CC_CMAKE_DIR of the commsdsl project.
In addition to that i've added the comms.ublox project. (the generated one)
It should be merged soon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.