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.


Topics - vidjogamer

Pages: 1 [2]
16
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();
}

17
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?

18
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

19
General discussions / SFML 1.6 to 2.0
« on: March 08, 2011, 08:42:19 am »
I tried converting my project from 1.6 to 2.0 today.
These are some of the errors im getting. It seems to not like a lot of Sound related code.  Anyone have any ideas?

Also does the graphics package not include the gl headers anymore?

1>PhysicsManager.obj : error LNK2019: unresolved external symbol "public: __thiscall DebugDraw::DebugDraw(class sf::RenderWindow *)" (??0DebugDraw@@QAE@PAVRenderWindow@sf@@@Z) referenced in function "public: __thiscall PhysicsManager::PhysicsManager(void)" (??0PhysicsManager@@QAE@XZ)
1>ResourceManager.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall sf::SoundBuffer::LoadFromFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?LoadFromFile@SoundBuffer@sf@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: void __thiscall ResourceManager::loadAllSounds(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?loadAllSounds@ResourceManager@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>ResourceManager.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::SoundBuffer::SoundBuffer(void)" (__imp_??0SoundBuffer@sf@@QAE@XZ) referenced in function "public: void __thiscall ResourceManager::loadAllSounds(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?loadAllSounds@ResourceManager@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>Scene.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Music::~Music(void)" (__imp_??1Music@sf@@UAE@XZ) referenced in function __unwindfunclet$??0Scene@@QAE@XZ$0
1>Scene.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall sf::Music::OpenFromFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?OpenFromFile@Music@sf@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: __thiscall Scene::Scene(void)" (??0Scene@@QAE@XZ)
1>Scene.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::SoundStream::SetLoop(bool)" (__imp_?SetLoop@SoundStream@sf@@QAEX_N@Z) referenced in function "public: __thiscall Scene::Scene(void)" (??0Scene@@QAE@XZ)
1>Scene.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Music::Music(void)" (__imp_??0Music@sf@@QAE@XZ) referenced in function "public: __thiscall Scene::Scene(void)" (??0Scene@@QAE@XZ)
1>SoundSystem.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Sound::Play(void)" (__imp_?Play@Sound@sf@@QAEXXZ) referenced in function "public: void __thiscall SoundSystem::update(class Scene *)" (?update@SoundSystem@@QAEXPAVScene@@@Z)
1>Player1ControllerComponent.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Sound::SetBuffer(class sf::SoundBuffer const &)" (__imp_?SetBuffer@Sound@sf@@QAEXABVSoundBuffer@2@@Z) referenced in function "public: __thiscall Player1ControllerComponent::Player1ControllerComponent(class b2Body *,class InputManager &,class ResourceManager &,class SoundSystem &)" (??0Player1ControllerComponent@@QAE@PAVb2Body@@AAVInputManager@@AAVResourceManager@@AAVSoundSystem@@@Z)
1>Player1ControllerComponent.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Sound::Sound(void)" (__imp_??0Sound@sf@@QAE@XZ) referenced in function "public: __thiscall Player1ControllerComponent::Player1ControllerComponent(class b2Body *,class InputManager &,class ResourceManager &,class SoundSystem &)" (??0Player1ControllerComponent@@QAE@PAVb2Body@@AAVInputManager@@AAVResourceManager@@AAVSoundSystem@@@Z)
1>Player1ControllerComponent.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Sound::~Sound(void)" (__imp_??1Sound@sf@@UAE@XZ) referenced in function "public: virtual void * __thiscall sf::Sound::`scalar deleting destructor'(unsigned int)" (??_GSound@sf@@UAEPAXI@Z)
1>C:\Documents and Settings\Administrator\Desktop\GameEngine\branches\EngineRefactorSFML2\build\Debug\AdventureGun.exe : fatal error LNK1120: 11 unresolved externals

20
General discussions / sfml 1.6 with cmake
« on: March 02, 2011, 02:59:16 am »
Im trying to get sfml 1.6 integrated into my cmake build process. We are uncomfortable with 2.0 at this point in time as we need to be able to compile on all operating systems. I used the SFML 2.0 cmake files as reference and got everything to work under 1.6 except for the graphics lib. SFML compiles fine but when I try to use the graphics library in my project I get unresolved external symbols.

Code: [Select]
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_write_end
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_write_png
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_set_rows
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_write_info
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_set_IHDR
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_init_io
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_destroy_write_struct
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_create_info_struct
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _png_create_write_struct
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _SOIL_last_result
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _SOIL_save_image
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _SOIL_free_image_data
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _SOIL_load_image
1>sfml-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol _SOIL_load_image_from_memory


Any ideas?

21
General discussions / Draw Optimizations
« on: February 06, 2011, 06:31:34 pm »
Hi. I am running on a macbook pro with these specs:

Hardware Overview:

  Model Name:   MacBook Pro
  Model Identifier:   MacBookPro5,5
  Processor Name:   Intel Core 2 Duo
  Processor Speed:   2.26 GHz
  Number Of Processors:   1
  Total Number Of Cores:   2
  L2 Cache:   3 MB
  Memory:   2 GB
  Bus Speed:   1.07 GHz
 
NVIDIA GeForce 9400M:

  Chipset Model:   NVIDIA GeForce 9400M
  Type:   GPU
  Bus:   PCI
  VRAM (Total):   256 MB
  Vendor:   NVIDIA (0x10de)
  Device ID:   0x0863
  Revision ID:   0x00b1
  ROM Revision:   3427
  Displays:
Color LCD:
  Resolution:   1280 x 800
  Pixel Depth:   32-Bit Color (ARGB8888)
  Main Display:   Yes
  Mirror:   Off
  Online:   Yes
  Built-In:   Yes
Display Connector:
  Status:   No Display Connected



I am experiencing slow down after drawing about 2300 16x16 pixel tiles to the screen. I wanted to know if this is normal. Is there anything I can do to speed this up?

This is the code im using right now. Im looping through all the tiles that need drawn and doing this for each one.

Quote
Image *src = tileLayers->image;

int left = tile->tx;
int right = left + 16;
int top = tile->ty;
int bottom = tile->ty + 16;

Sprite sprite;
sprite.SetImage(*src);

sprite.SetSubRect(IntRect( left, top, right, bottom));
sprite.SetX(tile->x*PTM_RATIO);
sprite.SetY(tile->y*PTM_RATIO);

renderWindow->Draw(sprite);



Is there a better way to do this? Would it be faster to draw everything to an image and then just call RenderWindow::Draw() once?

My time profiler tells me im spending
15.4% of my time in glrCompExecuteKernel
10.1% in gldCopyTexSubImage
6.2% in gleUpdateDeferredState
3.4% in gleUpdateFragmentStateProgram

Any help is very appreciated. Thx =)

22
General / SFML2 on mac
« on: November 19, 2010, 09:29:37 am »
Hi, I am trying to get SFML 2.0 to work in Xcode on the mac. After I got cmake to make the project successfully, I assumed it would be smooth sailing.  To my surprise there were 623 compile errors!

Can someone please point me in the right direction?



Build sfml-window of project SFML with configuration Debug

CompileC src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/GlContext.o src/SFML/Window/GlContext.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_window_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/GlContext.o

/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:47:45: error: SFML/Window/Cocoa/AglContext.hpp: No such file or directory
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:48: error: 'AglContext' in namespace 'sf::priv' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:66: error: 'ContextType' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:67: error: 'ContextType' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp: In static member function 'static sf::priv::GlContext* sf::priv::GlContext::New()':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:78: error: expected type-specifier before 'ContextType'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:78: error: cannot convert 'int*' to 'sf::priv::GlContext*' in return
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:78: error: expected ';' before 'ContextType'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:78: error: 'referenceContext' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:78: error: 'ContextType' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp: In static member function 'static sf::priv::GlContext* sf::priv::GlContext::New(const sf::priv::WindowImpl*, unsigned int, const sf::ContextSettings&)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:85: error: 'ContextType' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:85: error: 'context' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:85: error: expected type-specifier before 'ContextType'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:85: error: expected `;' before 'ContextType'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp: In member function 'bool sf::priv::GlContext::SetActive(bool)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/GlContext.cpp:128: error: 'referenceContext' was not declared in this scope

CompileC src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/WindowImpl.o src/SFML/Window/WindowImpl.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_window_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/WindowImpl.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.cpp:45:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:69: error: 'WindowSettings' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:80: error: 'WindowSettings' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.cpp: In static member function 'static sf::priv::WindowImpl* sf::priv::WindowImpl::New(sf::VideoMode, const std::string&, long unsigned int)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.cpp:58: error: cannot allocate an object of abstract type 'WindowImplType'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:51: note:   because the following virtual functions are pure within 'WindowImplType':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.hpp:133: note:    virtual void* sf::priv::WindowImpl::GetSystemHandle() const
/Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.hpp:176: note:    virtual void sf::priv::WindowImpl::SetTitle(const std::string&)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.hpp:244: note:    virtual void sf::priv::WindowImpl::ProcessEvents(bool)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.cpp: In static member function 'static sf::priv::WindowImpl* sf::priv::WindowImpl::New(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/WindowImpl.cpp:65: error: cannot allocate an object of abstract type 'WindowImplType'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:51: note:   since type 'WindowImplType' has pure virtual functions

CompileC src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/AppController.o src/SFML/Window/Cocoa/AppController.mm normal x86_64 objective-c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_window_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm -o /Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/AppController.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:29,
                 from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:30:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:69: error: 'WindowSettings' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:80: error: 'WindowSettings' has not been declared
In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:30:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:57: warning: incomplete implementation of category 'SFML'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:57: warning: method definition for '-setAppleMenu:' not found
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm: In function 'void -[sfPrivAppController applicationWillDeactivate:](sfPrivAppController*, objc_selector*, NSNotification*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:195: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:199: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:205: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:205: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm: In function 'void -[sfPrivAppController applicationWillActivate:](sfPrivAppController*, objc_selector*, NSNotification*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:216: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:220: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:224: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:224: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm: In function 'void -[sfPrivAppController setFullscreenWindow:mode:](sfPrivAppController*, objc_selector*, sfPrivWindow*, sf::VideoMode*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:413: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:417: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:425: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:425: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:447: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:451: warning: 'CGDisplayBestModeForParameters' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:487)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:468: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/AppController.mm:468: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:512)

CompileC src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/GLKit.o src/SFML/Window/Cocoa/GLKit.mm normal x86_64 objective-c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_window_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm -o /Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/GLKit.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:29,
                 from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:28:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:69: error: 'WindowSettings' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:80: error: 'WindowSettings' has not been declared
In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:28:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm: In function 'objc_object* +[sfPrivGLContext sharedContext](objc_object*, objc_selector*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:77: error: 'WindowSettings' is not a member of 'sf'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:77: error: expected `;' before 'params'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:78: error: 'params' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:78: warning: no '-initWithAttributes:sharedContext:' method found
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:78: warning: (Messages without a matching method signature
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:78: warning: will be assumed to return 'id' and accept
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:78: warning: '...' as arguments.)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm: At global scope:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:92: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:92: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:92: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.mm:92: confused by earlier errors, bailing out

CompileC src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/VideoModeImpl.o src/SFML/Window/Cocoa/VideoModeImpl.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_window_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/VideoModeImpl.o

/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp:39: error: 'VideoModeSupport' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp: In function 'void sf::priv::GetSupportedVideoModes(std::vector<sf::VideoMode, std::allocator<sf::VideoMode> >&)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp:47: warning: 'CGDisplayAvailableModes' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:481)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp:47: warning: 'CGDisplayAvailableModes' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:481)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp: At global scope:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp:71: error: 'VideoModeSupport' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp: In function 'sf::VideoMode sf::priv::GetDesktopVideoMode()':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp:75: warning: 'CGDisplayCurrentMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:507)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/VideoModeImpl.cpp:75: warning: 'CGDisplayCurrentMode' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:507)

CompileC src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/WindowImplCocoa.o src/SFML/Window/Cocoa/WindowImplCocoa.mm normal x86_64 objective-c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_window_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm -o /Users/jwerner/Desktop/sfml2/src/SFML/Window/SFML.build/Debug/sfml-window.build/Objects-normal/x86_64/WindowImplCocoa.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:29:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:69: error: 'WindowSettings' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.hpp:80: error: 'WindowSettings' has not been declared
In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:31:
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:46: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:68: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:190: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:212: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected type-specifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected `)'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected identifier
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/GLKit.h:230: error: expected `;'
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:85: error: 'WindowSettings' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:138: error: 'WindowSettings' has not been declared
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In constructor 'sf::priv::WindowImplCocoa::WindowImplCocoa(sf::VideoMode, const std::string&, long unsigned int, int&)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:154: warning: no '-initWithVideoMode:settings:style:title:' method found
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:154: warning: (Messages without a matching method signature
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:154: warning: will be assumed to return 'id' and accept
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:154: warning: '...' as arguments.)
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:154: warning: cannot pass objects of non-POD type 'class sf::VideoMode' through '...'; call will abort at runtime
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleNotifiedEvent(sf::Event&)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:211: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleKeyDown(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:266: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:284: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleKeyUp(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:319: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleModifierKey(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:368: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleMouseDown(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:399: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleMouseUp(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:446: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleMouseMove(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:478: error: 'SendEvent' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm: In member function 'void sf::priv::WindowImplCocoa::HandleMouseWheel(void*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Window/Cocoa/WindowImplCocoa.mm:513: error: 'SendEvent' was not declared in this scope


Build sfml-audio of project SFML with configuration Debug

CompileC src/SFML/Audio/SFML.build/Debug/sfml-audio.build/Objects-normal/x86_64/Music.o src/SFML/Audio/Music.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_audio_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -F/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/OpenAL.framework/Headers -I/Users/jwerner/Desktop/sfml2/extlibs/headers -I/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Audio/Music.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/Objects-normal/x86_64/Music.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:32,
                 from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/Music.cpp:30:
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:308: error: '__int64' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:319: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:372: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:373: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: 'sf_vio_get_filelen' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: 'sf_vio_seek' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: 'sf_vio_read' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: 'sf_vio_write' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: 'sf_vio_tell' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:459: error: 'sf_vio_get_filelen' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:460: error: 'sf_vio_seek' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:461: error: 'sf_vio_read' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:462: error: 'sf_vio_write' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:463: error: 'sf_vio_tell' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:540: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:557: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:558: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:570: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:571: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:573: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:574: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:576: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:577: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:579: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:580: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:587: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:588: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:590: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:591: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:593: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:594: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:596: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:597: error: 'sf_count_t' does not name a type
In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/Music.cpp:30:
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:170: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:171: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:172: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:173: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:174: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:178: error: 'sf_count_t' does not name a type

CompileC src/SFML/Audio/SFML.build/Debug/sfml-audio.build/Objects-normal/x86_64/SoundBuffer.o src/SFML/Audio/SoundBuffer.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_audio_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -F/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/OpenAL.framework/Headers -I/Users/jwerner/Desktop/sfml2/extlibs/headers -I/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundBuffer.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/Objects-normal/x86_64/SoundBuffer.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:32,
                 from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundBuffer.cpp:29:
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:308: error: '__int64' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:319: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:372: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:373: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: 'sf_vio_get_filelen' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: 'sf_vio_seek' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: 'sf_vio_read' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: 'sf_vio_write' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: 'sf_vio_tell' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:459: error: 'sf_vio_get_filelen' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:460: error: 'sf_vio_seek' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:461: error: 'sf_vio_read' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:462: error: 'sf_vio_write' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:463: error: 'sf_vio_tell' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:540: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:557: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:558: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:570: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:571: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:573: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:574: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:576: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:577: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:579: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:580: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:587: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:588: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:590: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:591: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:593: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:594: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:596: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:597: error: 'sf_count_t' does not name a type
In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundBuffer.cpp:29:
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:170: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:171: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:172: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:173: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:174: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:178: error: 'sf_count_t' does not name a type

CompileC src/SFML/Audio/SFML.build/Debug/sfml-audio.build/Objects-normal/x86_64/SoundFile.o src/SFML/Audio/SoundFile.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_audio_EXPORTS -DSFML_EXPORTS -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -F/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/OpenAL.framework/Headers -I/Users/jwerner/Desktop/sfml2/extlibs/headers -I/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SFML.build/Debug/sfml-audio.build/Objects-normal/x86_64/SoundFile.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:32,
                 from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:28:
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:308: error: '__int64' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:319: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:372: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:373: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:452: error: 'sf_vio_get_filelen' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:453: error: 'sf_vio_seek' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:454: error: 'sf_vio_read' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:455: error: 'sf_vio_write' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: ISO C++ forbids declaration of 'sf_count_t' with no type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: typedef 'sf_count_t' is initialized (use __typeof__ instead)
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:456: error: 'sf_vio_tell' was not declared in this scope
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:459: error: 'sf_vio_get_filelen' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:460: error: 'sf_vio_seek' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:461: error: 'sf_vio_read' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:462: error: 'sf_vio_write' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:463: error: 'sf_vio_tell' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:540: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:557: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:558: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:570: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:571: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:573: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:574: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:576: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:577: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:579: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:580: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:587: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:588: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:590: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:591: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:593: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:594: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:596: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/extlibs/headers/sndfile.h:597: error: 'sf_count_t' does not name a type
In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:28:
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:170: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:171: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:172: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:173: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:174: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.hpp:178: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp: In member function 'bool sf::priv::SoundFile::OpenRead(const std::string&)':
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:96: error: 'struct SF_INFO' has no member named 'frames'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp: In member function 'bool sf::priv::SoundFile::OpenRead(const void*, size_t)':
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:124: error: 'struct SF_INFO' has no member named 'frames'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp: In member function 'size_t sf::priv::SoundFile::Read(sf::Int16*, size_t)':
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:173: error: 'sf_read_short' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp: In member function 'void sf::priv::SoundFile::Write(const sf::Int16*, size_t)':
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:189: error: 'sf_write_short' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp: In member function 'void sf::priv::SoundFile::Seek(float)':
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:202: error: 'sf_count_t' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:202: error: expected `;' before 'frameOffset'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:203: error: 'frameOffset' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:203: error: 'sf_seek' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp: In member function 'SF_VIRTUAL_IO sf::priv::SoundFile::MemoryIO::Prepare(const void*, size_t)':
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:253: error: 'struct SF_VIRTUAL_IO' has no member named 'get_filelen'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:253: error: 'GetLength' is not a member of 'sf::priv::SoundFile::MemoryIO'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:254: error: 'struct SF_VIRTUAL_IO' has no member named 'read'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:254: error: 'Read' is not a member of 'sf::priv::SoundFile::MemoryIO'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:255: error: 'struct SF_VIRTUAL_IO' has no member named 'seek'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:255: error: 'Seek' is not a member of 'sf::priv::SoundFile::MemoryIO'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:256: error: 'struct SF_VIRTUAL_IO' has no member named 'tell'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:256: error: 'Tell' is not a member of 'sf::priv::SoundFile::MemoryIO'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:257: error: 'struct SF_VIRTUAL_IO' has no member named 'write'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:257: error: 'Write' is not a member of 'sf::priv::SoundFile::MemoryIO'
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:262: error: 'myTotalSize' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp: At global scope:
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:269: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:278: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:295: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:320: error: 'sf_count_t' does not name a type
/Users/jwerner/Desktop/sfml2/src/SFML/Audio/SoundFile.cpp:329: error: 'sf_count_t' does not name a type


Build sfml-graphics of project SFML with configuration Debug

CompileC src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/Objects-normal/x86_64/GLCheck.o src/SFML/Graphics/GLCheck.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_graphics_EXPORTS -DSFML_EXPORTS -DGLEW_STATIC -DSTBI_FAILURE_USERMSG -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Developer/SDKs/MacOSX10.6.sdk/usr/X11R6/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/X11R6/include/freetype2 -I/usr/local/include -I/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/Objects-normal/x86_64/GLCheck.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:28:
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.hpp:32:21: error: GL/glew.h: No such file or directory
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp: In function 'void sf::priv::GLCheckError(const std::string&, unsigned int)':
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:40: error: 'GLenum' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:40: error: expected `;' before 'errorCode'
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:42: error: 'errorCode' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:42: error: 'GL_NO_ERROR' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:50: error: 'GL_INVALID_ENUM' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:57: error: 'GL_INVALID_VALUE' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:64: error: 'GL_INVALID_OPERATION' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:71: error: 'GL_STACK_OVERFLOW' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:78: error: 'GL_STACK_UNDERFLOW' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:85: error: 'GL_OUT_OF_MEMORY' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:92: error: 'GL_INVALID_FRAMEBUFFER_OPERATION_EXT' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp: In function 'void sf::priv::EnsureGlewInit()':
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.cpp:115: error: 'glewInit' was not declared in this scope

CompileC src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/Objects-normal/x86_64/Image.o src/SFML/Graphics/Image.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/jwerner/Desktop/sfml2
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -Dsfml_graphics_EXPORTS -DSFML_EXPORTS -DGLEW_STATIC -DSTBI_FAILURE_USERMSG -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jwerner/Desktop/sfml2/lib/Debug -I/Users/jwerner/Desktop/sfml2/lib/Debug/include -I/Users/jwerner/Desktop/sfml2/include -I/Users/jwerner/Desktop/sfml2/src -I/Developer/SDKs/MacOSX10.6.sdk/usr/X11R6/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/X11R6/include/freetype2 -I/usr/local/include -I/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/DerivedSources/x86_64 -I/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/DerivedSources -fPIC -c /Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp -o /Users/jwerner/Desktop/sfml2/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/Objects-normal/x86_64/Image.o

In file included from /Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:32:
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/GLCheck.hpp:32:21: error: GL/glew.h: No such file or directory
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp: In member function 'bool sf::Image::CopyScreen(sf::RenderWindow&, const sf::IntRect&)':
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:353: error: 'GLint' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:353: error: expected `;' before 'previous'
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:354: error: 'GL_TEXTURE_BINDING_2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:354: error: 'previous' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:354: error: 'glGetIntegerv' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:356: error: 'GL_TEXTURE_2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:356: error: 'glBindTexture' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:357: error: 'glCopyTexSubImage2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp: In member function 'void sf::Image::UpdatePixels(const sf::Uint8*)':
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:427: error: 'GLint' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:427: error: expected `;' before 'previous'
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:428: error: 'GL_TEXTURE_BINDING_2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:428: error: 'previous' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:428: error: 'glGetIntegerv' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:431: error: 'GL_TEXTURE_2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:431: error: 'glBindTexture' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:432: error: 'GL_RGBA' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:432: error: 'GL_UNSIGNED_BYTE' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:432: error: 'glTexSubImage2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp: In member function 'void sf::Image::UpdatePixels(const sf::Uint8*, const sf::IntRect&)':
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:447: error: 'GLint' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:447: error: expected `;' before 'previous'
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:448: error: 'GL_TEXTURE_BINDING_2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:448: error: 'previous' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:448: error: 'glGetIntegerv' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:451: error: 'GL_TEXTURE_2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:451: error: 'glBindTexture' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:452: error: 'GL_RGBA' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:452: error: 'GL_UNSIGNED_BYTE' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:452: error: 'glTexSubImage2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp: In member function 'void sf::Image::Bind() const':
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:468: error: 'GL_TEXTURE_2D' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp:468: error: 'glBindTexture' was not declared in this scope
/Users/jwerner/Desktop/sfml2/src/SFML/Graphics/Image.cpp: In member function 'void sf::Image::SetSmooth(bool)':
/User

Pages: 1 [2]
anything