IrrExtensions >> not for V1.3 !!!

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Fice
Posts: 5
Joined: Tue Jun 20, 2006 7:01 pm

Post by Fice »

Hi,

I get the following errors when recompiling Irrlicht with Visual C++ 2005 Express. I'm using this compiler for 2 days, so write slowly or i won't get it ;)

I get these linker errors

Code: Select all

CXAnimationPlayer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall irr::scene::IAnimatedMeshX::useCMeshBones(class irr::core::array<class irr::core::matrix4> *,bool)" (?useCMeshBones@IAnimatedMeshX@scene@irr@@UAEXPAV?$array@Vmatrix4@core@irr@@@core@3@_N@Z)
CXAnimationPlayer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall irr::scene::IAnimatedMeshX::getBones(class irr::core::array<class irr::core::matrix4> *)" (?getBones@IAnimatedMeshX@scene@irr@@UAEXPAV?$array@Vmatrix4@core@irr@@@core@3@@Z)
.\..\Release/Irrlicht.dll : fatal error LNK1120: 2 unresolved externals
I had some other unresolveld symbols before, but i needed hours to find out how to add ne libs to the linker. But these Symbol are from Irrlicht, so what do i have to change?

Btw: I'm using Irrlicht for 2 weeks and i haven't done any changes to the source code or to the project settings
qBiN
Posts: 9
Joined: Sun Jun 18, 2006 10:45 am

Post by qBiN »

Acki wrote:You're using both lib types (static and dynamic) ???
Then only one of these types should not be compiled, the other one should work, right?
I compiled static then I compiled dynamic.Using static.
Well, dynamic and static uses different "Irrlicht.h" files !!!
Why?
Just create the dynamic project and copy "Irrlicht.h" to your include folder.
Then create the static project, rename "Irrlicht.h" to something like "Irrlicht_static.h" and copy it to your include folder, too...
Why I could not (can't) simple #include <irrlicht.h>?
Problem removed.thx man.
ps:preved medved...
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

qBiN wrote:Why I could not (can't) simple #include <irrlicht.h>?
Maybe because there are different declarations for dll imports/exports for static and dynamic !?!?!
Fice wrote:I get the following errors when recompiling Irrlicht with Visual C++ 2005 Express.
Well, this error is known to me... :shock:
But since IrrExt was written for MinGW (gcc) I don't know what this error caused by !?!?! :cry:

Some others had the same problem with MSVC++, but I don't know if they solved it and if so, how ???
Last edited by Acki on Tue Jun 20, 2006 8:06 pm, edited 1 time in total.
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
qBiN
Posts: 9
Joined: Sun Jun 18, 2006 10:45 am

Post by qBiN »

Sorry,but I need help again.In past project I include old lib,and now I patched Irrlicht source(replace ansi to unicode char,becose Irrlicht don't support Russian in EditBox etc) and recompiled.I create Irrlicht.dll libIrrlicht.a libIrrlicht.def then i make libIrrlicht.exp libIrrlicht.lib (VC include utility lib.exe)I compiled my project,but I have that error.I copy irrlicht.h and rename to irrlicht_.h,include lib file but linker get error.
qBiN
Posts: 9
Joined: Sun Jun 18, 2006 10:45 am

Post by qBiN »

In MinGW code(Irrwizzard framework lite) compiled and linked success(i linked by hands,in C::B have error too...),but I must link in VC....
HELP!!!
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Because of own needs I added separate colors for button text !!!

!!! New version, demo and update are avilable now !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

And another extension was just released (again ;) ) !!!

Each IGUICheckBox can now have its own text color and font !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
dawasw
Posts: 357
Joined: Tue Aug 10, 2004 4:39 pm
Location: Poland

Post by dawasw »

Man u are the best!
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Thanx !!! 8)

Well, why stopping when I have a run !?!?! :lol:

The same extension now for IGUIComboBox !!!

Also MSVC should now compile (thx to Ixen for the fix) !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

I just changed the code for creating an Irrlicht device within a win32 window !!!

The problem was that the screen resolution was not taken from the creation parameter, but from the window itself !!!
So if you create a Irrlicht device with resolution 800*600 and your desktop has another resolution, the resolution from the desktop was taken !!!
So it didn't matter what resolution you defined, it was ignored and the desktop resolution was taken...

Now the resolution you define with the creation parameter is taken !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Finally I updated my IrrExtensions to Irrlicht V1.1 !!! 8)
Please read the main thread for more informations !!! ;)

But now I have a little problem: the new created DLLs are more than 4MB great !?!?!
I didn't change any defines for debug...
Well, at least it works !!! :lol:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

FINALLLYYYY :)

i thought you gave up :lol:

greets,
Halan

edit: can compile it :cry: i get :

Code: Select all

C:\Users\Heiko\Documents\irrlichtSVN\source\Irrlicht\CGUIEnvironment.cpp In member function `virtual irr::gui::IGUISkin* irr::gui::CGUIEnvironment::createSkin(irr::gui::EGUI_SKIN_TYPE)': 
304 C:\Users\Heiko\Documents\irrlichtSVN\source\Irrlicht\CGUIEnvironment.cpp cannot allocate an object of type `irr::gui::CGUISkin' 
304 C:\Users\Heiko\Documents\irrlichtSVN\source\Irrlicht\CGUIEnvironment.cpp   because the following virtual functions are abstract: 
264 C:\Users\Heiko\Documents\irrlichtSVN\source\Irrlicht\include\IGUISkin.h  virtual void irr::gui::IGUISkin::draw3DTabButton(irr::gui::IGUIElement*, bool, const irr::core::rect<irr::s32>&, const irr::core::rect<irr::s32>*, irr::gui::EGUI_VERTICAL_ALIGNMENT) 
276 C:\Users\Heiko\Documents\irrlichtSVN\source\Irrlicht\include\IGUISkin.h  virtual void irr::gui::IGUISkin::draw3DTabBody(irr::gui::IGUIElement*, bool, bool, const irr::core::rect<irr::s32>&, const irr::core::rect<irr::s32>*, irr::s32, irr::gui::EGUI_VERTICAL_ALIGNMENT) 
 C:\Users\Heiko\Documents\irrlichtSVN\source\Irrlicht\MakefileDev.cgw [Build Error]  [DevCpp/obj/CGUIEnvironment.o] Error 1 
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Hmmm,
what is your compiler ???
Also it looks like you're using the SVN version !?!?!
I don't know anything about the structure of the SVN version, the extensions are made for the normal Irrlicht version, so it's possible that other versions don't work !!!

edit: oh, I saw you're using Dev... ;)
I just updated the Code::Blocks project (what I suggest you to change to) !!!
Well, I'll check IrrExtensions with Dev (what I'll have to install first), too...
With the MSVC project I can't test it, because I don't have MSVC, so I need help from someone who uses this...

edit2: I just tested DevCpp and it works with no problems !!!
So it must depand on your Irrlicht version, sorry !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

ok thanks i try the normal version.

btw: you should maybe contact niko or hybrid and helf/force them to implent some of your stuff in the standart version of irrlicht

greets,
Halan
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

I already contacted Niko when I created the CustomBones...
He was impressed of it, but didn't add it to Irrlicht... :cry:
This was with Irrlicht V0.9 !!!

Maybe if enough people bother Niko to implement it he has no choice !?!?! :lol:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply