Skip to content

compiling the tutorial  #12

@DiBeck

Description

@DiBeck

Hello again,

I hope I am annoying you not to much, with all the questions. I tried to run one of the tutorial skips by using

make tutorial_sim_iterated

the first error I received was that he could not include "../sim_main.h". Therefore I changed the hello_world_sim_iterated.cpp line 2

#include <sim_main.h>

and include the following paths into ~/.profile

export PATH="/usr/local/include/sim:$PATH"
export PATH="/usr/local/libc:$PATH"
export PATH="/usr/local/lib/libsim:$PATH"

Now I run into the following:

Undefined symbols for architecture x86_64:
  "toExprString(char const*)", referenced from:
      bool Sim::get<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [6]>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const (&) [6], SimSignal const&) in ccBhzTjU.o
  "Endl(SimIO&)", referenced from:
      SimControl<Kernel>::simulate(int, char**) in ccBhzTjU.o
  "ExprParser::parse_file(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)", referenced from:
      SimControl<Kernel>::simulate(int, char**) in ccBhzTjU.o

..... two more pages of complains

     std::basic_string<char, std::char_traits<char>, std::allocator<char> > ExprToValueErrorDescription<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(ExpressionPtr const&) in ccBhzTjU.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [tutorial_sim_iterated] Error 1

Do you know what I am doing wrong? If i remember right, that this is also the problem when i am running the te_causality_master from olavolav. Did i forget to add some paths?

Bye the way the ./test inputworks like a charm

Thanks again for all your help.

Dirk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions