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
hek;ryi'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.