Game Development Community

Modernization Kit Beta Thread 2

by ArmedGeek · in Torque Game Engine · 06/27/2007 (8:46 pm) · 344 replies

I think it is way past time to create a new thread for MK.

The original thread can be found here www.garagegames.com/mg/forums/result.thread.php?qt=58532

Modernization Kit website : tmk.superiorcode.com/
Username: torqueUser
Password: tMK60152
#261
06/26/2008 (6:14 am)
@Nathan: I don't own AFX, so the fix I've posted above for DTS shaders is not AFX-proof. It might not be too hard to fix though (if that is the problem), as you'd only have to look at the various reference functions, calling TSMesh::render(), and change them accordingly.
#262
06/26/2008 (6:23 am)
Actually, it's completely in, and the only problem I had with it (blurred zodiacs) is fixed by setting the bloom quality and multiplier to zero. Also, if you make them negitive, it can make for some really neat effects:
img504.imageshack.us/img504/310/screenshot00800001wi6.th.png
#263
07/05/2008 (1:03 am)
Hey i just got up and running with modernization kit for 1.5.2

im surprised to see its already over a year old..

whats new? their original site seems to be dead

also i got it running but for some reason the animated characters seem to be EXTREMELY bright

also they seem to be ignoring the the shading/darkness of the ground/area they are in, and are always super bright regardless of wether they are inside or outside
#264
07/07/2008 (10:07 am)
Thanks for this wonderful resource! I got it up and running in RTS Starter Kit 1.52 on Linux (have to test Win32 compile).

But I've got the same problem as Eric "Intangir" Rutherford, the units are brighter then their surroundings and seem to glow. This glow looks like it has something to do with seeing double as the glow seems like a ghost of the seem object just a few pixels above the original unit.

And another problem we both have is that the units ignore shading/darkness. I've implemented day/night system but the units keep being bright (but that problem existed before implementing this one so that one isn't due to this resource!

Thanks again,
#265
07/07/2008 (11:55 am)
Heres two threads (about the same thing) to fix that shading issue i had

http://www.garagegames.com/mg/forums/result.thread.php?qt=76803

http://www.garagegames.com/mg/forums/result.thread.php?qt=48572

with this fix the shading/lighting seems to be exactly as it is on windows

i also do still notice a really faint .. thing surrounding the character when he stands infront of the sky, i think thats the bloom settings and not a bug
#266
07/07/2008 (2:04 pm)
Yeah, that's bloom, and you can turn it off, lessen it, or even inverse it!
#267
07/07/2008 (2:51 pm)
Quote:Heres two threads (about the same thing) to fix that shading issue i had

http://www.garagegames.com/mg/forums/result.thread.php?qt=76803

http://www.garagegames.com/mg/forums/result.thread.php?qt=48572

with this fix the shading/lighting seems to be exactly as it is on windows

i also do still notice a really faint .. thing surrounding the character when he stands infront of the sky, i think thats the bloom settings and not a bug

It fixes the over bright issue I had. So thanks for the links. Another thing I can remove from the "issue" list :).

I will look into the bloom as it doesn't work well with the day night implemented right now... The bloom is alway there even when it's night!

Thanks for the help,
#268
07/07/2008 (3:21 pm)
Probably just change the bloom as you change your day/night

is your day night stuff slow/gradual changes? or that 3 phase one i saw
#269
07/07/2008 (3:36 pm)
It's this resource by Sam Iredale which has gradual changes... I will look into setting the bloom settings based on the position of the sun!

Thanks for the help so far,
#270
07/21/2008 (11:11 am)
Whenever I try to load a interior, I get this error:

img159.imageshack.us/img159/5210/picture1wa0.png
What does that mean?

I am using:

Mac 1.5 Leapord
Torque OS X 1.5.2
#271
07/21/2008 (12:07 pm)
I looked a bit higher and found that the release version gets rid of the error. But now there is 274 errors at compile:

Line Location mkASMTests.h:9: cppunit/extensions/HelperMacros.h: No such file or directory
Line Location mkASMTests.h:13: error: 'CppUnit' is not a class or namespace
Line Location mkASMTests.h:14: error: invalid base-class specification
Line Location mkASMTests.h:14: error: 'TestFixture' is not a class or namespace
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:17: error: invalid data member initialization
Line Location mkASMTests.h:17: error: 'testVFLoad' was not declared in this scope
Line Location mkASMTests.h:17: error: conflicts with previous declaration 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:18: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:18: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:18: error: invalid data member initialization
Line Location mkASMTests.h:18: error: 'testVLoad' was not declared in this scope
Line Location mkASMTests.h:19: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:19: error: invalid data member initialization
Line Location mkASMTests.h:19: error: 'testFLoad' was not declared in this scope
Line Location mkASMTests.h:19: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:20: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:20: error: invalid data member initialization
Line Location mkASMTests.h:20: error: 'testVFCacheLoad' was not declared in this scope
Line Location mkASMTests.h:20: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:21: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:21: error: invalid data member initialization
Line Location mkASMTests.h:21: error: 'testVCacheLoad' was not declared in this scope
Line Location mkASMTests.h:21: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:21: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:22: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:22: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:22: error: 'testFCacheLoad' was not declared in this scope
Line Location mkASMTests.h:22: error: invalid data member initialization
Line Location mkASMTests.h:24: error: 'testFilepathReturn' was not declared in this scope
Line Location mkASMTests.h:24: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:24: error: invalid data member initialization
Line Location mkASMTests.h:24: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:24: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:26: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:26: error: invalid data member initialization
Line Location mkASMTests.h:26: error: 'testInvalidVFLoad' was not declared in this scope
Line Location mkASMTests.h:26: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:27: error: 'testInvalidFLoad' was not declared in this scope
Line Location mkASMTests.h:27: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:27: error: invalid data member initialization
Line Location mkASMTests.h:27: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:27: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:28: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:28: error: invalid data member initialization
Line Location mkASMTests.h:28: error: 'testInvalidVLoad' was not declared in this scope
Line Location mkASMTests.h:28: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:30: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:30: error: 'testNoVFSupportLoad' was not declared in this scope
Line Location mkASMTests.h:30: error: invalid data member initialization
Line Location mkASMTests.h:30: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:30: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:30: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:31: error: 'testNoVSupportLoad' was not declared in this scope
Line Location mkASMTests.h:31: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:31: error: invalid data member initialization
Line Location mkASMTests.h:31: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:32: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:32: error: invalid data member initialization
Line Location mkASMTests.h:32: error: 'testNoFSupportLoad' was not declared in this scope
Line Location mkASMTests.h:32: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:32: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:34: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:34: error: 'testVError' was not declared in this scope
Line Location mkASMTests.h:34: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:34: error: invalid data member initialization
#272
07/21/2008 (12:09 pm)
Line Location mkASMTests.h:35: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:35: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:35: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:35: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:35: error: invalid data member initialization
Line Location mkASMTests.h:35: error: 'testFError' was not declared in this scope
Line Location mkASMTests.h:36: error: duplicate member 'MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:36: error: declaration of 'int MKASMShaderTests::CPPUNIT_TEST'
Line Location mkASMTests.h:36: error: invalid data member initialization
Line Location mkASMTests.h:36: error: 'testVFError' was not declared in this scope
Line Location mkATITTests.h:9: cppunit/extensions/HelperMacros.h: No such file or directory
Line Location mkATITTests.h:13: error: 'CppUnit' is not a class or namespace
Line Location mkATITTests.h:14: error: 'TestFixture' is not a class or namespace
Line Location mkATITTests.h:14: error: invalid base-class specification
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: invalid data member initialization
Line Location mkATITTests.h:17: error: 'testVFLoad' was not declared in this scope
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:17: error: conflicts with previous declaration 'int MKATITShaderTests::CPPUNIT_TEST'
#273
07/21/2008 (12:09 pm)
Line Location mkATITTests.h:18: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:18: error: 'testVLoad' was not declared in this scope
Line Location mkATITTests.h:18: error: invalid data member initialization
Line Location mkATITTests.h:18: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:19: error: 'testFLoad' was not declared in this scope
Line Location mkATITTests.h:19: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:19: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:19: error: invalid data member initialization
Line Location mkATITTests.h:20: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:20: error: 'testVFCacheLoad' was not declared in this scope
Line Location mkATITTests.h:20: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:20: error: invalid data member initialization
Line Location mkATITTests.h:21: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:21: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:21: error: invalid data member initialization
Line Location mkATITTests.h:21: error: 'testVCacheLoad' was not declared in this scope
Line Location mkATITTests.h:21: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:22: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:22: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:22: error: 'testFCacheLoad' was not declared in this scope
Line Location mkATITTests.h:22: error: invalid data member initialization
Line Location mkATITTests.h:24: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:24: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:24: error: invalid data member initialization
Line Location mkATITTests.h:24: error: 'testFilepathReturn' was not declared in this scope
Line Location mkATITTests.h:24: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:26: error: invalid data member initialization
Line Location mkATITTests.h:26: error: 'testInvalidVFLoad' was not declared in this scope
Line Location mkATITTests.h:26: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:26: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:27: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:27: error: invalid data member initialization
Line Location mkATITTests.h:27: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:27: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:27: error: 'testInvalidFLoad' was not declared in this scope
Line Location mkATITTests.h:28: error: invalid data member initialization
Line Location mkATITTests.h:28: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:28: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:28: error: 'testInvalidVLoad' was not declared in this scope
Line Location mkATITTests.h:30: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:30: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:30: error: invalid data member initialization
Line Location mkATITTests.h:30: error: 'testNoVFSupportLoad' was not declared in this scope
Line Location mkATITTests.h:30: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:30: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:31: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:31: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:31: error: invalid data member initialization
Line Location mkATITTests.h:31: error: 'testNoVSupportLoad' was not declared in this scope
Line Location mkATITTests.h:32: error: invalid data member initialization
Line Location mkATITTests.h:32: error: 'testNoFSupportLoad' was not declared in this scope
Line Location mkATITTests.h:32: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:32: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:32: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:34: error: 'testVError' was not declared in this scope
Line Location mkATITTests.h:34: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:34: error: invalid data member initialization
Line Location mkATITTests.h:34: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:35: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:35: error: invalid data member initialization
Line Location mkATITTests.h:35: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:35: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:35: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:35: error: 'testFError' was not declared in this scope
Line Location mkATITTests.h:36: error: invalid data member initialization
Line Location mkATITTests.h:36: error: declaration of 'int MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:36: error: duplicate member 'MKATITShaderTests::CPPUNIT_TEST'
Line Location mkATITTests.h:36: error: 'testVFError' was not declared in this scope
Line Location mkGLSLTests.h:9: cppunit/extensions/HelperMacros.h: No such file or directory
Line Location mkGLSLTests.h:13: error: 'CppUnit' is not a class or namespace
Line Location mkGLSLTests.h:14: error: invalid base-class specification
Line Location mkGLSLTests.h:14: error: 'TestFixture' is not a class or namespace
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: 'testVFLoad' was not declared in this scope
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: invalid data member initialization
#274
07/21/2008 (12:10 pm)
Line Location mkGLSLTests.h:17: error: (use '=' to initialize static data members)
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:17: error: conflicts with previous declaration 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:18: error: 'testVLoad' was not declared in this scope
Line Location mkGLSLTests.h:18: error: invalid data member initialization
Line Location mkGLSLTests.h:18: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:18: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:19: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:19: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:19: error: invalid data member initialization
Line Location mkGLSLTests.h:19: error: 'testFLoad' was not declared in this scope
Line Location mkGLSLTests.h:20: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:20: error: invalid data member initialization
Line Location mkGLSLTests.h:20: error: 'testVFCacheLoad' was not declared in this scope
Line Location mkGLSLTests.h:20: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:21: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:21: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:21: error: invalid data member initialization
Line Location mkGLSLTests.h:21: error: 'testVCacheLoad' was not declared in this scope
Line Location mkGLSLTests.h:21: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:22: error: invalid data member initialization
Line Location mkGLSLTests.h:22: error: 'testFCacheLoad' was not declared in this scope
Line Location mkGLSLTests.h:22: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:22: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:24: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:24: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:24: error: 'testFilepathReturn' was not declared in this scope
Line Location mkGLSLTests.h:24: error: invalid data member initialization
Line Location mkGLSLTests.h:24: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:26: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:26: error: 'testInvalidVFLoad' was not declared in this scope
Line Location mkGLSLTests.h:26: error: invalid data member initialization
Line Location mkGLSLTests.h:26: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:27: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:27: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:27: error: 'testInvalidFLoad' was not declared in this scope
Line Location mkGLSLTests.h:27: error: invalid data member initialization
Line Location mkGLSLTests.h:27: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:28: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:28: error: invalid data member initialization
Line Location mkGLSLTests.h:28: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:28: error: 'testInvalidVLoad' was not declared in this scope
Line Location mkGLSLTests.h:30: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:30: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:30: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:30: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:30: error: invalid data member initialization
Line Location mkGLSLTests.h:30: error: 'testNoVFSupportLoad' was not declared in this scope
Line Location mkGLSLTests.h:31: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:31: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:31: error: invalid data member initialization
Line Location mkGLSLTests.h:31: error: 'testNoVSupportLoad' was not declared in this scope
Line Location mkGLSLTests.h:32: error: 'testNoFSupportLoad' was not declared in this scope
Line Location mkGLSLTests.h:32: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:32: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:32: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:32: error: invalid data member initialization
Line Location mkGLSLTests.h:34: error: 'testVError' was not declared in this scope
Line Location mkGLSLTests.h:34: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:34: error: invalid data member initialization
Line Location mkGLSLTests.h:34: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:35: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:35: error: 'testFError' was not declared in this scope
Line Location mkGLSLTests.h:35: error: invalid data member initialization
Line Location mkGLSLTests.h:35: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:35: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:35: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:36: error: declaration of 'int MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:36: error: duplicate member 'MKGLSLShaderTests::CPPUNIT_TEST'
Line Location mkGLSLTests.h:36: error: invalid data member initialization
Line Location mkGLSLTests.h:36: error: 'testVFError' was not declared in this scope
Line Location mkVBOTests.h:9: cppunit/extensions/HelperMacros.h: No such file or directory
Line Location mkVBOTests.h:11: error: 'CppUnit' is not a class or namespace
Line Location mkVBOTests.h:12: error: invalid base-class specification
Line Location mkVBOTests.h:12: error: 'TestFixture' is not a class or namespace
Line Location mkVBOTests.h:15: error: invalid data member initialization
Line Location mkVBOTests.h:15: error: 'testDataReload' was not declared in this scope
#275
07/21/2008 (12:37 pm)
I narrowed it down to this directory:

engine/ModernizationKit/UnitTests/

I don't know what is wrong, anyone know?
#276
07/21/2008 (1:51 pm)
I tried removing the folder, but I got a bunch more errors.

Anyone else ever have this problem?
#277
07/21/2008 (3:31 pm)
Yeah that seems to happen a lot. Easily solved though.

Quote:http://sourceforge.net/projects/cppunit is where you'll find cppunit.
MK will build without cppunit by removing the source files related to unit testing from your project.
Quote:After commenting out the UnitTest files (I'm on Windows), everything compiled well.
Quote:getting rid of the UnitTest files worked
Quote:deleted UnitTest folder and mktesting file, and everything compiled without errors.
Quote:you should only be adding the files from the engine/modernizationkit folder to the project not the entire /engine changes that come from it and also delete the files from the UnitTests folder also for example: UnitTests/mkVBOTests.h, macCarbGL.cc, etc
Quote:This is the same mistake I made my first time. You can not include the unit tests...
Quote:Again remember not to select mkTesting.cpp or you'll get other errors on compile.
Quote:you need to ensure you don't include the .\engine\ModernizationKit\mkTesting.cpp file, delete that from your project and you're good to go

It's a lengthy thread, but's it all there. When you deleted the cppunit directory you also need to make sure you don't include the mkTesting.cpp file - remove it from your project.

edit: missed the closing period! ;)
#278
07/21/2008 (4:12 pm)
Yay! It worked!

I am not sure if this is TGEA or TGE...
#279
07/26/2008 (2:41 am)
Is the access username and password not supposed to be private to TGE owners?
I did a search for the modernization kit on google and found this site in one of the first results which shows where to get it and give the login name and password.

torque.realinfo.de/index.php?title=Modernization_Kit
#280
07/26/2008 (8:48 am)
That is strange, and against the EULA.

It's suppose to be private because it has some source code.