TGEA 1.8.0 BUG Atlas not included in SetupNewProject
by Bill Vee · in Torque Game Engine Advanced · 01/01/2009 (1:44 pm) · 14 replies
When you use SetupNewProject.exe it fails to include any atlas related files to the VS projects or the Xcode project.
It is an easy enough fix. You just have to correct the template.vcprj file in the VC 2005 and 2008 template folders as well as the project.pbxproj file in the Template\buildFiles\Xcode\Template.xcodeproj folder.
It is an easy enough fix. You just have to correct the template.vcprj file in the VC 2005 and 2008 template folders as well as the project.pbxproj file in the Template\buildFiles\Xcode\Template.xcodeproj folder.
#2
Might it be useful to add that to the Porting to 180 Gatcha page"?
01/04/2009 (8:55 am)
Thanks for the info.Might it be useful to add that to the Porting to 180 Gatcha page"?
#3
01/04/2009 (12:30 pm)
You're right, Bill. Good suggestion. Will do just that.
#4
Why not disable it on the MAC build only?
01/05/2009 (10:31 am)
Call me thick but if atlas is not supported on MAC but is for windows then why disable it by default for the Win32 builds?Why not disable it on the MAC build only?
#5
01/05/2009 (11:57 am)
@Bill Vee: To maintain crossplatform networking. If your Win32 build includes Atlas, and your Mac build doesn't, then your Win32 build can't join multiplayer games hosted by a Mac build, and your Mac build can't join multiplayer games hosted by your Win32 build.
#6
I know Atlas is dumped in Torque 3D. Do you see Atlas become supported on Macs on a future version of TGEA, or is that something that's not going to happen?
I'm asking to be able to better plan ahead. I'd like to see whether I will have a speedy terrains vs. supported platforms question to worry about.
02/14/2009 (12:27 pm)
@Alex: I know Atlas is dumped in Torque 3D. Do you see Atlas become supported on Macs on a future version of TGEA, or is that something that's not going to happen?
I'm asking to be able to better plan ahead. I'd like to see whether I will have a speedy terrains vs. supported platforms question to worry about.
#7
02/14/2009 (12:49 pm)
It's probably not going to happen. Atlas isn't supported due to a string of bugs in Apple's drivers which I haven't been able to work around, or even find the root cause of.
#8
02/14/2009 (1:26 pm)
Thanks, knowing that helps.
#9
Has this been removed now? I'm using TGEA 1.8.1.
07/17/2009 (2:33 pm)
Looking at the projects\myproject\config\project.conf file, I see no commented code for an atlas module to uncomment.Has this been removed now? I'm using TGEA 1.8.1.
#10
Error 7 error LNK2019: unresolved external symbol "class ResourceInstance * __cdecl constructAtlasFileResource(class Stream &,class ResourceObject *)" (?constructAtlasFileResource@@YAPAVResourceInstance@@AAVStream@@PAVResourceObject@@@Z) referenced in function "bool __cdecl Init3dSubsystems(void)" (?Init3dSubsystems@@YA_NXZ) gameFunctions.obj
Has anyone seen this?
07/17/2009 (2:37 pm)
When I add TORQUE_ATLAS as a preprocessor definition, I get this error when compiling.Error 7 error LNK2019: unresolved external symbol "class ResourceInstance * __cdecl constructAtlasFileResource(class Stream &,class ResourceObject *)" (?constructAtlasFileResource@@YAPAVResourceInstance@@AAVStream@@PAVResourceObject@@@Z) referenced in function "bool __cdecl Init3dSubsystems(void)" (?Init3dSubsystems@@YA_NXZ) gameFunctions.obj
Has anyone seen this?
#11
07/17/2009 (2:55 pm)
I found where to uncomment it in the project.conf file, but still get the above error during compile.
#12
If thats not it then clean the project and build again.
Yes I know they are basically the same thing but VS can be weird some times.
07/17/2009 (3:09 pm)
Try a re-build on the project.If thats not it then clean the project and build again.
Yes I know they are basically the same thing but VS can be weird some times.
#13
Thanks for a quick response.
07/17/2009 (4:01 pm)
Ok, I deleted my project, uncommented the atlas line under modules in the template project, recreated the project, and now I see the atlas folder under engine in the solution. Compiling now, hope it works.Thanks for a quick response.
#14
07/17/2009 (9:15 pm)
Compile success! Thanks for the bmp fix in the other thread too.
Associate Rene Damm
Anyways, it's not necessary to edit project files. Rather, just go into "config/project.conf" in your project directory (or in the Template directory, if you want this for all projects you generate) and uncomment the line that includes the Atlas module:
Then run generateProjects.bat in your project folder.