How to start a new project

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

Deathjam4
Just popping in
Just popping in
Posts: 8
Joined: Fri Sep 26, 2014 02:08

How to start a new project

Postby Deathjam4 » Fri Sep 26, 2014 02:15

OK i looked threw the entire wiki page and it has a lot of usefull information... only its missing something important... What Do I Need to Link To The Visual Studio Project And What Library's Do I need From This Gui????????? You guys really kinda just jumped into the the documentation without telling people how to properly link and start the dam thing. I would strongly suggest making a video on how to properly setup this gui program and It will greatly reduce the thousands of awkward questions people ask on how to get this program to work.

Please fill me in step by step what i need up till the point where i start doing any coding since that is obviously not any of my issues. THANK YOU TO ALL THE ONES WHO RESPOND IN ADVANCE!

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: How to start a new project

Postby lucebac » Fri Sep 26, 2014 08:59

You have to add the following folders to your include dirs:
  1. cegui_source/cegui/include
  2. cegui_source/dependencies/include
  3. cegui_source/build/include

And you need to link to the following libraries:
  1. CEGUIBase-0
  2. CEGUICoreWindowRendererSet
  3. your CEGUI renderer of choice

EDIT: removed xml parser and image codec, as Kulik said
Last edited by lucebac on Fri Sep 26, 2014 11:20, edited 1 time in total.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: How to start a new project

Postby Kulik » Fri Sep 26, 2014 11:15

XML parser and image codec are runtime loaded plugins, there is no need to link to them. Other than that lucebac is right.

We seem to be missing a tutorial regarding this in the official docs, one should probably be added. Are you willing to start such a document?

User avatar
Ident
CEGUI Team
Posts: 1995
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: How to start a new project

Postby Ident » Fri Sep 26, 2014 18:20

Deathjam4 wrote:What Do I Need to Link To The Visual Studio Project And What Library's Do I need From This Gui?????????

One question mark is usually enough for one question. That said, you can see whathe SampleBrowser links to and includes. This should give you a pretty good idea. I agree though that more info on this could be added. Would you be so kind to make a Wiki page regarding this ? We can guide you through this further, if lucebac's suggestions didnt fully help you already.
CrazyEddie: "I don't like GUIs"

Deathjam4
Just popping in
Just popping in
Posts: 8
Joined: Fri Sep 26, 2014 02:08

Re: How to start a new project

Postby Deathjam4 » Sat Sep 27, 2014 01:08

Thanks guys
Yea it helped i can see what i can link for this or maybe i can contact there support and bring it to there attention.

Cheers and once again thanks for The Help

User avatar
Ident
CEGUI Team
Posts: 1995
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: How to start a new project

Postby Ident » Sat Sep 27, 2014 07:01

Deathjam4 wrote:Thanks guys
Yea it helped i can see what i can link for this or maybe i can contact there support and bring it to there attention.

Cheers and once again thanks for The Help

We are the support. Who do you wanna contact...
CrazyEddie: "I don't like GUIs"

Deathjam4
Just popping in
Just popping in
Posts: 8
Joined: Fri Sep 26, 2014 02:08

Re: How to start a new project

Postby Deathjam4 » Tue Sep 30, 2014 00:03

a couple things i just need cleared up here i have about 4 cegui folders that follow from the first one ... why is it like this and which is the proper folder to link. I have it working i just don't understand why everything has to be so disorganized. there is no reason for 4 folders called the same thing buried in the same folder

User avatar
Ident
CEGUI Team
Posts: 1995
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: How to start a new project

Postby Ident » Tue Sep 30, 2014 13:09

I have no idea what you are complaining about. I assume you do not understand how things must work in order to support cross-platform usability and in order to have non-conflicting includes "CEGUI/String.h" vs just "String.". If you refer to the build folder's "CEGUI" folder, then I can assure you this is the only way to go. You can always copy the built headers over to the regular ones.. You are complaining about Non-Issues.
CrazyEddie: "I don't like GUIs"

Deathjam4
Just popping in
Just popping in
Posts: 8
Joined: Fri Sep 26, 2014 02:08

Re: How to start a new project

Postby Deathjam4 » Fri Oct 03, 2014 21:57

is there something simalaur to this forums post to help me start with a visual studio 2013 directx 11 project ?
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Raven%27s+CEGUI+Tutorial

User avatar
Ident
CEGUI Team
Posts: 1995
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: How to start a new project

Postby Ident » Sat Oct 04, 2014 09:42

Deathjam4 wrote:is there something simalaur to this forums post to help me start with a visual studio 2013 directx 11 project ?
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Raven%27s+CEGUI+Tutorial

There is https://www.youtube.com/watch?v=VaD-MQJLtWk and there is the API docu and there is the SampleBrowser and there are sample applications made by lucebac in v0-8 and default. You can create them via CMake.
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 17 guests