O
Orgad
I wrote a simple program (in which I reused a data structure), but it
refuses to link. Can anyone here please help me?
Notice that Region2D.cpp IS in the compilation, and the "unresolved"
functions DO exist there!
I'm using Microsoft Visual C++ 6.0.
The output for the Rebuild All:
Compiling...
main.cpp
QuadMesh.cpp
QuadTree.cpp
Region2D.cpp
Tree.cpp
Linking...
main.obj : error LNK2001: unresolved external symbol "public: virtual
__thiscall Rage::NTree::Region2D<char>::~Region2D<char>(void)"
(??1?$Region2D@D@NTree@Rage@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: void
__thiscall Rage::NTree::Region2D<char>::initialize(int,int,char *)"
(?initialize@?$Region2D@D@NTree@Rage@@QAEXHHPAD@Z)
main.obj : error LNK2001: unresolved external symbol "public:
__thiscall Rage::NTree::Region2D<char>::Region2D<char>(void)"
(??0?$Region2D@D@NTree@Rage@@QAE@XZ)
Debug/Rage.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
Rage.exe - 4 error(s), 0 warning(s)
The source files are here:
http://www.cc.jct.ac.il/~shaneh/qtree.zip
refuses to link. Can anyone here please help me?
Notice that Region2D.cpp IS in the compilation, and the "unresolved"
functions DO exist there!
I'm using Microsoft Visual C++ 6.0.
The output for the Rebuild All:
Compiling...
main.cpp
QuadMesh.cpp
QuadTree.cpp
Region2D.cpp
Tree.cpp
Linking...
main.obj : error LNK2001: unresolved external symbol "public: virtual
__thiscall Rage::NTree::Region2D<char>::~Region2D<char>(void)"
(??1?$Region2D@D@NTree@Rage@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: void
__thiscall Rage::NTree::Region2D<char>::initialize(int,int,char *)"
(?initialize@?$Region2D@D@NTree@Rage@@QAEXHHPAD@Z)
main.obj : error LNK2001: unresolved external symbol "public:
__thiscall Rage::NTree::Region2D<char>::Region2D<char>(void)"
(??0?$Region2D@D@NTree@Rage@@QAE@XZ)
Debug/Rage.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
Rage.exe - 4 error(s), 0 warning(s)
The source files are here:
http://www.cc.jct.ac.il/~shaneh/qtree.zip