Complete
OSNN Addict
- Joined
- 25 Aug 2005
- Messages
- 94
What causes the "no appropriate default constructor available" linker error when I do have an constructor defined in the header file?
It is an unresolved external symbol for the constructor
LNK2019: unresolved external symbol "public: __thiscall CSomething::CSomething(class CSomethingelse *)
and yet in the header file I have the constructor set up for that as:
CSomething( CSomethingelse * psomethingelse)
Which is how it is used in the cpp file.
It is an unresolved external symbol for the constructor
LNK2019: unresolved external symbol "public: __thiscall CSomething::CSomething(class CSomethingelse *)
and yet in the header file I have the constructor set up for that as:
CSomething( CSomethingelse * psomethingelse)
Which is how it is used in the cpp file.