Back to the grind stone I suppose, I havn't done this in a few months, I try to compile my 3d engine... its kinda broken, I forget how to fix this ....
Mmk... So lets see, apparently I'm having a linker error, and unresolved externals, I use those variables in one place only, (it might be because I havn't included them or something in a header, heres what we do to create the scene...
------ Build started: Project: NeHeGL, Configuration: Debug Win32 ------
c:\documents and settings\jonathan\my documents\engine source\terrain.h(9) : warning C4996: 'fopen' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\stdio.h(234) : see declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
NeHeGL.obj : error LNK2001: unresolved external symbol "class CGeometryNode * Geometry1" (?Geometry1@@3PAVCGeometryNode@@A)
NeHeGL.obj : error LNK2001: unresolved external symbol "class CDOFNode * Transformation1" (?Transformation1@@3PAVCDOFNode@@A)
NeHeGL.obj : error LNK2001: unresolved external symbol "class CGeometryNode * Geometry" (?Geometry@@3PAVCGeometryNode@@A)
NeHeGL.obj : error LNK2001: unresolved external symbol "class CSceneNode * RootNode" (?RootNode@@3PAVCSceneNode@@A)
NeHeGL.obj : error LNK2001: unresolved external symbol "class CDOFNode * Transformation" (?Transformation@@3PAVCDOFNode@@A)
.\Debug/NeHeGL.exe : fatal error LNK1120: 5 unresolved externals
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\Documents and Settings\Jonathan\My Documents\Engine Source\Debug\BuildLog.htm"
NeHeGL - 6 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Pretty simple, huh? That creates a root node (the scene as a whole, starting at location 0, 0, 0) and attaches a child (my lil dwarf guy).. He is relative to the scene as a whole in this very uncomplex scene, sooo... Lets see what happens when I comment out these lines...
Mmk, seems like I still have 1 unresolved external, that only fixed 4 of em, but the last one, it couldn't find it anywhere in my project, I must have a missing header file...
Ah yes, Globals.h, that aught to do it...
Sorry excuse my rambling, I'm a bit rusty :0