Giter Site home page Giter Site logo

smw's Introduction

smw

Genernal

A Scalable Middleware,integration Eclipse iceoryx and Fast-DDS.

The main aim is to encapsulate an adaptive middleware,it can deal with relation of communication partners automatically.

Communication on same "Host" will use iceoryx,benefit from it's zero-copy ability.

Communication on different "Host" will use Fast-DDS,benefit from flexible DDS protocol.

Maybe I would support SOME/IP protocol for interoperating with AUTOSAR AP...

Example

image

Dependencies

fmt

https://github.com/fmtlib/fmt

Fast-DDS

https://github.com/eProsima/Fast-DDS

Eclipse iceoryx

https://github.com/eclipse-iceoryx/iceoryx

Google Protobuf

https://developers.google.com/protocol-buffers

TODO

...

smw's People

Contributors

yooouxin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

smw's Issues

compile error: error: cannot deduce template arguments for ‘Ok’ from ()

My enviroment:
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
cmake version 3.23.0

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build spdlog: 1.9.2
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Build type: Release
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")  
-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found version "3.20.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sy/workspace/smw/build
...
[ 22%] Built target spdlog
[ 27%] Built target smw_utils
[ 30%] Building CXX object smw_core/CMakeFiles/smw_core.dir/src/runtime.cpp.o
In file included from /home/sy/workspace/smw/smw_core/include/service_skeleton.h:8:0,
                 from /home/sy/workspace/smw/smw_core/include/runtime.h:10,
                 from /home/sy/workspace/smw/smw_core/src/runtime.cpp:4:
/home/sy/workspace/smw/smw_core/include/publisher.h: In member function ‘smw::types::Result<smw::core::PublisherError> smw::core::Publisher<T, Serializer>::publish(smw::core::SamplePtr<T>&&)’:
/home/sy/workspace/smw/smw_core/include/publisher.h:79:42: error: cannot deduce template arguments for ‘Ok’ from ()
         Result<PublisherError> result{Ok()};
                                          ^
/home/sy/workspace/smw/smw_core/include/publisher.h: In member function ‘smw::types::Result<smw::core::PublisherError> smw::core::Publisher<T, Serializer>::publish(const T&)’:
/home/sy/workspace/smw/smw_core/include/publisher.h:113:42: error: cannot deduce template arguments for ‘Ok’ from ()
         Result<PublisherError> result{Ok()};
                                          ^
smw_core/CMakeFiles/smw_core.dir/build.make:75: recipe for target 'smw_core/CMakeFiles/smw_core.dir/src/runtime.cpp.o' failed
make[2]: *** [smw_core/CMakeFiles/smw_core.dir/src/runtime.cpp.o] Error 1
CMakeFiles/Makefile2:253: recipe for target 'smw_core/CMakeFiles/smw_core.dir/all' failed
make[1]: *** [smw_core/CMakeFiles/smw_core.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2

Appreciate for any reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.