I would like to know the "#includes" I have to use for the final tutorial aplication and what libraries I should install and lastly what command should I use to compile and link my file.
I wish you understood my question

Thanks a lot.
Moderators: CEGUI MVP, CEGUI Team
Sairon wrote:When on the matter of the tutorials / samples. I think it would be nice if a VS solution file would be supplied, sure one can manually set this up and create a project for every sample, but it would be sweet if this came from the get go.
build_samples_vs2003.bat
build_samples_vs2005.bat
build_samples_vs2008.bat
Code: Select all
#include <CEGUI.h>
#include <CEGUIDefaultResourceProvider.h>
#include <RendererModules/OpenGLGUIRenderer/openglrenderer.h>
Code: Select all
#include <XMLParserModules/XercesParser/CEGUIXercesParser.h>
CrazyEddie wrote:Sairon wrote:When on the matter of the tutorials / samples. I think it would be nice if a VS solution file would be supplied, sure one can manually set this up and create a project for every sample, but it would be sweet if this came from the get go.
If you're talking about our samples that come with CEGUI, if you are using the source packages / svn code, you can get premake to generate a solution for the CEGUI samples by executing one of the following in the makefiles/premake directory:build_samples_vs2003.bat
build_samples_vs2005.bat
build_samples_vs2008.bat
Alternatively you can edit makefiles/premake/config.lua and set the option to include the samples in the main solution prior to generating the main solution.
If you're an SDK user, you should look in the Projects/Win directory
HTH
CE.
Code: Select all
E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake>premake --file samples.lua --target vs2008
** samples.lua: samples.lua:7: module 'helpers.lua' not found:
no field package.preload['helpers.lua']
no file '.\helpers\lua.lua'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles premake\lua\helpers\lua.lua'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake\lua\helpers\lua\init.lua'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake\helpers\lua.lua'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake\helpers\lua\init.lua'
no file '.\helpers\lua.dll'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake\helpers\lua.dll'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake\loadall.dll'
no file '.\helpers.dll'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake\helpers.dll'
no file 'E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake\loadall.dll'
** Script failed to run, ending.
E:\Programmi\Projects\CEGUI\CEGUI-0.6.2\makefiles\premake>pause
Code: Select all
require("helpers.lua")
require("config.lua")
Code: Select all
dofile("helpers.lua")
dofile("config.lua")
CrazyEddie wrote:2) Edit the samples.lua file and change these lines:Code: Select all
require("helpers.lua")
require("config.lua")
toCode: Select all
dofile("helpers.lua")
dofile("config.lua")
Users browsing this forum: No registered users and 12 guests