Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Undefined symbols for architecture x86_64:
- "TVector<3u, float>::TVector(TVector<3u, float> const&)", referenced from:
- TraceRay(TVector<3u, float> const&, TVector<3u, float> const&, std::__1::vector<TObject*, std::__1::allocator<TObject*> > const&, float, float) in main.cpp.o
- void std::__1::allocator<TVector<3u, float> >::construct<TVector<3u, float>, TVector<3u, float> const&>(TVector<3u, float>*, TVector<3u, float> const&&&) in main.cpp.o
- TSphere::TSphere(TVector<3u, float> const&, float, TVector<3u, float> const&) in main.cpp.o
- TObject::TObject(TVector<3u, float> const&) in main.cpp.o
- TSphere::IntersectRay(TVector<3u, float> const&, TVector<3u, float> const&) const in sphere.cpp.o
- "TVector<3u, float>::TVector(TVector<3u, float>&)", referenced from:
- TCanvas::Out(char const*) in canvas.cpp.o
- TVector<3u, float> operator*<3u, float>(TVector<3u, float>, float) in canvas.cpp.o
- TVector<3u, float> operator-<3u, float>(TVector<3u, float>, TVector<3u, float> const&) in sphere.cpp.o
- "TVector<3u, float>::TVector(std::initializer_list<float>)", referenced from:
- TCanvas::CanvasToViewport(int, int) in canvas.cpp.o
- _main in main.cpp.o
- ___cxx_global_var_init in main.cpp.o
- "TVector<3u, float>::TVector()", referenced from:
- TCanvas::TCanvas(unsigned int, unsigned int, unsigned int) in main.cpp.o
- "TVector<3u, float>::operator[](unsigned int)", referenced from:
- TCanvas::Out(char const*) in canvas.cpp.o
- "TVector<3u, float>::operator-=(TVector<3u, float> const&)", referenced from:
- TVector<3u, float> operator-<3u, float>(TVector<3u, float>, TVector<3u, float> const&) in sphere.cpp.o
- "TVector<3u, float>::operator*=(float)", referenced from:
- TVector<3u, float> operator*<3u, float>(TVector<3u, float>, float) in canvas.cpp.o
- "TVector<3u, float>::Dot(TVector<3u, float> const&) const", referenced from:
- float operator*<3u, float>(TVector<3u, float> const&, TVector<3u, float> const&) in sphere.cpp.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[3]: *** [MyRayMarching] Error 1
- make[2]: *** [CMakeFiles/MyRayMarching.dir/all] Error 2
- make[1]: *** [CMakeFiles/MyRayMarching.dir/rule] Error 2
- make: *** [MyRayMarching] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement