vsgXchange
vsgXchange copied to clipboard
Undefined Reference linker error for vsgconv
I am trying to build the v1.1.3 tag linking with vsg v1.1.7 tag on Linux. Getting this linker error;
/usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/vsgconv.dir/vsgconv.cpp.o -o ../../bin/vsgconv -Wl,-rpath,/home/engineer/rpmbuild/BUILD/vsgXchange-1.1.3/lib: ../../lib/libvsgXchange.so.1.1.3 /usr/lib64/libvsg.so.1.1.7 /lib64/libvulkan.so -lpthread
CMakeFiles/vsgconv.dir/vsgconv.cpp.o:(.data.rel.ro._ZTVN7vsgconv19CollectReadRequestsE[_ZTVN7vsgconv19CollectReadRequestsE]+0x748): undefined reference to `vsg::Visitor::apply(vsg::AnimationPath&)'
../../lib/libvsgXchange.so.1.1.3: undefined reference to `vsg::Object::Object(vsg::Object const&)'
collect2: error: ld returned 1 exit status