Skip to content

Compile errors for normCast and detourExample examples. #89

Open
@jp-nps

Description

Using waf to build those two examples gives undefined reference errors to Create methods for ProtoDetour and NormPostProcesor.

Other examples compiled without issue. I didn't see anything obviously missing with the ProtoDetour or NormPostProcessor classes.

~/norm$ python3 waf --targets=detourExample,normCast -v
Waf: Entering directory '/home/jp/norm/build'
[58/60] Linking build/protolib/detourExample
14:06:17 runner ['/usr/bin/g++', 'protolib/examples/detourExample.cpp.5.o', '-o/home/jp/norm/build/protolib/detourExample', '-Wl,-Bstatic', '-Lprotolib', '-lprotokit', '-Wl,-Bdynamic', '-lpthread']
[60/60] Linking build/normCast
14:06:17 runner ['/usr/bin/g++', 'examples/normCast.cpp.16.o', '-o/home/jp/norm/build/normCast', '-Wl,-Bstatic', '-L.', '-Lprotolib', '-lnorm', '-lprotokit', '-Wl,-Bdynamic', '-lpthread']
/usr/bin/ld: protolib/examples/detourExample.cpp.5.o: in function 'DetourExample::OnStartup(int, char const* const*)':
/home/jp/norm/build/../protolib/examples/detourExample.cpp:116: undefined reference to 'ProtoDetour::Create()'
collect2: error: ld returned 1 exit status

/usr/bin/ld: examples/normCast.cpp.16.o: in function 'NormCaster::Init()':
/home/jp/norm/build/../examples/normCast.cpp:314: undefined reference to 'NormPostProcessor::Create()'
/usr/bin/ld: /home/jp/norm/build/../examples/normCast.cpp:319: undefined reference to 'NormPostProcessor::Create()'
/usr/bin/ld: /home/jp/norm/build/../examples/normCast.cpp:324: undefined reference to 'NormPostProcessor::Create()'
/usr/bin/ld: examples/normCast.cpp.16.o: in function 'NormCaster::SetPostProcessorCommand(char const*)':
/home/jp/norm/build/../examples/normCast.cpp:183: undefined reference to 'NormPostProcessor::SetCommand(char const*)'
/usr/bin/ld: examples/normCast.cpp.16.o: in function 'NormCaster::SetSentProcessorCommand(char const*)':
/home/jp/norm/build/../examples/normCast.cpp:185: undefined reference to 'NormPostProcessor::SetCommand(char const*)'
/usr/bin/ld: examples/normCast.cpp.16.o: in function 'NormCaster::SetPurgedProcessorCommand(char const*)':
/home/jp/norm/build/../examples/normCast.cpp:187: undefined reference to 'NormPostProcessor::SetCommand(char const*)'
collect2: error: ld returned 1 exit status

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions