Compiling error with VC++ 2005
by Sam M · in Torque Game Builder · 03/25/2006 (8:40 am) · 5 replies
Hey everybody. So I'm trying to compile a release version of TBE Beta 1_1.1 using VC++ 2005. The only change i've made is to the t2d.ico, i've replaced with my own icon. So other than that it's a fresh build. Now when I compile a debug version it comes out fine, it even comes out with the new icon image. However whenever I build/rebuild a release version it doesn't work and i get the following error:
BSCMAKE: error BK1506 : cannot open file '..\..\Link\Release\guiTreeViewCtrl.sbr': No such file or directory
So that's my problem, i'm not sure what to do here. I've tried copying that file over from the debug version but that didn't work. And i've even tried it with a totally brand new build incase I got something wrong. But I got the same message every single time. So any help or advice anyone has would be greatly appreciated, thanks alot.
BSCMAKE: error BK1506 : cannot open file '..\..\Link\Release\guiTreeViewCtrl.sbr': No such file or directory
So that's my problem, i'm not sure what to do here. I've tried copying that file over from the debug version but that didn't work. And i've even tried it with a totally brand new build incase I got something wrong. But I got the same message every single time. So any help or advice anyone has would be greatly appreciated, thanks alot.
#2
03/25/2006 (9:48 am)
I don't have or atleast can't seem to find a "rebuild all" function in VC++ 2005. Do you mean like "rebuild solution" instead of "rebuild T2D"?
#3
You could try beta 2 also, It might not have this problem but I haven't tried yet.
03/26/2006 (11:49 am)
Hey Sam, I had the same problem with 1.1 in VC 2005 Express, what I had to do was right click on the suspect file in the big tree of files to the left, and individually rebuild it, there will be others...You could try beta 2 also, It might not have this problem but I haven't tried yet.
#4
------ Build started: Project: T2D, Configuration: Release Win32 ------
Compiling...
winWindow.cc
..\..\source\platformWin32\winWindow.cc(1507) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
Build log was saved at "file://d:\Beta1_T2D-SDK_1_1\engine\Link\Release\BuildLog.htm"
T2D - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The only thing that's changed in the build is the icon file which i doubt has anything to do with this. Anyone know what the file winWindow.cc is for or what's wrong here? Thanks.
03/26/2006 (8:44 pm)
Okay, i found the offending file, but when i try to compile it by itself it doesn't do anything different. Here's what i get in the output window:------ Build started: Project: T2D, Configuration: Release Win32 ------
Compiling...
winWindow.cc
..\..\source\platformWin32\winWindow.cc(1507) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
Build log was saved at "file://d:\Beta1_T2D-SDK_1_1\engine\Link\Release\BuildLog.htm"
T2D - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The only thing that's changed in the build is the icon file which i doubt has anything to do with this. Anyone know what the file winWindow.cc is for or what's wrong here? Thanks.
#5
Because I'm so nice, Im gonna post a fix:
Right Click on T2D.
Then go into C++ -> Preprocessor and make sure that the first box has
Note: Why would that be changed?
04/08/2006 (11:57 am)
Right...Because I'm so nice, Im gonna post a fix:
Right Click on T2D.
Then go into C++ -> Preprocessor and make sure that the first box has
UNICODE;_CRT_SECURE_NO_DEPRECATEin it.
Note: Why would that be changed?
Torque Owner Jason Cahill
Default Studio Name