*Resolved* ... Visual Studio Error

Published May 04, 2007
Advertisement
Well I was coding a node like structure which I will use as a base object to derive more complex objects in my game engine. This will allow all of them to be organised in the same manner, giving me one interface to control all objects.
*RESOLVED*
I coded this and got rid of all of the syntax errors, but now I get an error which says ...
(Visual Studio 8)
------ Build started: Project: node, Configuration: Debug Win32 ------
Compiling...t
NodeTree.cpp
Linking...
NodeTree.obj : error LNK2019: unresolved external symbol "public: __thiscall NodeTree::~NodeTree(void)" (??1NodeTree@@QAE@XZ) referenced in function _main
NodeTree.obj : error LNK2019: unresolved external symbol "public: __thiscall NodeTree::NodeTree(void)" (??0NodeTree@@QAE@XZ) referenced in function _main
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
Debug\NodeTree.exe : fatal error LNK1120: 3 unresolved externals
Build log was saved at "*comented out for public use in the forum*"
string - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I am unsure what this link error means, but it is occuring in the NodeTree Constructor and Deconstructor. I am going to do some research on this issue, it could be the compiler settings are not set right. I am prety sure the code is good, but I wold't mind some other peoples thoughts.
Previous Entry Hello All
Next Entry Project Hangman
0 likes 1 comments

Comments

Redocami
Well after looking into the issue (thank God for google.com and yahoo.com) I figure it out. I used a method of tabbing my code (prototyping the functions) with out implamenting the functions. When you do this the compiler will be unable to link the header files properly because it was unable to find the implamentations of the prototyped functions.

Next I will work on a StringNode class and a Geometry Class.
May 04, 2007 01:30 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Game Plan

722 views

Update

706 views

Secrets

555 views

Update

685 views

Back to the code

576 views

Project Hangman

573 views

Hello All

717 views
Advertisement