Sooooo....

This is a discussion on Sooooo.... within the Game Programming forums, part of the General Programming Boards category; Back to the grind stone I suppose, I havn't done this in a few months, I try to compile my ...

  1. #1
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964

    Sooooo.... I opened my engine up again, after 4 months..

    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 ....

    Code:
    ------ Build started: Project: NeHeGL, Configuration: Debug Win32 ------
    Compiling...
    NeHeGL.cpp
    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.'
    Linking...
    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 ==========
    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...

    Code:
    	RootNode->AddChild(Transformation);
    	Transformation->AddChild(Geometry);
    	RootNode->AddChild(Transformation1);
    	Transformation1->AddChild(Geometry1);
    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
    Last edited by Shamino; 06-13-2006 at 12:50 AM.
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  2. #2
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    Oh noes, this is an older version where automatic texture loading doesn't work!!!

    Maybe I just have something setup wrong :\

    Oh no, it is an older version!!!
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  3. #3
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    OMG, I found the newer version...

    Labeled Engine Source TWO

    Hah! Eat that! I still have it around!!!

    Maybe I'll go back to trying to create a proper scene editor, would anyone like to help?

    EDIT: BTW, sorry I disappeared everyone, know you all missed me
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  4. #4
    Computer guy
    Join Date
    Sep 2005
    Location
    I'm lost!!!
    Posts
    200
    Which one is this shamino? is it still the one you've been working on in senior project? If it is, what can it do now?
    Hello, testing testing. Everthing is running perfectly...for now

  5. #5
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    Same thing it did last time you checked, we should start working on it to see if we can come up with something cool.
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  6. #6
    Computer guy
    Join Date
    Sep 2005
    Location
    I'm lost!!!
    Posts
    200
    I'm setting 3D stuff out right now 'cause it is too complicated and too much stuff to deal with. I just get a new idea for my next game project. A 2d swordman game. If you ever watch the animated "Kenshin - the wonder swordman", you'll know the story. Besides, I want to get into the AI with 2D stuff base on this new project. If you like, you could help me with all the logical things as you did in that project you've been working on.
    Hello, testing testing. Everthing is running perfectly...for now

  7. #7
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    Cmon hdragon, step up, lets do this 3d engine!

    It is the logic that is the problem, and I've got that part figured out, all that I need is someone who actually sits down and writes code, I mean, I do that too, but not like you do.

    You can actually sit down and write something and get it done. I'm good at sitting around and figuring things out!
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  8. #8
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    I need to figure out how to rip apart my MS3D Model setup and rework it to support vertex arrays instead of a hard coded GLBegin/GLEnd...

    Once I get that done, I can honestly say that the engine is a WORKING prototype.
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  9. #9
    Computer guy
    Join Date
    Sep 2005
    Location
    I'm lost!!!
    Posts
    200
    with the vertex array, you have to leave me some vectors on the model so that i can apply collision detection. You know what, let's use simpler models (box, sphere, pyramid..) so that it will be easier to see when apply physics and collision detection.
    Hello, testing testing. Everthing is running perfectly...for now

  10. #10
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    Model doesn't really matter how complex it is really, we'll just be using bounding box collision anyways, so regardless of model complexity, we'll be using a box, or a sphere, or something similar.

    Read my other post

    Also, are you busy today, we should get together and program and stuff.
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  11. #11
    Computer guy
    Join Date
    Sep 2005
    Location
    I'm lost!!!
    Posts
    200
    Sorry shamino, i just a new job. I'm pretty much busy from monday through thursday. Friday and sunday i'm free. BTW, i'm gonna be a teacher assistant for the new job (first grade students. :-(
    Hello, testing testing. Everthing is running perfectly...for now

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. INT ARRAY Permutation!
    By arthur5005 in forum C++ Programming
    Replies: 2
    Last Post: 10-21-2002, 06:30 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21