Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - wmbuRn

#51
So i made it its working


void AnimatedPicture( tgui::Gui& gui )
{
tgui::AnimatedPicture::Ptr AnimatedPicture(gui);

AnimatedPicture->addFrame("/home/xwm/Frames/cloud001.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud002.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud003.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud004.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud005.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud006.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud007.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud008.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud009.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud010.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud011.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud012.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud013.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud014.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud015.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud016.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud017.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud018.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud019.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud020.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud021.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud022.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud023.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud024.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud025.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud026.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud027.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud028.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud029.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud030.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud031.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud032.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud033.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud034.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud035.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud036.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud037.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud038.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud039.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud040.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud041.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud042.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud043.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud044.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud045.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud046.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud047.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud048.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud049.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud050.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud051.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud052.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud053.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud054.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud055.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud056.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud057.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud058.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud059.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud060.jpg", sf::milliseconds(30));
AnimatedPicture->addFrame("/home/xwm/Frames/cloud061.jpg", sf::milliseconds(30));
AnimatedPicture->setSize(800, 530);
AnimatedPicture->play();
AnimatedPicture->setLooping(true);
}

// in main

tgui::Gui gui(window);
    AnimatedPicture(gui);
}

But the app take 471mb in Ram. Is that normal or i did something wrong ?

with respect
wmbuRn
#52
I am an idiot. :)

i keep trying

sf::Time frameDuration = sf::milliseconds(30);
tgui::AnimatedPicture::addFrame("clouds001.jpg", frameDuration);


Thank you for your answer. :)
#53
Little help on animated pictures please :)

I read class reference here: https://tgui.eu/dcmtn/v0.6/classtgui_1_1AnimatedPicture.html#details

Is somebody wiling to post simple code to load just one picture, ill do the rest ? picture/code is worth 1.000 words they said xD


void AnimatedPicture( tgui::Gui& gui )
{

// your code here please :)

}

I never understand classes definitions and usage on those links. Incase somebody think i will use c++/SFML/tGui without knowleadge of pointers, classes, functions, and arrays he is wrong :) ] :)

thank you in advance
wmbuRn
#54
Yeah, i forgot to call animation on button click [ on callback.id == 3 ] so it is working now.In full :)


if (callback.id == 3)
{
jump 1;
}

// latter when callbacks are done

if (jump > 0)
            {
            tgui::Panel::Ptr mainScreen = gui.get("mainScreen");
            tgui::Button::Ptr Group1 = mainScreen->get("Group1");
            Group1->setPosition(220, 555 - rand() % 20);
            jump = jump +1;
            }
            if (jump == 20)
            {
            tgui::Panel::Ptr mainScreen = gui.get("mainScreen");
            tgui::Button::Ptr Group1 = mainScreen->get("Group1");
                jump = 0;
               Group1->setPosition(220, 555);
            }


It does animation. :)

Thank You
#55
So .. animations ? Simple ones. I tried


int jump = 1;
    if (jump > 0)
    {
    button->setPosition(480, 560);
    button->setPosition(480, 540);
    if (++jump == 500)
                jump = 0;
            }


i tried

button->setPosition(480, 560);
button->setPosition(480, 540);
button->setPosition(480, 560);
button->setPosition(480, 540);
// and copy past like 15 times :)

And it wont move on the Y Vector. It just load last position and stays there :)
i also used

screen.setFramelimit(30);


I know there is code for making ANimated Picture [https://tgui.eu/dcmtn/v0.6/classtgui_1_1AnimatedPicture.html] but i cant use that for Buttons [Clickable Objects]
Whoever answer just answer with yes it is possible OR no its not possible. :)

Thank you in advance
with respect
wmbuRn
#56
1. Will report back when start adding sql to projects. So far i am still a newb in SFML and tGui.

2. Yup i allready separated folders and set locations in code to load config files, and separate config for each .png file. WIll try to add hoverImage and other stuff i need for buttons latter today
Quote
Loading from memory is just not possible with the current design. The whole texture managment is build on top of the fact that images are loaded from files. So I would have to find a new design for the texture managment and I would have to change the config files to support this. I'm not even sure if I will be able to add this to the next version.

Dont worry about it. :) you allready made awesome lib for gui :) Thank you for your answer :)
#57
Title says it all.

1. Is it possible to use sql libs, take something from databases and assign value/valuess to widet like combobox? If its possible i will learn myself how to do that :)

2. Lots of data/resources i needed for application is scatered in folder, i know i can arrange them into folders like
Data/Pictures
Data/Buttons etc etc etc
But is it possible to add libs like physfs ? And can tgui load from memory? I know sfml can loadFromStream, but is this possible with tGui?

thanks in advance
wmbuRn
#58
Ah ok, my appologies than :)
#59
Solved with your previous post :)
#60
Now that explains everything. Thank you very much texus!


btw you made little typo
it was:
editBoxPassword->setPasswordCharacter('*');

it should be:
editBoxPassword->setPasswordChar('*');

no biggi :)
#61
Thank you. I will learn it eventualy. There is another simple problem. I tried googling it first but there is no info about it

So first [log in screen from tutorial] calls void function and display everything from there. So new screen that pop up after typing correct username and passsword. How to display new gui elements, and not the old ones? And how to call new gui elements to be drawn on new screen ?

I cant find tutorial for it either
#62
So i made login from tutorial, and more:

if (loginCallback.id == 1)
            {
                // Get the username and password
                tgui::EditBox::Ptr editBoxUsername = gui.get("Username");
                tgui::EditBox::Ptr editBoxPassword = gui.get("Password");

                sf::String username = editBoxUsername->getText();
                sf::String password = editBoxPassword->getText();

                a = Doit(a); // simple decrypter, since value for a and b is stored as variable
                b = Doit(b); // so a and b without Doit function have encrypted values
            if (username == a && password == b)
            {
            loginScreen.close();
            mainScreen.create(sf::VideoMode(800, 600), "A new Title");
            }

            if (username != a || password != b)
            {
            sf::sleep(sf::seconds(1));
            shaking = 1;
            }

So old window [loginScreen] get closed, and new window [mainScreen] get created. So i made new
(while (mainScreen.isOpen))
{
    // awesome stuff here like events and callback
}

But new window start taking 80% of cpu. Its not directly related to tGui, [it is indirectly]
And i added mainScreen.setFramerateLimit(30); everywhere but it is still using 70-80% of CPU. Untila i start clicking inside empty window than CPU usage goes to 1% for this app, until i stop clicking, then it goes back to 70-80% . :)
So.. any idea what am i doing wrong ? if needed I can upload entire project and post link here. :)
#63
Ok i found black.conf and i editet some lines, and i was able to display half of picture i had in mind :) So i just need some information so i will try to add custom buttons for my project. What this means:

NormalImage_L  = "Black.png" (  0,  25,  50, 50)  << 0?, 25?, 50?,  50? I also notices that Formbuilder uses black.conf  and every change directly changes formbuilder gui. SO teach me or point me where to read how and what to edit in black.conf to get desired evect [ new buttons and items]

And i did check split image, but i am interested in loading entire picture [ since it is only 1 icon ]
#64
Is it possible to set tooltip when you hover over button or any other widget?

Can i make my own buttons or i have to use default ones? And is it possible to change buttons to display pictures? I made some sfml application that displays 60x60 sprites [showing my team mate how the buttons should look], here is image of what i was thinking:  https://s23.postimg.org/fya019k97/this_buttons.png

So is it somehow possible to make those sprites a clickable objects? Or it is possible to make tgui buttons to look like that?

Thank you in advance
with respect
wmbuRn
#65
Help requests / Re: Shaking window
09 July 2013, 19:29:55
Yup you did. It is working, thank you :)
#66
Help requests / Shaking window
09 July 2013, 19:18:37
I started same topic on SFML forum. But i think this topic should be written here since its tGui realted.

so:

#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(400, 300), "win");

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed) window.close();
        }

        window.setPosition(sf::Vector2i(100 + rand() % 25, 100 + rand() % 25));

        window.clear(sf::Color::Black);
        window.display();
    }

    return 0;
}

that code is working, its pure SFML. It produces shaking the entire window.

Then implemented in SFML with tGui doesnt work:

while (screen.isOpen())
    {
        sf::Event event;
        while (screen.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                screen.close();

            // Pass the event to all the tgui stuff
            gui.handleEvent(event);
        }

        // The callback loop
        tgui::Callback callback;
        while (gui.pollCallback(callback))
        {
            // Make sure tha callback comes from the button
            if (callback.id == 1)
            {
                // Get the username and password
                tgui::EditBox::Ptr editBoxUsername = gui.get("Username");
                tgui::EditBox::Ptr editBoxPassword = gui.get("Password");

                sf::String username = editBoxUsername->getText();
                sf::String password = editBoxPassword->getText();

                if (username == "" && password == "")
                {
                  // clear the entire window and set new stuff to draw.
                }
            }
            if (callback.id == 2)
            {
             screen.setPosition(sf::Vector2i(100 + rand() % 25, 100 + rand() % 25));
            } // end if callback.id == 2 
        }

        screen.clear();

        // Draw all created tgui stuff
        gui.draw();

        screen.display();
    }

So basic idea is: when somebody click login with wrong username or password  i want window to shake left - right - left - right like in most linux program when you miss the pasword / username.
  if (callback.id == 2)  - Thats tGui button, its button [labeled: exit] but i will implement stuff there and when its working will move it to (callback.id == 1) which is actual login button. So my code  wont shake the window. It just move the screen one time. If needed i can provide entire code, or entire working directory.
#67
Installation help / Re: gcc errors in linux
09 July 2013, 19:06:39
Will download 0-6dev from github and will give it a try, and will report back. If needed you can count on me for testing new builds.

Clean build. Here is the log : https://pastebin.com/NurxgWmu
#68
Installation help / Re: gcc errors in linux
09 July 2013, 01:14:13
Yes, that was the problem. libGL.so and nvidia drivers. Thank you guys.

0.5.2 compiled without any error. will try 0.6-dev and will report back. Thank you again for your support

0.6-dev get some warnings but it iscompiled and working. Here is entire build log if you are  or if somebody is interested in warnings :)

https://pastebin.com/v3TgzUHT
#69
Installation help / Re: gcc errors in linux
09 July 2013, 00:43:01
tgui 0.5.1 is working. thank you guys. Will do the linking the libGl.so and will try to compile 0.5.2 and 0.6-dev and will report back. So we can know is that problem with libGl.so, >> More info, better sofwtare :)

Thank you again for spending time on my problems :)
#70
Installation help / Re: gcc errors in linux
09 July 2013, 00:25:33
I have nVidia Graphics:  Card: NVIDIA G92 [GeForce 8800 GT] X.Org: 1.11.3 driver: nvidia Resolution: 1680x1050@59.9hz
           GLX Renderer: GeForce 8800 GT/PCIe/SSE2/3DNOW! GLX Version: 3.3.0 NVIDIA 310.40


sudo dpkg -l libgl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name              Version           Description
+++-=================-=================-==================================================
un  libgl-dev         <none>            (no description available)
un  libgl1            <none>            (no description available)
ii  libgl1-mesa-dev   8.0.4-0ubuntu0.6  free implementation of the OpenGL API -- GLX devel
un  libgl1-mesa-dev-l <none>            (no description available)
un  libgl1-mesa-dev-l <none>            (no description available)
ii  libgl1-mesa-dri   8.0.4-0ubuntu0.6  free implementation of the OpenGL API -- DRI modul
un  libgl1-mesa-dri-d <none>            (no description available)
un  libgl1-mesa-dri-e <none>            (no description available)
ii  libgl1-mesa-glx   8.0.4-0ubuntu0.6  free implementation of the OpenGL API -- GLX runti
un  libgl1-mesa-glx-l <none>            (no description available)
un  libgl1-mesa-glx-l <none>            (no description available)
un  libgl1-mesa-glx-n <none>            (no description available)
un  libgl1-mesa-swx11 <none>            (no description available)
un  libgl1-nvidia-alt <none>            (no description available)
ii  libglade2-0       1:2.6.4-1ubuntu1. library to load .glade files at runtime
ii  libglapi-mesa     8.0.4-0ubuntu0.6  free implementation of the GL API -- shared librar
un  libglew-dev       <none>            (no description available)
un  libglew1          <none>            (no description available)
un  libglew1.5-dev    <none>            (no description available)
ii  libglew1.6        1.6.0-4           OpenGL Extension Wrangler - runtime environment
ii  libglew1.6-dev    1.6.0-4           OpenGL Extension Wrangler - development environmen
rc  libglew1.8        1.8.0-1ubuntu2    OpenGL Extension Wrangler - runtime environment
ii  libglib2.0-0      2.32.3-0ubuntu1   GLib library of C routines
ii  libglib2.0-bin    2.32.3-0ubuntu1   Programs for the GLib library
ii  libglib2.0-data   2.32.3-0ubuntu1   Common files for GLib library
ii  libglib2.0-dev    2.32.3-0ubuntu1   Development files for the GLib library
un  libglib2.0-doc    <none>            (no description available)
rc  libglibmm-2.4-1c2 2.32.0-0ubuntu1   C++ wrapper for the GLib toolkit (shared libraries
un  libglide3         <none>            (no description available)
un  libglu-dev        <none>            (no description available)
un  libglu1           <none>            (no description available)
ii  libglu1-mesa      8.0.4-0ubuntu0.6  Mesa OpenGL utility library (GLU)
ii  libglu1-mesa-dev  8.0.4-0ubuntu0.6  Mesa OpenGL utility library -- development files


all Gl files :)

There is 0.5.1-1 on ppa launchpad, and will try them :)
#71
Installation help / Re: gcc errors in linux
09 July 2013, 00:19:59
I am knowm murphy. [murphy law :) ]

here is full output of compiling 0.5.2 : [ i can use pastebin if needed]

Scanning dependencies of target tgui
[  2%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/TGUI.cpp.o
[  5%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Objects.cpp.o
[  8%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Label.cpp.o
[ 11%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Picture.cpp.o
[ 14%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Button.cpp.o
[ 17%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Checkbox.cpp.o
[ 20%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/RadioButton.cpp.o
[ 23%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/EditBox.cpp.o
[ 26%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Slider.cpp.o
[ 29%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Scrollbar.cpp.o
[ 32%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/ListBox.cpp.o
[ 35%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/LoadingBar.cpp.o
[ 38%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/ComboBox.cpp.o
[ 41%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/TextBox.cpp.o
[ 44%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/SpriteSheet.cpp.o
[ 47%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/AnimatedPicture.cpp.o
[ 50%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/AnimatedButton.cpp.o
[ 52%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/SpinButton.cpp.o
[ 55%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Slider2D.cpp.o
[ 58%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Tab.cpp.o
[ 61%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/ChatBox.cpp.o
[ 64%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/InfoFileParser.cpp.o
[ 67%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/EventManager.cpp.o
[ 70%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/TextureManager.cpp.o
[ 73%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Group.cpp.o
[ 76%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/GroupObject.cpp.o
[ 79%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Panel.cpp.o
[ 82%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/ChildWindow.cpp.o
[ 85%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Grid.cpp.o
[ 88%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Window.cpp.o
[ 91%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Form.cpp.o
Linking CXX shared library ../../lib/libtgui.so
[ 91%] Built target tgui
Scanning dependencies of target FormBuilder
[ 94%] Building CXX object src/TGUI/FormBuilder/CMakeFiles/FormBuilder.dir/main.cpp.o
[ 97%] Building CXX object src/TGUI/FormBuilder/CMakeFiles/FormBuilder.dir/Properties.cpp.o
[100%] Building CXX object src/TGUI/FormBuilder/CMakeFiles/FormBuilder.dir/FormBuilder.cpp.o
make[2]: *** No rule to make target `/usr/lib/i386-linux-gnu/libGL.so', needed by `src/TGUI/FormBuilder/FormBuilder'.  Stop.
make[1]: *** [src/TGUI/FormBuilder/CMakeFiles/FormBuilder.dir/all] Error 2
make: *** [all] Error 2

mesa:

sudo apt-get install libgl1-mesa-dev
[sudo] password for hidden:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgl1-mesa-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#72
Installation help / Re: gcc errors in linux
09 July 2013, 00:08:51
I updated sfml, and 97% went fine of make. Here is the short log:

[ 67%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Container.cpp.o
/home/hidden/TGUI-master/src/TGUI/Container.cpp: In copy constructor 'tgui::Container::Container(const tgui::Container&)':
/home/hidden/TGUI-master/src/TGUI/Container.cpp:44:47: warning: declaration of 'copy' shadows a member of 'this' [-Wshadow]

[ 70%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/ContainerWidget.cpp.o
/home/hidden/TGUI-master/src/TGUI/ContainerWidget.cpp: In copy constructor 'tgui::ContainerWidget::ContainerWidget(const tgui::ContainerWidget&)':
/home/hidden/TGUI-master/src/TGUI/ContainerWidget.cpp:43:65: warning: declaration of 'copy' shadows a member of 'this' [-Wshadow]

[ 72%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Panel.cpp.o
/home/hidden/TGUI-master/src/TGUI/Panel.cpp: In copy constructor 'tgui::Panel::Panel(const tgui::Panel&)':
/home/hidden/TGUI-master/src/TGUI/Panel.cpp:50:35: warning: declaration of 'copy' shadows a member of 'this' [-Wshadow]

[ 75%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/ChildWindow.cpp.o
/home/hidden/TGUI-master/src/TGUI/ChildWindow.cpp: In copy constructor 'tgui::ChildWindow::ChildWindow(const tgui::ChildWindow&)':
/home/hidden/TGUI-master/src/TGUI/ChildWindow.cpp:59:53: warning: declaration of 'copy' shadows a member of 'this' [-Wshadow]

[ 78%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Grid.cpp.o
/home/hidden/TGUI-master/src/TGUI/Grid.cpp: In copy constructor 'tgui::Grid::Grid(const tgui::Grid&)':
/home/hidden/TGUI-master/src/TGUI/Grid.cpp:46:32: warning: declaration of 'copy' shadows a member of 'this' [-Wshadow]


[ 91%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/MessageBox.cpp.o
/home/hidden/TGUI-master/src/TGUI/MessageBox.cpp: In copy constructor 'tgui::MessageBox::MessageBox(const tgui::MessageBox&)':
/home/hidden/TGUI-master/src/TGUI/MessageBox.cpp:48:50: warning: declaration of 'copy' shadows a member of 'this' [-Wshadow]
Linking CXX shared library ../../lib/libtgui.so
[ 91%] Built target tgui
Scanning dependencies of target FormBuilder


make[2]: *** No rule to make target `/usr/lib/i386-linux-gnu/libGL.so', needed by `src/TGUI/FormBuilder/FormBuilder'.  Stop.
make[1]: *** [src/TGUI/FormBuilder/CMakeFiles/FormBuilder.dir/all] Error 2
make: *** [all] Error 2

everything else compiled without single warning or error

that was 0.6-dev version , will try to build 0.5.2 version
#73
Installation help / Re: gcc errors in linux
08 July 2013, 23:33:12
All to the newest version according to apt :) also all versions are OK since i installed sfml from .deb file.
#74
Installation help / Re: gcc errors in linux
08 July 2013, 23:31:14
It was stable branch and it contained 2.0.1 of sfml, [ not a RC] so i will try sfml from development and if thats not working will compile source myself and will report back. Thank you for your answer
#75
Installation help / Re: gcc errors in linux
08 July 2013, 23:19:36
I found .deb files from ppa lauchpad from. There was sfml 2.0 and tgui 0.4.2-2 , so my sfml version is definatly current. 0.4.2 wasnt tested enought since formbuilder wont start. window just flashes and nothing happends. Will download sfml and will compile it and will report in few minutes.