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 - strongdrink

Pages: [1] 2 3
1
Graphics / FIXED undefined reference to sf::RenderWindow::RenderWindow
« on: December 28, 2011, 07:19:52 pm »
This has been fixed after another full rebuild of SFML.. thanks

2
Graphics / FIXED undefined reference to sf::RenderWindow::RenderWindow
« on: December 21, 2011, 10:57:44 pm »
I just fetched the git source today, and still no luck.. I am on Arch Linux, if that helps...

3
Graphics / FIXED undefined reference to sf::RenderWindow::RenderWindow
« on: December 21, 2011, 08:01:51 pm »
No dice...

4
Graphics / FIXED undefined reference to sf::RenderWindow::RenderWindow
« on: December 21, 2011, 05:05:11 am »
bump

5
Graphics / FIXED undefined reference to sf::RenderWindow::RenderWindow
« on: December 17, 2011, 05:48:20 am »
g++ obj/badguy.o obj/player.o obj/main.o -lsfml-system -lsfml-network -lsfml-window -lsfml-graphics -o bin/hungrybubble

6
Graphics / FIXED undefined reference to sf::RenderWindow::RenderWindow
« on: December 16, 2011, 05:23:21 am »
Hello all
I just pulled from github, and when I compile I get the following error
Code: [Select]

undefined reference to sf::RenderWindow::RenderWindow(sf::VideoMode, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, sf::ContextSettings const&)



My code is as so

Code: [Select]
sf::RenderWindow window(sf::VideoMode(640, 480), "Name");


tx

7
General / SFML2 SegFaults on Clear
« on: September 19, 2011, 12:04:40 am »
Ok, I compiled from source and its all good...

KTHXBYE!

8
General / SFML2 SegFaults on Clear
« on: September 18, 2011, 11:19:07 pm »
Yes, glxgears runs fine.

9
General / SFML2 SegFaults on Clear
« on: September 13, 2011, 02:21:14 pm »
It just gives a differant hex address every time

Code: [Select]

$ g++ -g -o main main.cpp -lGL -lGLU -lsfml-graphics -lsfml-window -lsfml-system && ./main
0x104ab30
$ g++ -g -o main main.cpp -lGL -lGLU -lsfml-graphics -lsfml-window -lsfml-system && ./main
0x24cbb30
$ g++ -g -o main main.cpp -lGL -lGLU -lsfml-graphics -lsfml-window -lsfml-system && ./main
0x176eb30
$ g++ -g -o main main.cpp -lGL -lGLU -lsfml-graphics -lsfml-window -lsfml-system && ./main
0x838b30

10
General / SFML2 SegFaults on Clear
« on: September 13, 2011, 04:48:20 am »
Still no dice :S Laurent!! :P

11
General / SFML2 SegFaults on Clear
« on: September 13, 2011, 02:36:32 am »
No dice. Still segments

12
General / SFML2 SegFaults on Clear
« on: September 13, 2011, 12:55:44 am »
bump

13
General / SFML2 SegFaults on Clear
« on: September 11, 2011, 02:12:51 pm »
Ok, here is my gdb output.

Code: [Select]

(gdb) run
Starting program: /home/elijah/cplusplus/test/main
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff728b69c in sf::RenderTarget::Clear(sf::Color const&) () from /usr/lib/libsfml-graphics.so.2
(gdb) bt
#0  0x00007ffff728b69c in sf::RenderTarget::Clear(sf::Color const&) () from /usr/lib/libsfml-graphics.so.2
#1  0x0000000000400e02 in main () at main.cpp:26
(gdb)

14
General / SFML2 SegFaults on Clear
« on: September 11, 2011, 04:02:59 am »
Greetings

  I'm having an issue with running SFML apps.
  They compile with no problem, but when I run them, it segFaults on window.Clear();

main.cpp
Code: [Select]

#include <SFML/Graphics.hpp>

int main() {

// Create the main window
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
 
// Start the game loop
while (window.IsOpened()) {

// Process events
sf::Event event;

while (window.PollEvent(event))  {

// Close window : exit
if (event.Type == sf::Event::Closed) {

window.Close();

}

}

// Clear screen
window.Clear();

// Update the window
window.Display();

}

return EXIT_SUCCESS;

}


and to compile i use

g++ -g -o main main.cpp -lGL -lGLU -lsfml-system -lsfml-window -lsfml-graphics && ./main

15
Graphics / error: ‘App’ does not name a type O_o
« on: September 09, 2011, 10:20:06 pm »
Ok I got it... App.Create needed to be inside main.. thanks! :P

Pages: [1] 2 3