problem linking code

Hi folks, I don't do a lot of coding on my mac laptop, but trying to build a project there for testing purposes and I receive the following

errors. A problem with my xcode install maybe? xcode 11.2.1, Catalina 10.15.1


Any help would be appreciated.

R Haynes


0 0x1057be198 __assert_rtn + 127

1 0x1057023da ld::tool::InputFiles::findDylib(char const*, ld::dylib::File const*, bool) + 740

2 0x1056797e4 generic::dylib::File<x86_64>::processIndirectLibraries(ld::dylib::File::DylibHandler*, bool) + 76

3 0x10570369d ld::tool::InputFiles::createIndirectDylibs() + 307

4 0x1057045a9 ld::tool::InputFiles::forEachInitialAtom(ld::File::AtomHandler&, ld::Internal&) + 651

5 0x105713016 ld::tool::Resolver::resolve() + 44

6 0x1056a1044 main + 794

A linker snapshot was created at:

/tmp/DDCPPoisson-2019-10-14-174419.ld-snapshot

ld: Assertion failed: (counter() < 0xffff), function nextCounter, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-520/src/ld/ld.hpp, line 313.

clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

make[3]: *** [bin/DDCPPoisson] Error 1

make[2]: *** [bin/CMakeFiles/DDCPPoisson.dir/all] Error 2

make[1]: *** [bin/CMakeFiles/DDCPPoisson.dir/rule] Error 2

make: *** [DDCPPoisson] Error 2

Post not yet marked as solved Up vote post of rhaynes74 Down vote post of rhaynes74
539 views