Tge +tlk + Sqllite Problems
by Rojalee · in Torque Game Engine · 04/19/2006 (2:09 pm) · 11 replies
Ok here's the clicker.
I bought TLK, and now i'm finding it incompatible with my TGE+SQLLite.
I've tried 2x to incorporate TLK with the others, but the process takes so long, and is so tedious,
That I can't do it.
I'm trying to start with a good base for my game.
I thought TLK would be it.
I've also tried using the prebuilt TGE+TLK, then adding SQLLite to it.
37 errors.....
not good.
Anyone have any ideas?
Thanks,
Jason
I bought TLK, and now i'm finding it incompatible with my TGE+SQLLite.
I've tried 2x to incorporate TLK with the others, but the process takes so long, and is so tedious,
That I can't do it.
I'm trying to start with a good base for my game.
I thought TLK would be it.
I've also tried using the prebuilt TGE+TLK, then adding SQLLite to it.
37 errors.....
not good.
Anyone have any ideas?
Thanks,
Jason
About the author
#2
04/19/2006 (2:27 pm)
Can you compile TGE+TLK by itself first to make sure your compiler is setup correctly?
#3
The problem is, the TLK documentation said to get WinMerge...etc...
I tried that, and WinMerge just locks up on me.
TLK didn't have any documentation (other than the WinMerge idea) to compile it.
However, I have compiled TGE and SQLLite.
04/20/2006 (4:07 am)
Ok...The problem is, the TLK documentation said to get WinMerge...etc...
I tried that, and WinMerge just locks up on me.
TLK didn't have any documentation (other than the WinMerge idea) to compile it.
However, I have compiled TGE and SQLLite.
#4
04/20/2006 (4:17 am)
Have you got other changes in there that you need to keep? Because otherwise you could just take the files that come with TLK, ie a ready to go TGE+TLK merge, and add SQLite to it.
#5
now I have a new one.
unable to substantiate non-conobject SqLLite
but I think my real problem is this:
am I supposed to add sqlite.dll to the VC Project somewhere?.
04/20/2006 (4:31 am)
Ok solved that problem.now I have a new one.
unable to substantiate non-conobject SqLLite
but I think my real problem is this:
am I supposed to add sqlite.dll to the VC Project somewhere?.
#6
(Not in your project)
04/20/2006 (5:13 am)
You put sqlite.dll in the folder with your executable. ;)(Not in your project)
#7
so that is not my problem.
The compile didn't give me any errors. It did give me 8 warnings, all in the unicode.cc file.
Do i have to create the Database?
Do i have to create the ODBC?
or is that done inside the engine?
04/20/2006 (5:16 am)
Ok then...so that is not my problem.
The compile didn't give me any errors. It did give me 8 warnings, all in the unicode.cc file.
Do i have to create the Database?
Do i have to create the ODBC?
or is that done inside the engine?
#9
1) sqlite.openDatabase("myNewDB");
and
2)sqliteTest("myNewDB");
according to the post, both should have created a DB....
but all i'm getting is an error.
1) unable to find object sqlite, looking for function openDatabase
2) tutorial.base/server/sqlite.cs (5) : unable to instantiate non-conobject class SQLiteObject.
Error: Failed to create SQLiteObject. sqliteTest aborted.
04/20/2006 (5:36 am)
I tried both the 1) sqlite.openDatabase("myNewDB");
and
2)sqliteTest("myNewDB");
according to the post, both should have created a DB....
but all i'm getting is an error.
1) unable to find object sqlite, looking for function openDatabase
2) tutorial.base/server/sqlite.cs (5) : unable to instantiate non-conobject class SQLiteObject.
Error: Failed to create SQLiteObject. sqliteTest aborted.
#10
- SQLiteObject.cc
- SQLiteObject.h
- sqlite.lib
Then add them into your project through whatever programme you compile with?
Then, compile TGE?
If so, everything should work as long as you have sqlite.dll in the same folder as TGE.exe. :)
04/20/2006 (6:23 am)
Did you add the three files into your engine/console directory?- SQLiteObject.cc
- SQLiteObject.h
- sqlite.lib
Then add them into your project through whatever programme you compile with?
Then, compile TGE?
If so, everything should work as long as you have sqlite.dll in the same folder as TGE.exe. :)
#11
I followed the Tut exactly.
Thats what I can't understand.
I'm going back to a base TGE and and SQL..
I'm not going to worry about TLK,
Thanks for you help.
Edit: problem solved.
Thanks all.
04/20/2006 (9:41 am)
Yes..I followed the Tut exactly.
Thats what I can't understand.
I'm going back to a base TGE and and SQL..
I'm not going to worry about TLK,
Thanks for you help.
Edit: problem solved.
Thanks all.
Torque Owner Ben Lewis
I took a stock TGE 1.4, added some sqllite intergration and other bits for my game, then merged in the TLK changes.
Can you describe what errors you are getting, it might help people understand why it isnt working