noobOmat
08-12-2010 13:03:20
Hi,
after some time now i'm going to implement a GUI to my software. After having no special preferences and trying QuickGUI, MyGUI and CEGUI, QuickGUI was the only one which compiled without doing insane stunts and tons of dependencies. I like the slim design so I think I will stick with it.
There is only one Problem left: I'm using TinyXML in my project and so does QuickGUI. This results in a conflict as there are two compiled TinyXML version in my project right now (my own, and the one in the QuickGUI lib). Not being stupid I thought I could just exclude my own TinyXML from the build and hopefully my code fragments which use TinyXML will use the TinyXML from the QuickGUI lib.
Edit: I just tried to compile it again and I was wromg. There are no 'unresolved references', infact the code compiles just fine and runs to the point where I first use TinyXML to read some data from a XML file. Obviously the file is loaded (as no error is given) but the attribute i read is 0 (which it isnt) and then the program crashes. Edit2: Altthough it doesnt crash anymore, still the attributes are not read properly.
After giving this some thought I came to the conclusion that this could be a version conflict problem. The TinyXML I use is a little bit newer than the one in the QuickGUI lib. I will try to copy 'my' TinyXML to the QuickGUI path and recompile the library. Maybe this will help.
Being somewhat of a noob in C++ I was thinking, that it cannot be that I am the only one which uses TinyXML and QuickGUI, so my question is: How to do it in a proper way?
Or as a 'Back to Basics' Question: How to deal with this kind of problem in general?
Edit: Sorry forgot to add this.
QuickGUI 10.8
TinyXML 2.6.1
Ogre 1.7.1
Eclipse CDT 'Wascana build'
@Win7x64
after some time now i'm going to implement a GUI to my software. After having no special preferences and trying QuickGUI, MyGUI and CEGUI, QuickGUI was the only one which compiled without doing insane stunts and tons of dependencies. I like the slim design so I think I will stick with it.
There is only one Problem left: I'm using TinyXML in my project and so does QuickGUI. This results in a conflict as there are two compiled TinyXML version in my project right now (my own, and the one in the QuickGUI lib). Not being stupid I thought I could just exclude my own TinyXML from the build and hopefully my code fragments which use TinyXML will use the TinyXML from the QuickGUI lib.
Edit: I just tried to compile it again and I was wromg. There are no 'unresolved references', infact the code compiles just fine and runs to the point where I first use TinyXML to read some data from a XML file. Obviously the file is loaded (as no error is given) but the attribute i read is 0 (which it isnt) and then the program crashes. Edit2: Altthough it doesnt crash anymore, still the attributes are not read properly.
After giving this some thought I came to the conclusion that this could be a version conflict problem. The TinyXML I use is a little bit newer than the one in the QuickGUI lib. I will try to copy 'my' TinyXML to the QuickGUI path and recompile the library. Maybe this will help.
Being somewhat of a noob in C++ I was thinking, that it cannot be that I am the only one which uses TinyXML and QuickGUI, so my question is: How to do it in a proper way?
Or as a 'Back to Basics' Question: How to deal with this kind of problem in general?
Edit: Sorry forgot to add this.
QuickGUI 10.8
TinyXML 2.6.1
Ogre 1.7.1
Eclipse CDT 'Wascana build'
@Win7x64