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

Pages: 1 2 3 [4] 5
46
Graphics / Error when closing application?
« on: March 23, 2011, 10:38:13 am »
Heres my call stack. Is this a bug or did I do something stupid?

Code: [Select]
> msvcp100d.dll!std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char> > >::put(std::ostreambuf_iterator<char,std::char_traits<char> > _Dest, std::ios_base & _Iosbase, char _Fill, unsigned long _Val)  Line 1105 + 0x21 bytes C++
  msvcp100d.dll!std::basic_ostream<char,std::char_traits<char> >::operator<<(unsigned int _Val)  Line 316 + 0x73 bytes C++
  AdventureGun.exe!sf::priv::GLCheckError(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & file, unsigned int line)  Line 104 + 0x9d bytes C++
  AdventureGun.exe!sf::Image::~Image()  Line 88 + 0x31 bytes C++
  AdventureGun.exe!sf::Font::Page::~Page()  + 0x4e bytes C++
  AdventureGun.exe!std::_Pair_base<unsigned int const ,sf::Font::Page>::~_Pair_base<unsigned int const ,sf::Font::Page>()  + 0x19 bytes C++
  AdventureGun.exe!std::pair<unsigned int const ,sf::Font::Page>::~pair<unsigned int const ,sf::Font::Page>()  + 0x16 bytes C++
  AdventureGun.exe!std::pair<unsigned int const ,sf::Font::Page>::`scalar deleting destructor'()  + 0x16 bytes C++
  AdventureGun.exe!std::_Destroy<std::pair<unsigned int const ,sf::Font::Page> >(std::pair<unsigned int const ,sf::Font::Page> * _Ptr)  Line 64 C++
  AdventureGun.exe!std::allocator<std::pair<unsigned int const ,sf::Font::Page> >::destroy(std::pair<unsigned int const ,sf::Font::Page> * _Ptr)  Line 213 + 0x9 bytes C++
  AdventureGun.exe!std::_Dest_val<std::allocator<std::pair<unsigned int const ,sf::Font::Page> >,std::pair<unsigned int const ,sf::Font::Page> >(std::allocator<std::pair<unsigned int const ,sf::Font::Page> > & _Alval, std::pair<unsigned int const ,sf::Font::Page> * _Pdest)  Line 288 C++
  AdventureGun.exe!std::_Tree<std::_Tmap_traits<unsigned int,sf::Font::Page,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,sf::Font::Page> >,0> >::_Erase(std::_Tree_nod<std::_Tmap_traits<unsigned int,sf::Font::Page,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,sf::Font::Page> >,0> >::_Node * _Rootnode)  Line 1617 + 0x22 bytes C++
  AdventureGun.exe!std::_Tree<std::_Tmap_traits<unsigned int,sf::Font::Page,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,sf::Font::Page> >,0> >::clear()  Line 1416 C++
  AdventureGun.exe!sf::Font::Cleanup()  Line 298 C++
  AdventureGun.exe!sf::Font::~Font()  Line 70 C++
  AdventureGun.exe!`sf::Font::GetDefaultFont'::`2'::`dynamic atexit destructor for 'font''()  + 0xd bytes C++
  msvcr100d.dll!doexit(int code, int quick, int retcaller)  Line 567 C
  msvcr100d.dll!_cexit()  Line 408 + 0xb bytes C
  msvcr100d.dll!__CRTDLL_INIT(void * hDllHandle, unsigned long dwReason, void * lpreserved)  Line 313 C
  msvcr100d.dll!_CRTDLL_INIT(void * hDllHandle, unsigned long dwReason, void * lpreserved)  Line 217 + 0x11 bytes C
  ntdll.dll!7c90118a()
  [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
  ntdll.dll!7c9224ca()
  ntdll.dll!7c910435()
  ntdll.dll!7c91043e()
  ntdll.dll!7c922678()
  kernel32.dll!7c8763bb()
  kernel32.dll!7c87655c()
  kernel32.dll!7c80b729()
  kernel32.dll!7c8763c0()

47
General discussions / SFML 2.0 Threads
« on: March 16, 2011, 03:24:08 am »
I tried the examples from 1.6 but I get this error:

error C2512: 'sf::Thread' : no appropriate default constructor available

Code: [Select]
class MyClass : private sf::Thread
{
public :

    void DoSomething()
    {
        Launch();
    }

private :

    virtual void Run()
    {
        // Do something...
    }
};

48
General discussions / vertical sync
« on: March 14, 2011, 02:21:02 am »
Yeah, its a Thinkpad with an integrated intel chip. I dont know the exact models off hand. So you think there is nothing we can do about it?

49
General discussions / vertical sync
« on: March 12, 2011, 10:07:03 pm »
Yeah, we turned it to always on and still doesnt work. Maybe its a driver issue.

50
General discussions / vertical sync
« on: March 12, 2011, 09:35:18 am »
I am testing on a number of machines and architectures and my windows 7 machine seems to not limit the frame rate on vsync. Does anyone have any idea why this would be happeneing?

51
General discussions / Draw Optimizations
« on: March 12, 2011, 07:56:12 am »
Any hints on how to implement this in sfml =p

52
Graphics / SFML 2.0 image constructor
« on: March 12, 2011, 05:56:59 am »
In 1.6 you could do something like
sf::Image *image = new sf::Image(200,100,sf::Color(0,255,0));

how can you achieve this in 2.0?

Edit: Just found the sf::Image::Create() function. Looks like it will work.

53
General discussions / Window mode runs slower than full screen.
« on: March 12, 2011, 02:04:24 am »
Oh I see. Is that the same for maximized windows? I run at 60 fps when I maximize the window but it runs at about 24 fps when non maximized.

Edit: When I dont cap my frame rate at 60 I get 330 fps when maximized and only 40 fps when non maximized.

54
General discussions / SFML 2.0 with opengl
« on: March 12, 2011, 02:01:46 am »
Im using Box2D physics with SFML 2.0. Im using Box2D's opengl debug draw callbacks. Before I switched to SFML 2.0 from 1.6 the callbacks worked properly. After my switch to SFML 2.0 all the debug draw shapes show up as black in color. Whats even stranger is when I spawn new objects to be drawn, the debug draw changes from black to whatever color the image of the new object is. Has anyone else experience anything like this?

Here is the debug draw code:
Code: [Select]

void DebugDraw::DrawPolygon(const b2Vec2* vertices, int32 vertexCount, const b2Color& color)
{
glColor3f(color.r, color.g, color.b);
glBegin(GL_LINE_LOOP);
for (int32 i = 0; i < vertexCount; ++i)
{
glVertex2f(vertices[i].x * PTM_RATIO, vertices[i].y * PTM_RATIO);
}
glEnd();
}

void DebugDraw::DrawSolidPolygon(const b2Vec2* vertices, int32 vertexCount, const b2Color& color)
{
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glColor4f(0.5f * color.r, 0.5f * color.g, 0.5f * color.b, 0.5f);
glBegin(GL_TRIANGLE_FAN);
for (int32 i = 0; i < vertexCount; ++i)
{
glVertex2f(vertices[i].x * PTM_RATIO, vertices[i].y * PTM_RATIO);
}
glEnd();
glDisable(GL_BLEND);

glColor4f(color.r, color.g, color.b, 1.0f);
glBegin(GL_LINE_LOOP);
for (int32 i = 0; i < vertexCount; ++i)
{
glVertex2f(vertices[i].x * PTM_RATIO, vertices[i].y * PTM_RATIO);
}
glEnd();

}

void DebugDraw::DrawCircle(const b2Vec2& center, float32 radius, const b2Color& color)
{
const float32 k_segments = 16.0f;
const float32 k_increment = 2.0f * b2_pi / k_segments;
float32 theta = 0.0f;
glColor3f(color.r, color.g, color.b);
glBegin(GL_LINE_LOOP);
for (int32 i = 0; i < k_segments; ++i)
{
b2Vec2 v = center + radius * b2Vec2(cosf(theta), sinf(theta));
glVertex2f(v.x * PTM_RATIO, v.y * PTM_RATIO);
theta += k_increment;
}
glEnd();

}

void DebugDraw::DrawSolidCircle(const b2Vec2& center, float32 radius, const b2Vec2& axis, const b2Color& color)
{
const float32 k_segments = 16.0f;
const float32 k_increment = 2.0f * b2_pi / k_segments;
float32 theta = 0.0f;
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glColor4f(0.5f * color.r, 0.5f * color.g, 0.5f * color.b, 0.5f);
glBegin(GL_TRIANGLE_FAN);
for (int32 i = 0; i < k_segments; ++i)
{
b2Vec2 v = center + radius * b2Vec2(cosf(theta), sinf(theta));
glVertex2f(v.x * PTM_RATIO, v.y * PTM_RATIO);
theta += k_increment;
}
glEnd();
glDisable(GL_BLEND);

theta = 0.0f;
glColor4f(color.r, color.g, color.b, 1.0f);
glBegin(GL_LINE_LOOP);
for (int32 i = 0; i < k_segments; ++i)
{
b2Vec2 v = center + radius * b2Vec2(cosf(theta), sinf(theta));
glVertex2f(v.x * PTM_RATIO, v.y * PTM_RATIO);
theta += k_increment;
}
glEnd();

b2Vec2 p = center + radius * axis;
glBegin(GL_LINES);
glVertex2f(center.x * PTM_RATIO, center.y * PTM_RATIO);
glVertex2f(p.x * PTM_RATIO, p.y * PTM_RATIO);
glEnd();

}

void DebugDraw::DrawSegment(const b2Vec2& p1, const b2Vec2& p2, const b2Color& color)
{
glColor3f(color.r, color.g, color.b);
glBegin(GL_LINES);
glVertex2f(p1.x * PTM_RATIO, p1.y * PTM_RATIO);
glVertex2f(p2.x * PTM_RATIO, p2.y * PTM_RATIO);
glEnd();
}

void DebugDraw::DrawTransform(const b2Transform& xf)
{

b2Vec2 p1 = xf.position, p2;
const float32 k_axisScale = 0.4f;
glBegin(GL_LINES);

glColor3f(1.0f, 0.0f, 0.0f);
glVertex2f(p1.x * PTM_RATIO, p1.y * PTM_RATIO);
p2 = p1 + k_axisScale * xf.R.col1;
glVertex2f(p2.x * PTM_RATIO, p2.y * PTM_RATIO);

glColor3f(0.0f, 1.0f, 0.0f);
glVertex2f(p1.x * PTM_RATIO, p1.y * PTM_RATIO);
p2 = p1 + k_axisScale * xf.R.col2;
glVertex2f(p2.x * PTM_RATIO, p2.y * PTM_RATIO);

glEnd();
}

void DebugDraw::DrawPoint(const b2Vec2& p, float32 size, const b2Color& color)
{
glPointSize(size);
glBegin(GL_POINTS);
glColor3f(color.r, color.g, color.b);
glVertex2f(p.x * PTM_RATIO, p.y * PTM_RATIO);
glEnd();
glPointSize(1.0f);
}

void DebugDraw::DrawString(int x, int y, const char *string, ...)
{
//char buffer[128];
//
// va_list arg;
// va_start(arg, string);
// vsprintf(buffer, string, arg);
// va_end(arg);
//
// glMatrixMode(GL_PROJECTION);
// glPushMatrix();
// glLoadIdentity();
// int w = glutGet(GLUT_WINDOW_WIDTH);
// int h = glutGet(GLUT_WINDOW_HEIGHT);
// gluOrtho2D(0, w, h, 0);
// glMatrixMode(GL_MODELVIEW);
// glPushMatrix();
// glLoadIdentity();
//
// glColor3f(0.9f, 0.6f, 0.6f);
// glRasterPos2i(x, y);
// int32 length = (int32)strlen(buffer);
// for (int32 i = 0; i < length; ++i)
// {
// glutBitmapCharacter(GLUT_BITMAP_8_BY_13, buffer[i]);
// }
//
// glPopMatrix();
// glMatrixMode(GL_PROJECTION);
// glPopMatrix();
// glMatrixMode(GL_MODELVIEW);
}

void DebugDraw::DrawAABB(b2AABB* aabb, const b2Color& c)
{
glColor3f(c.r, c.g, c.b);
glBegin(GL_LINE_LOOP);
glVertex2f(aabb->lowerBound.x * PTM_RATIO, aabb->lowerBound.y * PTM_RATIO);
glVertex2f(aabb->upperBound.x * PTM_RATIO, aabb->lowerBound.y * PTM_RATIO);
glVertex2f(aabb->upperBound.x * PTM_RATIO, aabb->upperBound.y * PTM_RATIO);
glVertex2f(aabb->lowerBound.x * PTM_RATIO, aabb->upperBound.y * PTM_RATIO);
glEnd();
}

55
General discussions / Window mode runs slower than full screen.
« on: March 12, 2011, 01:52:15 am »
Does anyone know why fullscreen mode would run faster than windowed?

Also does your video mode resolution affect rendering speeds?

56
General discussions / sfml 2.0 in linux
« on: March 09, 2011, 07:15:40 am »
worked like a charm!
thanks =)

57
General discussions / sfml 2.0 in linux
« on: March 09, 2011, 04:20:51 am »
So I went to test my project on linux today and I am getting some undefined reference errors. I dont see why it would be any different. I create my project files with cmake. It works on windows so shouldnt everything work on linux as well?
Am I missing something?

Quote
WindowImplX11.cpp:(.text+0x1a88): undefined reference to `XDestroyWindow'
WindowImplX11.cpp:(.text+0x1a94): undefined reference to `XFlush'
WindowImplX11.cpp:(.text+0x1abf): undefined reference to `XRRGetScreenInfo'
WindowImplX11.cpp:(.text+0x1ad4): undefined reference to `XRRConfigCurrentConfiguration'
WindowImplX11.cpp:(.text+0x1b09): undefined reference to `XRRSetScreenConfig'
WindowImplX11.cpp:(.text+0x1b11): undefined reference to `XRRFreeScreenConfigInfo'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::~WindowImplX11()':
WindowImplX11.cpp:(.text+0x1b85): undefined reference to `XDestroyIC'
WindowImplX11.cpp:(.text+0x1bab): undefined reference to `XCloseIM'
WindowImplX11.cpp:(.text+0x1bb7): undefined reference to `XCloseDisplay'
WindowImplX11.cpp:(.text+0x1be0): undefined reference to `XFreeCursor'
WindowImplX11.cpp:(.text+0x1bf8): undefined reference to `XDestroyWindow'
WindowImplX11.cpp:(.text+0x1c04): undefined reference to `XFlush'
WindowImplX11.cpp:(.text+0x1c2f): undefined reference to `XRRGetScreenInfo'
WindowImplX11.cpp:(.text+0x1c44): undefined reference to `XRRConfigCurrentConfiguration'
WindowImplX11.cpp:(.text+0x1c79): undefined reference to `XRRSetScreenConfig'
WindowImplX11.cpp:(.text+0x1c81): undefined reference to `XRRFreeScreenConfigInfo'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::~WindowImplX11()':
WindowImplX11.cpp:(.text+0x1cf5): undefined reference to `XDestroyIC'
WindowImplX11.cpp:(.text+0x1d1b): undefined reference to `XCloseIM'
WindowImplX11.cpp:(.text+0x1d27): undefined reference to `XCloseDisplay'
WindowImplX11.cpp:(.text+0x1d48): undefined reference to `XFreeCursor'
WindowImplX11.cpp:(.text+0x1d58): undefined reference to `XDestroyWindow'
WindowImplX11.cpp:(.text+0x1d64): undefined reference to `XFlush'
WindowImplX11.cpp:(.text+0x1d8f): undefined reference to `XRRGetScreenInfo'
WindowImplX11.cpp:(.text+0x1da4): undefined reference to `XRRConfigCurrentConfiguration'
WindowImplX11.cpp:(.text+0x1dd9): undefined reference to `XRRSetScreenConfig'
WindowImplX11.cpp:(.text+0x1de1): undefined reference to `XRRFreeScreenConfigInfo'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::Initialize()':
WindowImplX11.cpp:(.text+0x1e34): undefined reference to `XInternAtom'
WindowImplX11.cpp:(.text+0x1e5a): undefined reference to `XSetWMProtocols'
WindowImplX11.cpp:(.text+0x1e6c): undefined reference to `XOpenIM'
WindowImplX11.cpp:(.text+0x1eb1): undefined reference to `XCreateIC'
WindowImplX11.cpp:(.text+0x1ed0): undefined reference to `XMapWindow'
WindowImplX11.cpp:(.text+0x1edc): undefined reference to `XFlush'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)':
WindowImplX11.cpp:(.text+0x2015): undefined reference to `XOpenDisplay'
WindowImplX11.cpp:(.text+0x20ce): undefined reference to `XCreateWindow'
WindowImplX11.cpp:(.text+0x21be): undefined reference to `XStoreName'
WindowImplX11.cpp:(.text+0x21da): undefined reference to `XInternAtom'
WindowImplX11.cpp:(.text+0x227a): undefined reference to `XChangeProperty'
WindowImplX11.cpp:(.text+0x22d9): undefined reference to `XGrabPointer'
WindowImplX11.cpp:(.text+0x22ff): undefined reference to `XGrabKeyboard'
WindowImplX11.cpp:(.text+0x2361): undefined reference to `XSetWMNormalHints'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)':
WindowImplX11.cpp:(.text+0x2495): undefined reference to `XOpenDisplay'
WindowImplX11.cpp:(.text+0x254e): undefined reference to `XCreateWindow'
WindowImplX11.cpp:(.text+0x263e): undefined reference to `XStoreName'
WindowImplX11.cpp:(.text+0x265a): undefined reference to `XInternAtom'
WindowImplX11.cpp:(.text+0x26fa): undefined reference to `XChangeProperty'
WindowImplX11.cpp:(.text+0x2759): undefined reference to `XGrabPointer'
WindowImplX11.cpp:(.text+0x277f): undefined reference to `XGrabKeyboard'
WindowImplX11.cpp:(.text+0x27e1): undefined reference to `XSetWMNormalHints'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::WindowImplX11(unsigned long)':
WindowImplX11.cpp:(.text+0x28fa): undefined reference to `XOpenDisplay'
WindowImplX11.cpp:(.text+0x294a): undefined reference to `XGetWindowAttributes'
WindowImplX11.cpp:(.text+0x29d2): undefined reference to `XSelectInput'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::WindowImplX11(unsigned long)':
WindowImplX11.cpp:(.text+0x2a9a): undefined reference to `XOpenDisplay'
WindowImplX11.cpp:(.text+0x2aea): undefined reference to `XGetWindowAttributes'
WindowImplX11.cpp:(.text+0x2b72): undefined reference to `XSelectInput'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::Show(bool)':
WindowImplX11.cpp:(.text+0x1625): undefined reference to `XFlush'
WindowImplX11.cpp:(.text+0x164c): undefined reference to `XFlush'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::SetTitle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
WindowImplX11.cpp:(.text+0x1665): undefined reference to `XStoreName'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::SetSize(unsigned int, unsigned int)':
WindowImplX11.cpp:(.text+0x1696): undefined reference to `XFlush'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::SetPosition(int, int)':
WindowImplX11.cpp:(.text+0x16c6): undefined reference to `XFlush'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::SetCursorPosition(unsigned int, unsigned int)':
WindowImplX11.cpp:(.text+0x1713): undefined reference to `XFlush'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::ShowMouseCursor(bool)':
WindowImplX11.cpp:(.text+0x174e): undefined reference to `XFlush'
lib/libsfml-window-s.a(WindowImplX11.cpp.o): In function `sf::priv::WindowImplX11::Initialize()':
WindowImplX11.cpp:(.text+0x1ef8): undefined reference to `XFlush'
lib/libsfml-window-s.a(GlContext.cpp.o): In function `sf::priv::GlContext::New(sf::priv::WindowImpl const*, unsigned int, sf::ContextSettings const&)':
GlContext.cpp:(.text+0x151): undefined reference to `glEnable'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::EnableVerticalSync(bool)':
GlxContext.cpp:(.text+0x9): undefined reference to `glXGetProcAddress'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::MakeCurrent()':
GlxContext.cpp:(.text+0x5e): undefined reference to `glXGetCurrentContext'
GlxContext.cpp:(.text+0x7c): undefined reference to `glXMakeCurrent'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::~GlxContext()':
GlxContext.cpp:(.text+0xa7): undefined reference to `glXGetCurrentContext'
GlxContext.cpp:(.text+0xb9): undefined reference to `glXDestroyContext'
GlxContext.cpp:(.text+0xe5): undefined reference to `XDestroyWindow'
GlxContext.cpp:(.text+0xee): undefined reference to `XFlush'
GlxContext.cpp:(.text+0xfd): undefined reference to `XCloseDisplay'
GlxContext.cpp:(.text+0x119): undefined reference to `glXMakeCurrent'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::~GlxContext()':
GlxContext.cpp:(.text+0x157): undefined reference to `glXGetCurrentContext'
GlxContext.cpp:(.text+0x169): undefined reference to `glXDestroyContext'
GlxContext.cpp:(.text+0x195): undefined reference to `XDestroyWindow'
GlxContext.cpp:(.text+0x19e): undefined reference to `XFlush'
GlxContext.cpp:(.text+0x1ad): undefined reference to `XCloseDisplay'
GlxContext.cpp:(.text+0x1c9): undefined reference to `glXMakeCurrent'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::~GlxContext()':
GlxContext.cpp:(.text+0x207): undefined reference to `glXGetCurrentContext'
GlxContext.cpp:(.text+0x219): undefined reference to `glXDestroyContext'
GlxContext.cpp:(.text+0x24d): undefined reference to `XDestroyWindow'
GlxContext.cpp:(.text+0x256): undefined reference to `XFlush'
GlxContext.cpp:(.text+0x265): undefined reference to `XCloseDisplay'
GlxContext.cpp:(.text+0x279): undefined reference to `glXMakeCurrent'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::CreateContext(sf::priv::GlxContext*, unsigned int, sf::ContextSettings const&)':
GlxContext.cpp:(.text+0x2e0): undefined reference to `XGetWindowAttributes'
GlxContext.cpp:(.text+0x2fd): undefined reference to `XVisualIDFromVisual'
GlxContext.cpp:(.text+0x33b): undefined reference to `XGetVisualInfo'
GlxContext.cpp:(.text+0x431): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x44a): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x463): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x47c): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x495): undefined reference to `glXGetConfig'
lib/libsfml-window-s.a(GlxContext.cpp.o):GlxContext.cpp:(.text+0x4ae): more undefined references to `glXGetConfig' follow
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::CreateContext(sf::priv::GlxContext*, unsigned int, sf::ContextSettings const&)':
GlxContext.cpp:(.text+0x536): undefined reference to `XFree'
GlxContext.cpp:(.text+0x60c): undefined reference to `glXGetProcAddress'
GlxContext.cpp:(.text+0x633): undefined reference to `glXChooseFBConfig'
GlxContext.cpp:(.text+0x652): undefined reference to `XFree'
GlxContext.cpp:(.text+0x676): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x68f): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x6a8): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x6c1): undefined reference to `glXGetConfig'
GlxContext.cpp:(.text+0x711): undefined reference to `XCreateColormap'
GlxContext.cpp:(.text+0x721): undefined reference to `XSetWindowColormap'
GlxContext.cpp:(.text+0x72b): undefined reference to `XFree'
GlxContext.cpp:(.text+0x7e5): undefined reference to `glXCreateContext'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::GlxContext(sf::priv::GlxContext*)':
GlxContext.cpp:(.text+0x9ff): undefined reference to `XOpenDisplay'
GlxContext.cpp:(.text+0xa62): undefined reference to `XCreateWindow'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::GlxContext(sf::priv::GlxContext*)':
GlxContext.cpp:(.text+0xb0f): undefined reference to `XOpenDisplay'
GlxContext.cpp:(.text+0xb72): undefined reference to `XCreateWindow'
lib/libsfml-window-s.a(GlxContext.cpp.o): In function `sf::priv::GlxContext::Display()':
GlxContext.cpp:(.text+0x45): undefined reference to `glXSwapBuffers'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::GetPlayingOffset() const':
Sound.cpp:(.text+0x8a): undefined reference to `alGetSourcef'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::GetLoop() const':
Sound.cpp:(.text+0xb2): undefined reference to `alGetSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::~Sound()':
Sound.cpp:(.text+0x164): undefined reference to `alSourceStop'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::~Sound()':
Sound.cpp:(.text+0x1ec): undefined reference to `alSourceStop'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::~Sound()':
Sound.cpp:(.text+0x26c): undefined reference to `alSourceStop'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::ResetBuffer()':
Sound.cpp:(.text+0x2d8): undefined reference to `alSourceStop'
Sound.cpp:(.text+0x2e7): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::SetBuffer(sf::SoundBuffer const&)':
Sound.cpp:(.text+0x33c): undefined reference to `alSourceStop'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::operator=(sf::Sound const&)':
Sound.cpp:(.text+0x3c7): undefined reference to `alSourceStop'
Sound.cpp:(.text+0x410): undefined reference to `alGetSourcei'
Sound.cpp:(.text+0x428): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::Sound(sf::Sound const&)':
Sound.cpp:(.text+0x50f): undefined reference to `alGetSourcei'
Sound.cpp:(.text+0x527): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::Sound(sf::Sound const&)':
Sound.cpp:(.text+0x58f): undefined reference to `alGetSourcei'
Sound.cpp:(.text+0x5a7): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::Sound(sf::SoundBuffer const&, bool, float, float, sf::Vector3<float> const&)':
Sound.cpp:(.text+0x634): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::Sound(sf::SoundBuffer const&, bool, float, float, sf::Vector3<float> const&)':
Sound.cpp:(.text+0x704): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::SetLoop(bool)':
Sound.cpp:(.text+0x4d): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::SetPlayingOffset(float)':
Sound.cpp:(.text+0xd9): undefined reference to `alSourcef'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::Stop()':
Sound.cpp:(.text+0xe4): undefined reference to `alSourceStop'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::Pause()':
Sound.cpp:(.text+0xf4): undefined reference to `alSourcePause'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::Play()':
Sound.cpp:(.text+0x104): undefined reference to `alSourcePlay'
lib/libsfml-audio-s.a(Sound.cpp.o): In function `sf::Sound::SetBuffer(sf::SoundBuffer const&)':
Sound.cpp:(.text+0x3a1): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::GetChannelsCount() const':
SoundBuffer.cpp:(.text+0x82): undefined reference to `alGetBufferi'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::GetSampleRate() const':
SoundBuffer.cpp:(.text+0xa2): undefined reference to `alGetBufferi'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::SaveToFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
SoundBuffer.cpp:(.text+0xec): undefined reference to `alGetBufferi'
SoundBuffer.cpp:(.text+0x101): undefined reference to `alGetBufferi'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::~SoundBuffer()':
SoundBuffer.cpp:(.text+0x325): undefined reference to `alDeleteBuffers'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::SoundBuffer()':
SoundBuffer.cpp:(.text+0x563): undefined reference to `alGenBuffers'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::SoundBuffer()':
SoundBuffer.cpp:(.text+0x653): undefined reference to `alGenBuffers'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::~SoundBuffer()':
SoundBuffer.cpp:(.text+0x6f5): undefined reference to `alDeleteBuffers'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::Update(unsigned int, unsigned int)':
SoundBuffer.cpp:(.text+0x7ce): undefined reference to `alBufferData'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::SoundBuffer(sf::SoundBuffer const&)':
SoundBuffer.cpp:(.text+0xdd3): undefined reference to `alGenBuffers'
SoundBuffer.cpp:(.text+0xde8): undefined reference to `alGetBufferi'
SoundBuffer.cpp:(.text+0xdfd): undefined reference to `alGetBufferi'
lib/libsfml-audio-s.a(SoundBuffer.cpp.o): In function `sf::SoundBuffer::SoundBuffer(sf::SoundBuffer const&)':
SoundBuffer.cpp:(.text+0x1113): undefined reference to `alGenBuffers'
SoundBuffer.cpp:(.text+0x1128): undefined reference to `alGetBufferi'
SoundBuffer.cpp:(.text+0x113d): undefined reference to `alGetBufferi'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::Write(short const*, unsigned long)':
SoundFile.cpp:(.text+0x255): undefined reference to `sf_write_short'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::OpenRead(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
SoundFile.cpp:(.text+0x305): undefined reference to `sf_close'
SoundFile.cpp:(.text+0x316): undefined reference to `sf_open'
SoundFile.cpp:(.text+0x34b): undefined reference to `sf_strerror'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::OpenRead(void const*, unsigned long)':
SoundFile.cpp:(.text+0x3c5): undefined reference to `sf_close'
SoundFile.cpp:(.text+0x413): undefined reference to `sf_open_virtual'
SoundFile.cpp:(.text+0x453): undefined reference to `sf_strerror'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::GetFormatFromFilename(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
SoundFile.cpp:(.text+0x67f): undefined reference to `pthread_cancel'
SoundFile.cpp:(.text+0x6ea): undefined reference to `pthread_cancel'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::OpenWrite(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)':
SoundFile.cpp:(.text+0xa6d): undefined reference to `sf_close'
SoundFile.cpp:(.text+0xaad): undefined reference to `sf_open'
SoundFile.cpp:(.text+0xb33): undefined reference to `sf_strerror'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::Seek(float)':
SoundFile.cpp:(.text+0x1df): undefined reference to `sf_seek'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::Read(short*, unsigned long)':
SoundFile.cpp:(.text+0x2a1): undefined reference to `sf_read_short'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::~SoundFile()':
SoundFile.cpp:(.text+0x2b9): undefined reference to `sf_close'
lib/libsfml-audio-s.a(SoundFile.cpp.o): In function `sf::priv::SoundFile::~SoundFile()':
SoundFile.cpp:(.text+0x2d9): undefined reference to `sf_close'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::GetStatus() const':
SoundSource.cpp:(.text+0x42): undefined reference to `alGetSourcei'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::IsRelativeToListener() const':
SoundSource.cpp:(.text+0x82): undefined reference to `alGetSourcei'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::GetAttenuation() const':
SoundSource.cpp:(.text+0xb2): undefined reference to `alGetSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::GetMinDistance() const':
SoundSource.cpp:(.text+0xe2): undefined reference to `alGetSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::GetVolume() const':
SoundSource.cpp:(.text+0x112): undefined reference to `alGetSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::GetPitch() const':
SoundSource.cpp:(.text+0x142): undefined reference to `alGetSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::GetPosition() const':
SoundSource.cpp:(.text+0x188): undefined reference to `alGetSource3f'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::~SoundSource()':
SoundSource.cpp:(.text+0x246): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::~SoundSource()':
SoundSource.cpp:(.text+0x276): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::~SoundSource()':
SoundSource.cpp:(.text+0x2a6): undefined reference to `alSourcei'
SoundSource.cpp:(.text+0x2b4): undefined reference to `alDeleteSources'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SoundSource()':
SoundSource.cpp:(.text+0x2ea): undefined reference to `alGenSources'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SoundSource()':
SoundSource.cpp:(.text+0x31a): undefined reference to `alGenSources'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SoundSource(sf::SoundSource const&)':
SoundSource.cpp:(.text+0x379): undefined reference to `alGenSources'
SoundSource.cpp:(.text+0x388): undefined reference to `alSourcei'
SoundSource.cpp:(.text+0x398): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x3ab): undefined reference to `alSourcef'
SoundSource.cpp:(.text+0x3bb): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x3de): undefined reference to `alSourcef'
SoundSource.cpp:(.text+0x405): undefined reference to `alGetSource3f'
SoundSource.cpp:(.text+0x423): undefined reference to `alSource3f'
SoundSource.cpp:(.text+0x435): undefined reference to `alGetSourcei'
SoundSource.cpp:(.text+0x44d): undefined reference to `alSourcei'
SoundSource.cpp:(.text+0x45d): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x470): undefined reference to `alSourcef'
SoundSource.cpp:(.text+0x480): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x493): undefined reference to `alSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SoundSource(sf::SoundSource const&)':
SoundSource.cpp:(.text+0x4c9): undefined reference to `alGenSources'
SoundSource.cpp:(.text+0x4d8): undefined reference to `alSourcei'
SoundSource.cpp:(.text+0x4e8): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x4fb): undefined reference to `alSourcef'
SoundSource.cpp:(.text+0x50b): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x52e): undefined reference to `alSourcef'
SoundSource.cpp:(.text+0x555): undefined reference to `alGetSource3f'
SoundSource.cpp:(.text+0x573): undefined reference to `alSource3f'
SoundSource.cpp:(.text+0x585): undefined reference to `alGetSourcei'
SoundSource.cpp:(.text+0x59d): undefined reference to `alSourcei'
SoundSource.cpp:(.text+0x5ad): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x5c0): undefined reference to `alSourcef'
SoundSource.cpp:(.text+0x5d0): undefined reference to `alGetSourcef'
SoundSource.cpp:(.text+0x5e3): undefined reference to `alSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SetAttenuation(float)':
SoundSource.cpp:(.text+0x1b9): undefined reference to `alSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SetMinDistance(float)':
SoundSource.cpp:(.text+0x1c9): undefined reference to `alSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SetVolume(float)':
SoundSource.cpp:(.text+0x1e1): undefined reference to `alSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SetPitch(float)':
SoundSource.cpp:(.text+0x1f9): undefined reference to `alSourcef'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SetRelativeToListener(bool)':
SoundSource.cpp:(.text+0x20d): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SetPosition(float, float, float)':
SoundSource.cpp:(.text+0x229): undefined reference to `alSource3f'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::~SoundSource()':
SoundSource.cpp:(.text+0x255): undefined reference to `alDeleteSources'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::~SoundSource()':
SoundSource.cpp:(.text+0x285): undefined reference to `alDeleteSources'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SoundSource()':
SoundSource.cpp:(.text+0x2fa): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SoundSource()':
SoundSource.cpp:(.text+0x32a): undefined reference to `alSourcei'
lib/libsfml-audio-s.a(SoundSource.cpp.o): In function `sf::SoundSource::SetPosition(sf::Vector3<float> const&)':
SoundSource.cpp:(.text+0x347): undefined reference to `alSource3f'
lib/libsfml-audio-s.a(SoundStream.cpp.o): In function `sf::SoundStream::ClearQueue()':
SoundStream.cpp:(.text+0x89): undefined reference to `alGetSourcei'
SoundStream.cpp:(.text+0xaf): undefined reference to `alSourceUnqueueBuffers'
lib/libsfml-audio-s.a(SoundStream.cpp.o): In function `sf::SoundStream::FillAndPushBuffer(unsigned int)':
SoundStream.cpp:(.text+0x167): undefined reference to `alBufferData'
SoundStream.cpp:(.text+0x179): undefined reference to `alSourceQueueBuffers'
lib/libsfml-audio-s.a(SoundStream.cpp.o): In function `sf::SoundStream::GetPlayingOffset() const':
SoundStream.cpp:(.text+0x22e): undefined reference to `alGetSourcef'
lib/libsfml-audio-s.a(SoundStream.cpp.o): In function `sf::SoundStream::Stream()':
SoundStream.cpp:(.text+0x593): undefined reference to `alGenBuffers'
SoundStream.cpp:(.text+0x5e4): undefined reference to `alSourcePlay'
SoundStream.cpp:(.text+0x61f): undefined reference to `alGetSourcei'
SoundStream.cpp:(.text+0x647): undefined reference to `alSourceUnqueueBuffers'
SoundStream.cpp:(.text+0x6ba): undefined reference to `alSourceStop'
SoundStream.cpp:(.text+0x6ca): undefined reference to `alGetSourcei'
SoundStream.cpp:(.text+0x6ef): undefined reference to `alSourceUnqueueBuffers'
SoundStream.cpp:(.text+0x704): undefined reference to `alSourcei'
SoundStream.cpp:(.text+0x713): undefined reference to `alDeleteBuffers'
SoundStream.cpp:(.text+0x749): undefined reference to `alGetBufferi'
SoundStream.cpp:(.text+0x75a): undefined reference to `alGetBufferi'
SoundStream.cpp:(.text+0x7a2): undefined reference to `alSourceUnqueueBuffers'
SoundStream.cpp:(.text+0x7f9): undefined reference to `alGetBufferi'
SoundStream.cpp:(.text+0x80a): undefined reference to `alGetBufferi'
SoundStream.cpp:(.text+0x831): undefined reference to `alSourcePlay'
lib/libsfml-audio-s.a(SoundStream.cpp.o): In function `sf::SoundStream::Pause()':
SoundStream.cpp:(.text+0x274): undefined reference to `alSourcePause'
lib/libsfml-audio-s.a(SoundStream.cpp.o): In function `sf::SoundStream::Play()':
SoundStream.cpp:(.text+0x972): undefined reference to `alSourcePlay'
lib/libsfml-audio-s.a(ALCheck.cpp.o): In function `sf::priv::ALCheckError(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)':
ALCheck.cpp:(.text+0xc4): undefined reference to `alGetError'
ALCheck.cpp:(.text+0x3d9): undefined reference to `pthread_cancel'
ALCheck.cpp:(.text+0x40b): undefined reference to `pthread_cancel'
ALCheck.cpp:(.text+0x434): undefined reference to `pthread_cancel'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::~AudioDevice()':
AudioDevice.cpp:(.text+0xc7): undefined reference to `alcMakeContextCurrent'
AudioDevice.cpp:(.text+0xd8): undefined reference to `alcDestroyContext'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::~AudioDevice()':
AudioDevice.cpp:(.text+0x107): undefined reference to `alcMakeContextCurrent'
AudioDevice.cpp:(.text+0x118): undefined reference to `alcDestroyContext'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::IsExtensionSupported(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
AudioDevice.cpp:(.text+0x168): undefined reference to `alIsExtensionPresent'
AudioDevice.cpp:(.text+0x1d3): undefined reference to `alcIsExtensionPresent'
AudioDevice.cpp:(.text+0x1df): undefined reference to `pthread_cancel'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::AudioDevice()':
AudioDevice.cpp:(.text+0x239): undefined reference to `alcOpenDevice'
AudioDevice.cpp:(.text+0x24f): undefined reference to `alcCreateContext'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::AudioDevice()':
AudioDevice.cpp:(.text+0x309): undefined reference to `alcOpenDevice'
AudioDevice.cpp:(.text+0x31f): undefined reference to `alcCreateContext'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::GetFormatFromChannelsCount(unsigned int)':
AudioDevice.cpp:(.text+0x7f): undefined reference to `alGetEnumValue'
AudioDevice.cpp:(.text+0x8f): undefined reference to `alGetEnumValue'
AudioDevice.cpp:(.text+0x9f): undefined reference to `alGetEnumValue'
AudioDevice.cpp:(.text+0xaf): undefined reference to `alGetEnumValue'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::~AudioDevice()':
AudioDevice.cpp:(.text+0xed): undefined reference to `alcCloseDevice'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::~AudioDevice()':
AudioDevice.cpp:(.text+0x12d): undefined reference to `alcCloseDevice'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::AudioDevice()':
AudioDevice.cpp:(.text+0x269): undefined reference to `alcMakeContextCurrent'
lib/libsfml-audio-s.a(AudioDevice.cpp.o): In function `sf::priv::AudioDevice::AudioDevice()':
AudioDevice.cpp:(.text+0x339): undefined reference to `alcMakeContextCurrent'
lib/libsfml-system-s.a(ThreadImpl.cpp.o): In function `sf::priv::ThreadImpl::ThreadImpl(sf::Thread*)':
ThreadImpl.cpp:(.text+0xa3): undefined reference to `pthread_create'
lib/libsfml-system-s.a(ThreadImpl.cpp.o): In function `sf::priv::ThreadImpl::ThreadImpl(sf::Thread*)':
ThreadImpl.cpp:(.text+0x143): undefined reference to `pthread_create'
lib/libsfml-system-s.a(ThreadImpl.cpp.o): In function `sf::priv::ThreadImpl::Terminate()':
ThreadImpl.cpp:(.text+0x64): undefined reference to `pthread_cancel'
lib/libsfml-system-s.a(ThreadImpl.cpp.o): In function `sf::priv::ThreadImpl::Wait()':
ThreadImpl.cpp:(.text+0x86): undefined reference to `pthread_join'
lib/libsfml-system-s.a(ThreadLocalImpl.cpp.o): In function `sf::priv::ThreadLocalImpl::GetValue() const':
ThreadLocalImpl.cpp:(.text+0x3): undefined reference to `pthread_getspecific'
lib/libsfml-system-s.a(ThreadLocalImpl.cpp.o): In function `sf::priv::ThreadLocalImpl::SetValue(void*)':
ThreadLocalImpl.cpp:(.text+0x13): undefined reference to `pthread_setspecific'
lib/libsfml-system-s.a(ThreadLocalImpl.cpp.o): In function `sf::priv::ThreadLocalImpl::~ThreadLocalImpl()':
ThreadLocalImpl.cpp:(.text+0x23): undefined reference to `pthread_key_delete'
lib/libsfml-system-s.a(ThreadLocalImpl.cpp.o): In function `sf::priv::ThreadLocalImpl::~ThreadLocalImpl()':
ThreadLocalImpl.cpp:(.text+0x33): undefined reference to `pthread_key_delete'
lib/libsfml-system-s.a(ThreadLocalImpl.cpp.o): In function `sf::priv::ThreadLocalImpl::ThreadLocalImpl()':
ThreadLocalImpl.cpp:(.text+0x43): undefined reference to `pthread_key_create'
lib/libsfml-system-s.a(ThreadLocalImpl.cpp.o): In function `sf::priv::ThreadLocalImpl::ThreadLocalImpl()':
ThreadLocalImpl.cpp:(.text+0x53): undefined reference to `pthread_key_create'
collect2: ld returned 1 exit status
make[2]: *** [AdventureGun] Error 1
make[2]: Leaving directory `/home/jesse/Desktop/EngineRefactorSFML2/build'
make[1]: *** [CMakeFiles/AdventureGun.dir/all] Error 2
make[1]: Leaving directory `/home/jesse/Desktop/EngineRefactorSFML2/build'
make: *** [all] Error 2

58
General discussions / SFML 1.6 to 2.0
« on: March 08, 2011, 09:43:50 am »
Worked like a charm. Cant believe I missed that. :oops:

Thanks for your help. =)

59
General discussions / SFML 1.6 to 2.0
« on: March 08, 2011, 09:38:07 am »
Awesome my GL code compiles now =)

These are the libraries im linking to:

lib\Release\sfml-system-s.lib
lib\Release\sfml-graphics-s.lib
lib\Release\sfml-window-s.lib
lib\Release\sfml-audio-s.lib

60
Graphics / Optimizing tilerendering
« on: March 08, 2011, 09:27:32 am »
Gibgezr thank you that is genius! I cant wait to get that implemented. =)

Pages: 1 2 3 [4] 5
anything