-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined reference to StaticWindow::Size in Debug #53
Comments
Thanks for catching that. I never tried to compile in debug mode. I will try to look into that, though it may take a bit until I have time.
…On April 16, 2018 8:35:18 AM EDT, Nikolay Polyarniy ***@***.***> wrote:
```make debug``` leads to:
```
mkdir -p Bin/Linux/
g++ -c -o Bin/Linux/PlyFile.o -fopenmp -Wno-deprecated
-Wno-write-strings -std=c++11 -DDEBUG -g3 -I. Src/PlyFile.cpp
mkdir -p Bin/Linux/
g++ -c -o Bin/Linux/PoissonRecon.o -fopenmp -Wno-deprecated
-Wno-write-strings -std=c++11 -DDEBUG -g3 -I. Src/PoissonRecon.cpp
g++ -o Bin/Linux/PoissonRecon Bin/Linux/PlyFile.o
Bin/Linux/PoissonRecon.o -lgomp -lstdc++ -lz -lpng -ljpeg
Bin/Linux/PoissonRecon.o: In function `void FEMTree<3u,
float>::finalizeForMultigrid<2u, FEMTree<3u,
float>::HasNormalDataFunctor<UIntPack<6u, 6u, 6u> >,
SparseNodeData<Point<float, 3u>, UIntPack<6u, 6u, 6u> >, FEMTree<3u,
float>::DensityEstimator<2u> >(int, FEMTree<3u,
float>::HasNormalDataFunctor<UIntPack<6u, 6u, 6u> >,
SparseNodeData<Point<float, 3u>, UIntPack<6u, 6u, 6u> >*, FEMTree<3u,
float>::DensityEstimator<2u>*) [clone ._omp_fn.5]':
.../PoissonRecon/Src/FEMTree.inl:491: undefined reference to
`StaticWindow<RegularTreeNode<3u, FEMTreeNodeData, unsigned short>*,
UIntPack<5u, 5u, 5u> >::Size'
Bin/Linux/PoissonRecon.o: In function `void FEMTree<3u,
float>::finalizeForMultigrid<2u, FEMTree<3u,
float>::HasNormalDataFunctor<UIntPack<7u, 7u, 7u> >,
SparseNodeData<Point<float, 3u>, UIntPack<7u, 7u, 7u> >, FEMTree<3u,
float>::DensityEstimator<2u> >(int, FEMTree<3u,
float>::HasNormalDataFunctor<UIntPack<7u, 7u, 7u> >,
SparseNodeData<Point<float, 3u>, UIntPack<7u, 7u, 7u> >*, FEMTree<3u,
float>::DensityEstimator<2u>*) [clone ._omp_fn.165]':
.../PoissonRecon/Src/FEMTree.inl:491: undefined reference to
`StaticWindow<RegularTreeNode<3u, FEMTreeNodeData, unsigned short>*,
UIntPack<5u, 5u, 5u> >::Size'
Bin/Linux/PoissonRecon.o: In function `void FEMTree<3u,
float>::finalizeForMultigrid<2u, FEMTree<3u,
float>::HasNormalDataFunctor<UIntPack<8u, 8u, 8u> >,
SparseNodeData<Point<float, 3u>, UIntPack<8u, 8u, 8u> >, FEMTree<3u,
float>::DensityEstimator<2u> >(int, FEMTree<3u,
float>::HasNormalDataFunctor<UIntPack<8u, 8u, 8u> >,
SparseNodeData<Point<float, 3u>, UIntPack<8u, 8u, 8u> >*, FEMTree<3u,
float>::DensityEstimator<2u>*) [clone ._omp_fn.301]':
.../PoissonRecon/Src/FEMTree.inl:491: undefined reference to
`StaticWindow<RegularTreeNode<3u, FEMTreeNodeData, unsigned short>*,
UIntPack<5u, 5u, 5u> >::Size'
collect2: error: ld returned 1 exit status
Makefile:127: recipe for target 'Bin/Linux/PoissonRecon' failed
make: *** [Bin/Linux/PoissonRecon] Error 1
```
P.S. Release builds Ok.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#53
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make debug
leads to:P.S. Release builds Ok.
The text was updated successfully, but these errors were encountered: