Code Editor GUI Component.
Re: Code Editor GUI Component.
200,000 dogecoin reward for fixing
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
-
christianclavet
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Re: Code Editor GUI Component.
Hi, Tecan. Check the IRB Web site, and check the SVN version of IRB. The code editor is working on Linux (no modification). I don't know why you got problems with the virtual functions errors, but it work. If you check our Linux version (C::B project), perhaps you will find what was missing. The latest version of the project run on Irrlicht 1.9SVN.
You can check this thread, Soganatsu-Julien was able to make it work for his project "community play": http://irrlicht.sourceforge.net/forum/v ... =6&t=49383. His project run on Windows and Mac.
Here is a screen from IRB on Ubuntu:

In this screen, the GUI component is the same as the last one distributed so the code was not changed to work on Linux. So the most probable causes:
- Wrong settings in your C::B Irrlicht project
- Using a old version of Irrlicht (Was tested only from 1.8.0 and up, edit checked demo was from 1.7.2!)
- You are not instantiating the object correctly and/or modified the source
EDIT: It seem you used the first old source code I released. I checked it on Ubutu and it did exactly what you said. Using the last source I had of the GUI component (.cpp + .h) I replaced yours and it compiled fine.
Here is the project if you want to check (just replace the path to your Irrlicht distribution so it compile correctly)
http://irrrpgbuilder.sourceforge.net/fi ... Editor.tar
NOTE: This was compiled on Ubuntu 64 bit version. And in the .TAR there is the demo compiled.
You can check this thread, Soganatsu-Julien was able to make it work for his project "community play": http://irrlicht.sourceforge.net/forum/v ... =6&t=49383. His project run on Windows and Mac.
Here is a screen from IRB on Ubuntu:

In this screen, the GUI component is the same as the last one distributed so the code was not changed to work on Linux. So the most probable causes:
- Wrong settings in your C::B Irrlicht project
- Using a old version of Irrlicht (Was tested only from 1.8.0 and up, edit checked demo was from 1.7.2!)
- You are not instantiating the object correctly and/or modified the source
EDIT: It seem you used the first old source code I released. I checked it on Ubutu and it did exactly what you said. Using the last source I had of the GUI component (.cpp + .h) I replaced yours and it compiled fine.
Here is the project if you want to check (just replace the path to your Irrlicht distribution so it compile correctly)
http://irrrpgbuilder.sourceforge.net/fi ... Editor.tar
NOTE: This was compiled on Ubuntu 64 bit version. And in the .TAR there is the demo compiled.
Re: Code Editor GUI Component.
it compiled here aswell, did the demo segfault for you too ?
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
-
christianclavet
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Re: Code Editor GUI Component.
No, I compiled it for Ubuntu 64 bit, it run perfectly here. On what Linux version are you trying to run it?
Re: Code Editor GUI Component.
i switched from svn to irrlicht 1.8.1 and it worked, thanks. something was weird in the current libpng
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
Re: Code Editor GUI Component.
When you get libpng troubles it often helps to do a clean rebuild. I don't know why, but I did run into this a few times already when there had been libpng updates.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
