Fails to build on Fedora 19

Issue #31 resolved
prokoudine created an issue

/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 toVDetail 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 toVDetail 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 toVDetail 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 toVSplinePath 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 toVSplinePath 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 toVSplinePath 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 functionVContainer::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 toVDetail 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 toVDetail 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 toVSplinePath 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 toVSplinePath 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 toVSplinePath 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 functionVContainer::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 toVSplinePath 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 toVDetail 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 functionVContainer::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 functionVContainer::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 functionVContainer::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)

  1. Former user Account Deleted

    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.

  2. Former user 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.

  3. Former user Account Deleted

    Yes, last change set in default branch don't compile in console. I fixed this in develop branch, when create package.

  4. Log in to comment