ceGUI and vs2008

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

shafiee01
Just popping in
Just popping in
Posts: 6
Joined: Thu Mar 26, 2009 11:30
Contact:

ceGUI and vs2008

Postby shafiee01 » Thu Mar 26, 2009 17:23

Hi
i a beginner to ceGUI i got completely mixed up with these huge set of headerFiles,libs,dlls and ... and its amazing for me why such a great library does not have any installation instruction!!!
i got CEGUI-0.6.2 for windows and i build the cegui for vs2008 under "DEBUG_Static" as default after that i put new libs such as OpenGlRenderer(i use OpenGl),CEGUIBase,...at my lib Folder and i linked to them in Linker Input of my solution Properties.
But My problem is when i try to set defaultResourceGroup(CEGUI::Imageset::setDefaultResourceGroup("imagesets");)
i again get linker error!
i think i didn't setup correctly CEGUI for my project! and i don't know which libs or dlls are need and what to do with them!! :roll: :roll:
if anyone help me ....
Thanks a lot!
Sorry for poor English!

shafiee01
Just popping in
Just popping in
Posts: 6
Joined: Thu Mar 26, 2009 11:30
Contact:

Postby shafiee01 » Fri Mar 27, 2009 07:38

it is Amazing!
really no one answer me? :shock:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Fri Mar 27, 2009 09:44

Oh dear, oh dear, oh dear. What have you done?! Yes! It's true, you've managed to antagonise probably the one person you really did not want to.

First of all, sending PMs to me, that effectively demand that I look at your post and answer it - after not even 24 hours have passed - is a sure fire way to get onto my 'list of assholes'. Welcome! You have pride of place, right at the top of that list.

Secondly, this is a forum. Do you have even the slightest clue, at least historically, how such an arrangement works? You can't always expect to get answers immediately; that's not the way a forum works. In fact, you can't expect to get answers at all. If a person comes here and gets help, support and answers to their questions, they are generally thankful that somebody has taken the time to offer that help and/or advice - whether it comes after ten minutes, ten hours or ten days.

You will notice that there are not a huge number of people who are willing (able?) to take the time to answer other people's posts; that's fine, it's a choice for users to come here and help out others, and it's also a choice that I myself do that. I could quite easily not bother coming here at all you know. It's not my job to come here. I don't spend my whole life sitting here waiting for messages to appear on the forum so I can jump on here and answer it immediately; I have far better things to do than waste my time like that.

I come here usually once a day. That's it. I answer the posts I can, the best I can, then I'm done with it. If this is not good enough for the likes of you, that's hard luck; you can either deal with or not, but don't expect any favours from the likes of me.

I'm really not quite sure who you think you are, but you want to wake up and get a clue my friend; demanding answers! :roll:

And, yes, in case you are wondering, I intentionally did not answer your query, and I will not answer it either. You will have to hope someone else does.

CE.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Postby Jamarr » Fri Mar 27, 2009 16:42

My oh my. You really should try to be a bit more patient. No one here is getting paid to help people. And even if they where, it is especially important that you not upset those you need help from. You are just going to dig yourself a deeper hole.

Since I am feeling generous, I will try to help you out a bit. Unfortunately, you already pissed off the most knowledge person here, so I can only offer you some basic advice.

i a beginner to ceGUI i got completely mixed up with these huge set of headerFiles,libs,dlls and ... and its amazing for me why such a great library does not have any installation instruction!!!


First off, none of the open-source projects I have worked with proivde 'installation instructions'. On the development side, you don't really install anything; rather, you copy the headers and libs or source into a directory your compiler/linker can find. It is generally understood that those seeking out third-party libraries already know, or at least have a fundamental understanding, of how to configure their compiler/linker to find these files.

i got CEGUI-0.6.2 for windows and i build the cegui for vs2008 under "DEBUG_Static" as default after that i put new libs such as OpenGlRenderer(i use OpenGl),CEGUIBase,...at my lib Folder and i linked to them in Linker Input of my solution Properties.


See? It sounds like even you have the basic idea. Is there really a need for such mundane instructions?

i got CEGUI-0.6.2 for windows and i build the cegui for vs2008 under "DEBUG_Static" as default after that i put new libs such as OpenGlRenderer(i use OpenGl),CEGUIBase,...at my lib Folder and i linked to them in Linker Input of my solution Properties.
But My problem is when i try to set defaultResourceGroup(CEGUI::Imageset::setDefaultResourceGroup("imagesets")
i again get linker error!


You really should provide as much information as possible when asking for help. Exactly which library files are you linking against? What is the exact linker error? Is this the only error you are getting?

Are you linking against all of the required libs? For example (note that these are the libs _I_ use; yours may differ):
XmlParser: CEGUITinyXMLParser_Static_d.lib
ImageCodec: SILLY_d.lib
ImageCodec: CEGUISILLYImageCodec_Static_d.lib
CeguiBase: CEGUIBase_Static_d.lib
FalagardBase: CEGUIFalagardWRBase_Static_d.lib
Renderer: OpenGLGUIRenderer_Static_d.lib

If you are going to use the static libraries, did you make sure to define CEGUI_STATIC in your project?

Most importantly, did you even bother trying to use the Search feature to see if anyone else has already posted about similar issues on the forums? My guess is you could have already fixed your problem by just searching for relevant terms on the forum.

i think i didn't setup correctly CEGUI for my project! and i don't know which libs or dlls are need and what to do with them!!
if anyone help me ....


You downloaded the vs2008 package did you not? If you where able to compile the project, did it not created a set of library files? Just have your linker point to those files.

Speedo
Just popping in
Just popping in
Posts: 12
Joined: Fri Mar 13, 2009 23:36

Postby Speedo » Fri Mar 27, 2009 20:22

Irony:

I was actually about to reply to this thread last night until I saw him indicate on another forum that he'd already fixed his problem.

shafiee01
Just popping in
Just popping in
Posts: 6
Joined: Thu Mar 26, 2009 11:30
Contact:

Sorryyyyyyyyy

Postby shafiee01 » Fri Mar 27, 2009 20:41

I am sorry!
i apologize ...
after successful build CEGUI i could not find:
CEGUITinyXMLParser_Static_d.lib
and i got these linker error in my program:
Error 15 error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: static double __cdecl CEGUI::SimpleTimer::currentTime(void)" (?currentTime@SimpleTimer@CEGUI@@SANXZ) CEGUIBase_Static_d.lib glut1

Error 16 error LNK2019: unresolved external symbol _createParser referenced in function "private: void __thiscall CEGUI::System::setupXMLParser(void)" (?setupXMLParser@System@CEGUI@@AAEXXZ) CEGUIBase_Static_d.lib glut1

Error 20 error LNK2019: unresolved external symbol _pcre_exec referenced in function "protected: bool __thiscall CEGUI::Editbox::isStringValid(class CEGUI::String const &)const " (?isStringValid@Editbox@CEGUI@@IBE_NABVString@2@@Z) CEGUIBase_Static_d.lib glut1

i think second error is because of missing xml lib, but i don't know reason of other errors!
Thanks A lot

shafiee01
Just popping in
Just popping in
Posts: 6
Joined: Thu Mar 26, 2009 11:30
Contact:

Postby shafiee01 » Fri Mar 27, 2009 20:48

Speedo wrote:Irony:

I was actually about to reply to this thread last night until I saw him indicate on another forum that he'd already fixed his problem.

it think there is no relation between these errors dear!
why u want to tease me!
i dont know what i have done!
sorrrrrrrrrrrrrrrrrrryyyyyyyyyyyy alllllllll people i will never talk about ceGUI again.
is it good?
are satisfied now?
i think u should be teacher for beginners!
because u can make them CHILL very Well ...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sat Mar 28, 2009 09:48

Ok.

Despite some paranoid delusions I may sometimes suffer(!), it's highly unlikely that anybody comes here to the forum with the intention of causing a lot of aggravation or of stirring up bad feelings with myself, the other devs, or other forum members. There are also sometimes undeniable issues with what we might call a 'language barrier', as well as the fact that it's not easy to convey emotional intent when using a purely written medium. I think we can all accept this as part and parcel of life here on the forum.

However, there are certain undeniable issues with the attitude of some people. Yes, there are people on deadlines; we've all been there. The thing is, those deadlines are nobodies problem except the person whose deadline it is - to those people I will say: ask yourself how you got into that situation in the first place, it certainly wasn't us that put you there, and it's not our place to get you out of a bind ;)

As far as wanting 'quick' answers - in general, it's probably not going to happen. We've written CEGUI in our own time, it's a library that's worth many thousands of dollars (to use a currency mostly everyone is familiar with), and we give it away for free (yes this is our choice, and we do it happily). However, just because we have done this, it does not mean we owe anybody anything else. Support is provided via - and only via - this forum, and in the best way we can manage. Remember that the people on here have their own lives to worry about; jobs, families, other projects, they probably also live in different time zones (everyone has to sleep, right?!) If this situation is unacceptable, then alternative libraries that offer something more to your liking should be considered.

Antagonising people (whether intentionally or not) by breaking the forum usage guidelines, or 'bumping' posts after just a few hours, or contacting the devs with sarcastic titled private messages will not get answers any quicker - it just ends up having the opposite effect.

The other thing is, CEGUI is not a beginners library; it's intended for experienced C++ developers. Some of the questions that get posted are rife with evidence of people who are new to programming in general, new to C++, and new to their development environment. While we do not wish to exclude anybody by saying "CEGUI is not for you", we can't also teach you how to program, the intricacies of C++ and how to use your chosen development tools.

Take your linker errors, aside from the XML one (which I'm not certain about), the others should give anybody with experience the clues they need: timeGetTime is a Win32 function, you are missing a lib for that, looking that API up on MSDN will tell you the name of the lib - it takes 2 seconds. The other error mentions 'pcre' that is used by CEGUI for regex facilities, obviously you have missed the pcre(_d).lib - it's not rocket science.

CE.

shafiee01
Just popping in
Just popping in
Posts: 6
Joined: Thu Mar 26, 2009 11:30
Contact:

Postby shafiee01 » Sat Mar 28, 2009 18:05

again i am sorry!
i don't know how to Apologize!
OK i have no linker error now but i have new thing to challenge i use glut-3.7.6_3 because of moue_wheel_up and down but it has conflict with header GL\glut.h when i tried to replace it with mine again i had error beacase of freeglut! finally i surrendered wheel_up and down it compiled correctly but it was terminated with debug error(Abort-retry-Ignore)!
this is my log File:
26/03/2009 19:20:14 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
26/03/2009 19:20:14 (Std) + Crazy Eddie's GUI System - Event log +
26/03/2009 19:20:14 (Std) + (http://www.cegui.org.uk/) +
26/03/2009 19:20:14 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

26/03/2009 19:20:14 (Std) CEGUI::Logger singleton created. (025A5798)
26/03/2009 19:20:14 (Std) ---- Begining CEGUI System initialisation ----
26/03/2009 19:20:14 (Std) CEGUI::ImagesetManager singleton created (025A6818)
26/03/2009 19:20:14 (Std) CEGUI::FontManager singleton created. (025A5D28)
26/03/2009 19:20:14 (Std) CEGUI::WindowFactoryManager singleton created
26/03/2009 19:20:14 (Std) CEGUI::WindowManager singleton created (025A6250)
26/03/2009 19:20:14 (Std) CEGUI::SchemeManager singleton created. (025A62C8)
26/03/2009 19:20:14 (Std) CEGUI::MouseCursor singleton created. (025A64D0)
26/03/2009 19:20:14 (Std) CEGUI::GlobalEventSet singleton created. (025A60C8)
26/03/2009 19:20:14 (Std) CEGUI::WidgetLookManager singleton created. (025A71F0)
26/03/2009 19:20:14 (Std) CEGUI::WindowRendererManager singleton created (025A6320)
26/03/2009 19:20:14 (Std) WindowFactory for 'DefaultWindow' windows added. (67D175C8)
26/03/2009 19:20:14 (Std) WindowFactory for 'DragContainer' windows added. (67D17988)
26/03/2009 19:20:14 (Std) WindowFactory for 'ScrolledContainer' windows added. (67D170B0)
26/03/2009 19:20:14 (Std) WindowFactory for 'ClippedContainer' windows added. (67D17848)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Checkbox' windows added. (67D17488)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/PushButton' windows added. (67D17C08)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/RadioButton' windows added. (67D17CA8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Combobox' windows added. (67D16F68)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/ComboDropList' windows added. (67D17DE8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Editbox' windows added. (67D16E28)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/FrameWindow' windows added. (67D172A8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/ItemEntry' windows added. (67D17528)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Listbox' windows added. (67D17D48)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/ListHeader' windows added. (67D17F28)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (67D17008)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Menubar' windows added. (67D17E88)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/PopupMenu' windows added. (67D17348)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/MenuItem' windows added. (67D16B00)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/MultiColumnList' windows added. (67D17208)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (67D17B68)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/ProgressBar' windows added. (67D17708)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/ScrollablePane' windows added. (67D178E8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Scrollbar' windows added. (67D16EC8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Slider' windows added. (67D177A8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Spinner' windows added. (67D173E8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/TabButton' windows added. (67D17AC8)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/TabControl' windows added. (67D17168)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Thumb' windows added. (67D16CE0)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Titlebar' windows added. (67D16C40)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Tooltip' windows added. (67D16BA0)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/ItemListbox' windows added. (67D17A28)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/GroupBox' windows added. (67D16D88)
26/03/2009 19:20:14 (Std) WindowFactory for 'CEGUI/Tree' windows added. (67D17668)
26/03/2009 19:20:14 (Std) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
26/03/2009 19:20:14 (Std) CEGUI::System singleton created. (025A5120)
26/03/2009 19:20:14 (Std) ---- CEGUI System initialisation completed ----
26/03/2009 19:20:14 (Std) ---- Version 0.6.2 ----
26/03/2009 19:20:14 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based renderer module for CEGUI ----
26/03/2009 19:20:14 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
26/03/2009 19:20:14 (Std) ---- Scripting module is: None ----

and i have this in my console:
"Assertion failed:...ceguisingleton.h line 79
Thanks for you answers!

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sun Mar 29, 2009 09:23

Hi,

When you get the Abort - Retry - Ignore box you should push retry to enter the debugger, then you can get a callstack which will indicate the context of where the issue occurred; posting that information here is important because without it we have no chance of helping (the issue could be - literally - anything).

With regards to the singleton assert, what is the assert expression that fails; this is most important because there are two different assertions used with regards to the singletons. Additionally, debugging into the app to see which line of your code calls into CEGUI that eventually fails the assertion.

As an aside, how come the log you posted is so old?

CE.

shafiee01
Just popping in
Just popping in
Posts: 6
Joined: Thu Mar 26, 2009 11:30
Contact:

Postby shafiee01 » Sat Apr 04, 2009 05:30

CrazyEddie wrote:Hi,

When you get the Abort - Retry - Ignore box you should push retry to enter the debugger, then you can get a callstack which will indicate the context of where the issue occurred; posting that information here is important because without it we have no chance of helping (the issue could be - literally - anything).

With regards to the singleton assert, what is the assert expression that fails; this is most important because there are two different assertions used with regards to the singletons. Additionally, debugging into the app to see which line of your code calls into CEGUI that eventually fails the assertion.

As an aside, how come the log you posted is so old?

CE.

Thank you everything is Ok now!
Thanks A lot.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 13 guests