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

Pages: [1]
1
General / Re: SFML template has >20 errors on Xcode
« on: July 12, 2013, 12:18:49 pm »
That was it, thanks a lot!

For anyone else with the same issue, just follow the aforementioned tutorial, but where it says -DSFML_BUILD_FRAMEWORKS='ON' \ replace it with = 'OFF'

2
General / Re: SFML template has >20 errors on Xcode
« on: July 12, 2013, 12:01:13 pm »
I had never installed 1.6 in the first place.

I downloaded SFML-2.0 from the bottom of this page: http://www.sfml-dev.org/download/sfml/2.0/

3
General / Re: SFML template has >20 errors on Xcode
« on: July 12, 2013, 11:50:47 am »
I've followed the tutorial religiously, as well as this one: http://www.mjbshaw.com/2013/02/building-sfml-2-with-c11-on-os-x.html

When only this is in main.cpp:

int main(int, char const**)
{
    // Create the main window
    sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");

   
    return EXIT_SUCCESS;
}



These errors show up:

ld: warning: directory not found for option '-L/usr/local/lib'
Undefined symbols for architecture i386:
  "sf::RenderWindow::RenderWindow(sf::VideoMode, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, sf::WindowSettings const&)", referenced from:
      _main in main.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

4
General / SFML template has >20 errors on Xcode
« on: July 11, 2013, 05:15:48 pm »
I've recently downloaded and installed SFML into my copy of Xcode, and when I open a new template, 20 errors show up, saying that certain SFML objects have no member named whatever.

(I installed using the frameworks, but tried with the dylibs too)

Thanks for any help!

Pages: [1]