Game Development Community

Compiling

by Allan Stewart · in Torque Game Engine · 11/13/2005 (5:55 am) · 7 replies

When i compile any new .h or .cc using eclipse platform the date/time created on the exe doesn't change at all.

Even when running a clean or a rebuild . Is the new files taking effect even though the date/time created don't change on the exe when compiled ?

#1
11/13/2005 (7:30 am)
Hmm, this really looks like you are not building the .exe at all. (At least not the one you are looking at)

Maybe your exe is build in another location?
Have you tried, removing the .exe manually before doing a rebuild. If the .exe does not show up again, your workspace settings may be mixed up and build the exe at another direction.

-- Markus
#2
11/13/2005 (8:04 am)
Oh man I've done that before myself. Nothing like trying to debug new code on the wrong executable. ;)
#3
11/13/2005 (9:31 am)
I have deleted the one that was in the folder, No new one shows up in there, So the directory is not set properly or something, So in other words the exe file is floating around on the pc some where. I did the set up like this

C:\Torque\SDK <<<<<<
C:\Torque\MyProject <<

Then >>C:\Torque\SDK\.project
To>>>>C:\Torque\MyProject\.project

And>>>C:\Torque\SDK\mk\conf.mk
To>>>> C:\Torque\MyProject\mk\conf.mk

open "C:\Torque\MyProject\.project"
and change the line which says:
Torque
to
MyProject

In Eclipse, from the pulldown menus i selected
File --> Import...
Then chose:
"Existing Project Into Workspace"
C:\Torque\MyProject
The project name change to "Myproject"
Select "Finish"

A new project has appeared in the workspace "MyProject"
Under the C/C++ Projects tab on the left side,
Find "Myproject", the name of that project, and right click on it.

I right click on the project and select build but nothing appears :(

On the left side in the work space i have 2 projects, MyProject and the stock SDK (Torque) one should i get rid of the torque one complety ?
#4
11/13/2005 (6:56 pm)
Still no luck with my compiling, Should i reinstall the SDK and the eclipse
#5
11/14/2005 (11:11 pm)
I'm no expert in compilers or eclipse, but this has been my experience:

eclipse puts the executable in the c:\torque\engine\out.gcc.RELEASE(or DEBUG) directory by default

if you go to projects->properties->c/c++ make project... type in say "C:\Torque\SDK\example" Anyway, use explorer to find the directory that you want to put it into and make sure that it actually exists.

don't use the browse directory tool (it let's you choose directories that don't actually exist then you get a no build rule)

if you really want to move the project out of the c:\torque\sdk\ subdirectory export the "file system" select all under torque and in the to directoy browse to c:\torque make the new MyProject directory and select that then finish. Then go to new->project and pick "standard make c++ project" gie the project a a name and uncheck the default project contents and point it to c:\Torque\MyProject then pick finish this process worked for me, as long as I hadn't already moved files into the the myproject directory before the export feature.... again make sure that your make project directory is fully qualified.
#6
11/17/2005 (10:56 am)
I'm still having problems getting the code to compile, Even did a search on the pc to see if the exe was going else where and nothing.

I just downloaded Visual C++ 2005 Express edition , Would this one work for compiling purposes.

Running out of options here since somethings i want to try need to change the engine.
#7
11/22/2005 (2:36 pm)
Any other suggestions to even attempting to get this to work at all. I have tried

public.garagegames.com/chrisc/TBE/readme.html

and i have tried

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7559

and i still can't get no new compiled exe out of it.

This is after yet a bran new uninstall of the SDK and the TBE and then a reinstall of everything. With out being able to compile the engine with any of the new source code i would like to try out i will have a hard time advancing anywhere with just scripts alone. Half the compilers mentioned on here now is out dated and can't get and from what i read in some post the new compilers out there won't compile the engine. Where does this leave me besides just script issues ?

There was another thing i tried awhile back where you change the output directory and the output name of the exe file but i can;t remember where i seen it or what file it was i had to change now but even after that i did a search on the pc and to no avail. The TBE goes through all this processing and checking so it must be doing something.