Page 3 of 4

Posted: Fri May 16, 2008 8:05 am
by tukaram
Hi Acki,

I thought v1.4 is complete but there is no chatbox and
the listbox does not contain setItemColor... :(
I also found out that I need to call setOverrideFont in listbox
else an error will be flag in the draw routine of the listbox :(


--Tuks--

Posted: Fri May 16, 2008 9:02 am
by sp00n
in Irrlicht 1.4 you already have:
IGUIListbox.h
virtual void setItemOverrideColor (u32 index, EGUI_LISTBOX_COLOR colorType, const video::SColor &color)=0
set all item colors of specified type at given index to color

virtual void setItemOverrideColor (u32 index, const video::SColor &color)=0
set all item colors at given index to color
I also found out that I need to call setOverrideFont in listbox
else an error will be flag in the draw routine of the listbox
which error do you have? i haven't any error with last extensions:)

Posted: Fri May 16, 2008 1:39 pm
by Acki
yes, spoon is right !!! ;)

for the chat box I'm not sure if I will convert it...
but I'll check for how much work it would be... ;)

maybe I'll do a new one when I have a need for it... :lol:

Posted: Fri May 16, 2008 11:36 pm
by tukaram
Got it Acki thanks..

just one more, how did you get to compile audiere in codeblocks,
I got linking error if I use the default audiere.lib, this does mean
I have to recompile the audiere source under codeblocks too?

Posted: Sat May 17, 2008 12:38 am
by Acki
no, it should work without any problems...
but maybe you'll have to rename the lib file...
"audiere.lib" is a name convention used by MSVC, for example...
MinGW/Gcc uses the name "libAudiere.a" instead !!!
So just rename the file, or select it explicide in the settings... ;)

Posted: Sat May 17, 2008 1:10 am
by tukaram
wow it works.. compiled 100%
thanks Acki.
no wonder those sheeps keeps on adding,
i guess you doesn't sleep :)

Posted: Mon May 19, 2008 2:05 am
by tukaram
Hi again Acki,
Have you ever tried to compile this with MSVC++?
Codeblocks works well but trying to compile this with VC++ 2008 Express,
produces a lot of compile error's. :(

-------
D:\Microsoft Visual Studio 9.0\VC\include\xdebug(32) : warning C4229: anachronism used : modifiers on data are ignored
D:\Microsoft Visual Studio 9.0\VC\include\xdebug(32) : error C2365: 'operator new' : redefinition; previous definition was 'function'
D:\Microsoft Visual Studio 9.0\VC\include\xdebug(32) : error C2078: too many initializers
D:\Microsoft Visual Studio 9.0\VC\include\xdebug(32) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
D:\Microsoft Visual Studio 9.0\VC\include\xdebug(32) : error C2143: syntax error : missing ';' before '('
D:\Microsoft Visual Studio 9.0\VC\include\xdebug(32) : error C2226: syntax error : unexpected type 'size_t'

Posted: Mon May 19, 2008 1:48 pm
by Acki
tukaram wrote:Have you ever tried to compile this with MSVC++?
No, sorry I don't use MSVC...
But there are severeal other users they use it with no problems (I think)...
And after a short "Google" I found this for you:
http://www.gamedev.net/community/forums ... _id=421625
so it doesn't seem to depend on IrrExtensions, but on your setup/includings (probably with stdafx.h)...

Posted: Mon May 19, 2008 4:28 pm
by CuteAlien
I had the same error recently when I tried to add some STL into my irrlicht version. The basic reason for that sort of error is usually that someone did redefine new. For example in Irrlicht you have the following in irrTypes.h

Code: Select all

// memory debugging
#if defined(_DEBUG) && defined(IRRLICHT_EXPORTS) && defined(_MSC_VER) && \
	(_MSC_VER > 1299) && !defined(_IRR_DONT_DO_MEMORY_DEBUGGING_HERE)
	
	#define CRTDBG_MAP_ALLOC
	#define _CRTDBG_MAP_ALLOC
	#define DEBUG_CLIENTBLOCK   new( _CLIENT_BLOCK, __FILE__, __LINE__)
	#include <stdlib.h>
	#include <crtdbg.h>
	#define new DEBUG_CLIENTBLOCK
#endif 
Such stuff is used to enable sane leakchecks in Visual Studio (otherwise you don't get the real code lines where a memory leak happened in VS). Though I usually add it in into each .cpp file instead into an header as this sort of stuff does unfortunately conflict with the STL implementation from Microsoft. I can use STL in my own project even if I use Irrlicht (not even sure why it works there...), but I don't seem to be able to add STL code into irrlicht anymore since that code got added.

So I guess that maybe IrrExtensions added something similar? Or maybe this is even caused by the code above from Irrlicht? Sometimes it's possible to work around that, by including the stl headers before that define gets included. If that's not possible for some reason I haven't found another solution to avoid that conflict. Actually I even spend 2 days recently rewriting code because I found no solution...

Posted: Tue May 20, 2008 1:09 am
by tukaram
Got it!
There's a problem in audiere.h which is
the combination of include <string> , include <vector>, std::string and
maybe sum ifdefs, and compiling it under debug mode.
I dont know how to solve it further.

But I succeed in compiling it under Release mode, with
no modification in audiere.h.
Also include vfw32.lib in the link and all went well.. :)

Posted: Sun Jun 29, 2008 8:02 am
by TimVasko
I don't mean to revive old topics, but were you able to port the Tab control fixes to version 1.4.1? I tried tab extension but whatever it added wasn't really what it claimed to be and didn't compile. It added some font settings... was really looking for the buttons that Dark Rain made for the Tab Control (version 1.2 of Irrlicht).

Once again, appologies for reviving a 2 month old topic.

Posted: Thu Oct 02, 2008 7:35 pm
by Acki
OK, I just updated the main post for v2.4 on 2.10.2008 !!! ;)

I'm sorry for the many changes in the last few days !!! :oops:

Posted: Sat Jun 27, 2009 7:43 am
by Nakid
Hello,
I'm using your chatbox and :
error C2065: 'EGUIET_CHAT_BOX' : undeclared identifier

Can you help me ? :)

Posted: Sat Jun 27, 2009 2:01 pm
by Acki
Nakid wrote:Hello,
I'm using your chatbox and :
error C2065: 'EGUIET_CHAT_BOX' : undeclared identifier

Can you help me ? :)
hmm, that's strange, as it should be "IrrExt_CHATBOX" !!! :shock:
what Irrlicht version are you using and how did you apply the chatbox to the engine (I assume with IrrExtensions, but maybe by hand) ???

well, it was EGUIET_CHAT_BOX until Irrlicht v1.4, so probably you're using an older version ???
in this case I would suggest you to switch to Irrlicht v1.5... ;)
the reason is that I took the chat box out of my Extensions for a while so it wasn't supported for some Irrlicht versions and I added it again with v1.5, sorry...

Posted: Sat Oct 31, 2009 8:34 pm
by christianclavet
Hi, Acki.

I was able to create a pre-compiled IRRlicht.DLL and required files using Acki Extensions and IRRlicht 1.6.

I was not able to recompile the DLL at first because I had an error at line 387 of "CSceneNodeAnimatorCameraFPS.cpp" Was telling me I had a const error. I replaced the "kms" value with "8" and then it compiled.

I had also some problems compiling the docs (was only include AABOX into the docs and the tutorial) Seem to be fixed now, have the full docs of 1.6 + your extensions.

I've created an archive with the IRRlicht.DLL, the .LIB file, the include folder and the CHM file. I've included almost all available extension except: CAMERA FPS animator patch (since I've gotten warning), and the Joystick support. The DLL support DX9,OPENGL, Burning and the software renderer, all fileformat should be supported.

I've also had a problem getting on your site. I don't have access to the links. I had to look at the source of the HTML to get the link to the download page. I'm using Internet Explorer 8.

Here is the Archive 5.6Mb on my server.
http://www.clavet.org/forum/download/file.php?id=102

Edit:
Converted the examples so they can be opened and compiled into MSVC. There are 2 example I was not able to compile (Clock and the TinyXml examples). The functions were not into the DLL. The archive is the same as the other but contain also the examples binary and sources for MSVC. I had to change some code that were not compiling for certain changes in occured in IRRlicht 1.6

Here is the link to it.
http://www.clavet.org/forum/download/file.php?id=104 12.8Mb

Regards,