GithubHelp home page GithubHelp logo

cadmium-store_cashier's Issues

Linker error when adding time parameters to messages

I am trying to add fields to messages that provide information about simulation time.
All the new messages have been defined in data_structures/message.cpp and data_structures/message.hpp.

So far, only the main_client_generator_test.cpp test has been adapted to the new message style. However, when compiling using make simulators, The following error is displayed:

rm -f bin/* build/*
g++ -g -c -std=c++17 -I ../../cadmium/include -I ../../DESTimes/include test/main_client_generator_test.cpp -o build/main_client_generator_test.o
g++ -g -c -std=c++17 -I ../../cadmium/include -I ../../DESTimes/include data_structures/message.cpp -o build/message.o
g++ -g -o bin/CLIENT_GENERATOR_TEST build/main_client_generator_test.o build/message.o
Undefined symbols for architecture x86_64:
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >& operator<<<NDTime>(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, newClient<NDTime> const&)", referenced from:
      cadmium::logger::value_or_name<newClient<NDTime>, std::__1::integral_constant<bool, true> >::print(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, newClient<NDTime> const&) in main_client_generator_test.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [tests] Error 1

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.