Welcome, Guest. Please login or register. Did you miss your activation email?

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.


Messages - yup790

Pages: [1]
1
General / Re: Tutorial not helping
« on: June 17, 2013, 07:22:39 pm »
Solved.  I manually installed the sfml libary to standered path - at least, I think I did it manually, the sudp apt-get install thing might have done it.  Then with code::blocks I chose sfml project.

I want to thank the hatchet for his/her help

2
General / Re: Tutorial not helping
« on: June 16, 2013, 07:54:28 pm »
Still not working  :(
so far:
I have downloaded code blocks and g++ from the ubuntu app store and this works with c++ standard
I have tried sfml 1.6 from app store
I have downloaded sfml 2.0
I have tried all above

in cmake this error occurred
CMake Error at CMakeLists.txt:4 (add_subdirectory):
  add_subdirectory given source "bash-completion" which is not an existing
  directory.


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

3
General / Re: Tutorial not helping
« on: June 16, 2013, 01:34:30 pm »
Quote
We already told you what to do, if ubuntu automatically installed SFML 1.6 then uninstall it and compile from the source.  ;)

How do you do this? 

4
General / Re: Tutorial not helping
« on: June 16, 2013, 08:03:19 am »
did that it says I have the latest version.  I have also downloaded it from the sfml website and tried linking it to code::blocks but it doesn't work.

5
General / Re: Tutorial not helping
« on: June 15, 2013, 09:46:08 pm »
I only started with Linux yesterday.  Please, I am a n00b!

Can someone just tell me what to do.

6
General / Re: Tutorial not helping
« on: June 15, 2013, 06:32:00 pm »
It automatically installed all the libraries from the ubuntu software manager.  The default code-blocks program works but no other program I have tried.  I followed the above links and they didn't help.

7
General / Tutorial not helping
« on: June 15, 2013, 04:30:04 pm »
I am working through thye window tutorial:
#include <SFML/Window.hpp>

int main()
{
    sf::Window window(sf::VideoMode(800, 600), "My window");

    // run the program as long as the window is open
    while (window.isOpen())
    {
        // check all the window's events that were triggered since the last iteration of the loop
        sf::Event event;
        while (window.pollEvent(event))
        {
            // "close requested" event: we close the window
            if (event.type == sf::Event::Closed)
                window.close();
        }
    }

    return 0;
}

and these errors occurred:
class sf::Window has no member named "is open"
and the same error for other members.


The code is copied straight from the tutorial.

I am using linux Ubuntu with codeblocks.

Please help

Pages: [1]
anything