Fails to build on Fedora 19
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to
VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to
VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
obj/mainwindow.o:/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: more undefined references to
VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)' follow
obj/vtoolsplinepath.o: In function VContainer::GetSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to
VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to
VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to
VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
obj/vtoolsplinepath.o:/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: more undefined references to VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)' follow
obj/vtooldetail.o: In function
VContainer::GetDetail(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to
VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to
VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
obj/vtooldetail.o: In function VContainer::GetSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to
VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
obj/vtooldetail.o: In function VContainer::GetModelingSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:63: undefined reference to
VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
obj/vnodesplinepath.o: In function VContainer::GetModelingSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:63: undefined reference to
VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:63: undefined reference to VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
obj/vmodelingsplinepath.o: In function
VContainer::GetModelingSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:63: undefined reference to VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
obj/vmodelingsplinepath.o:/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:63: more undefined references to
VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)' follow
obj/dialogtool.o: In function VContainer::GetDetail(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to
VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:64: undefined reference to VDetail VContainer::GetObject<long long, VDetail>(QHash<long long, VDetail> const&, long long)'
obj/dialoghistory.o: In function
VContainer::GetSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
obj/dialogdetail.o: In function
VContainer::GetSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:62: undefined reference to VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
obj/dialogdetail.o: In function
VContainer::GetModelingSplinePath(long long) const':
/home/alexandre/soft/crafts/valentina/./container/vcontainer.h:63: undefined reference to `VSplinePath VContainer::GetObject<long long, VSplinePath>(QHash<long long, VSplinePath> const&, long long)'
collect2: error: ld returned 1 exit status
make: *** [bin/Valentina] Error 1
Any specific info you need to know about my system?
Comments (6)
-
Account Deleted -
reporter I ran hg clone URL :) Then tried to build.
-
Account Deleted I don't know why you can't build project. I just clone repository and successful build. First try to use not default branch. Set to develop. See maybe this can help.
-
Account Deleted Did you install ccache and qt 5dev packages? Show me full log.
-
Account Deleted - changed status to resolved
Yes, last change set in default branch don't compile in console. I fixed this in develop branch, when create package.
-
reporter Meanwhile I moved to Fedora 20, and the main branch compiles now as well :) Thx :)
- Log in to comment
This error about template GetObject and, i think, about all template, what i have in this file. I had same error before. Did you use last version from repository. Because strange that i have different line 64 in file vcontainer.h. I talk about last changeset, not tag v.0.2 in mercurial.