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

Show Posts

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


Messages - Wardaor

Pages: [1]
1
Audio / Re: undefined reference to `_imp___ZN2sf5MusicC1Ej'
« on: January 16, 2013, 02:36:54 am »
I will properly flog myself later. Problem fixed.

2
Audio / undefined reference to `_imp___ZN2sf5MusicC1Ej'
« on: January 16, 2013, 02:32:00 am »
The following line is the only audio related line in the program, I commented out the other few.

Quote
     sf::Music Music;

I receive the following error messages from Eclipse(Indigo) when trying to compile.

Quote
undefined reference to `_imp___ZN2sf5MusicC1Ej'   main.cpp   /sfmltest   line 36   C/C++ Problem
undefined reference to `_imp___ZN2sf5MusicD1Ev'   main.cpp   /sfmltest   line 36   C/C++ Problem

I currently have no problem using System, Graphics, or Config which are the only other SFML libs I've tried using.  The other audio lines I've commented out produce similar error messages.

I recall encountering something like this a year ago when dealing with another 3rd party library and it had something to do with creating a .def file that was needed. Considering that 3 of the other libs appear to be working and compiling fine, I am unsure why I am having an issue with the audio lib.

I'm on Win7-64, using Eclipse(Indigo), GCC 4.6.2

Pages: [1]