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 - The Thinker

Pages: [1] 2
1
General discussions / Re: iOS Port, news?
« on: September 13, 2015, 10:37:08 pm »
It's still experimental, meaning everything is right there in the repository, but there might be unresolved issues.
Additionally the port is currently unmaintained, so there won't be much progress in the near future.

Why is  the port unmaintained? :/
I thought iOS (as stated in the main page of the website) was an oncoming feature.
Really bad news for me too :(
Do you reckon iOS support won't happen anymore?

2
General discussions / iOS Port, news?
« on: September 10, 2015, 04:37:08 pm »
Hi guys,

I really like SFML because C++ is the only language I have studied so far and I was wondering if iOS port is still in development or not supported anymore.

iOS is really important to me (and I do not want to study objective c++ or swift) so please let me know if it's something that will happen or if I have to consider other options out there like SDL.

Thank you in advance and keep up the good job!

3
General / use of undeclared identifier gluperspective
« on: May 17, 2015, 04:59:42 am »
Hi guys,

I have the following problem on SFML 2.3 with OpenGl under Xcode 6.3.1
In SFML 2.2 it was working fine.

"use of undeclared identifier gluperspective"

(- On Xcode's Project Target > Linked Frameworks and Libraries: I have added OpenGL.framework)

Please let me know how to fix it.

Thanks :)

CODE:
---------------------------
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>

void cube()
{
    glBegin(GL_QUADS);      // Draw The Cube Using quads
   
    glColor3f(0.0f,1.0f,0.0f);  // Color Green
    glNormal3f(0.f, 1.f, 0.f);
    glVertex3f( 1.0f, 1.0f,-1.0f);  // Top Right Of The Quad (Top)
    glNormal3f(0.f, 1.f, 0.f);
    glVertex3f(-1.0f, 1.0f,-1.0f);  // Top Left Of The Quad (Top)
    glNormal3f(0.f, 1.f, 0.f);
    glVertex3f(-1.0f, 1.0f, 1.0f);  // Bottom Left Of The Quad (Top)
    glNormal3f(0.f, 1.f, 0.f);
    glVertex3f( 1.0f, 1.0f, 1.0f);  // Bottom Right Of The Quad (Top)
   
    glColor3f(1.0f,0.5f,0.0f);  // Color Orange
    glNormal3f(0.f, -1.f, 0.f);
    glVertex3f( 1.0f,-1.0f, 1.0f);  // Top Right Of The Quad (Bottom)
    glNormal3f(0.f, -1.f, 0.f);
    glVertex3f(-1.0f,-1.0f, 1.0f);  // Top Left Of The Quad (Bottom)
    glNormal3f(0.f, -1.f, 0.f);
    glVertex3f(-1.0f,-1.0f,-1.0f);  // Bottom Left Of The Quad (Bottom)
    glNormal3f(0.f, -1.f, 0.f);
    glVertex3f( 1.0f,-1.0f,-1.0f);  // Bottom Right Of The Quad (Bottom)
   
    glColor3f(1.0f, 0.0f, 0.0f);    // Color Red
    glNormal3f(0.f, 0.f, 1.f);
    glVertex3f( 1.0f, 1.0f, 1.0f);  // Top Right Of The Quad (Front)
    glNormal3f(0.f, 0.f, 1.f);
    glVertex3f(-1.0f, 1.0f, 1.0f);  // Top Left Of The Quad (Front)
    glNormal3f(0.f, 0.f, 1.f);
    glVertex3f(-1.0f,-1.0f, 1.0f);  // Bottom Left Of The Quad (Front)
    glNormal3f(0.f, 0.f, 1.f);
    glVertex3f( 1.0f,-1.0f, 1.0f);  // Bottom Right Of The Quad (Front)
   
    glColor3f(1.0f, 1.0f, 0.0f);    // Color Yellow
    glNormal3f(0.f, 0.f, -1.f);
    glVertex3f( 1.0f,-1.0f,-1.0f);  // Top Right Of The Quad (Back)
    glNormal3f(0.f, 0.f, -1.f);
    glVertex3f(-1.0f,-1.0f,-1.0f);  // Top Left Of The Quad (Back)
    glNormal3f(0.f, 0.f, -1.f);
    glVertex3f(-1.0f, 1.0f,-1.0f);  // Bottom Left Of The Quad (Back)
    glNormal3f(0.f, 0.f, -1.f);
    glVertex3f( 1.0f, 1.0f,-1.0f);  // Bottom Right Of The Quad (Back)
   
    glColor3f(0.0f, 0.0f, 1.0f);    // Color Blue
    glNormal3f(-1.f, 0.f, 0.f);
    glVertex3f(-1.0f, 1.0f, 1.0f);  // Top Right Of The Quad (Left)
    glNormal3f(-1.f, 0.f, 0.f);
    glVertex3f(-1.0f, 1.0f,-1.0f);  // Top Left Of The Quad (Left)
    glNormal3f(-1.f, 0.f, 0.f);
    glVertex3f(-1.0f,-1.0f,-1.0f);  // Bottom Left Of The Quad (Left)
    glNormal3f(-1.f, 0.f, 0.f);
    glVertex3f(-1.0f,-1.0f, 1.0f);  // Bottom Right Of The Quad (Left)
   
    glColor3f(1.0f, 0.0f, 1.0f);    // Color Violet
    glNormal3f(1.f, 0.f, 0.f);
    glVertex3f( 1.0f, 1.0f,-1.0f);  // Top Right Of The Quad (Right)
    glNormal3f(1.f, 0.f, 0.f);
    glVertex3f( 1.0f, 1.0f, 1.0f);  // Top Left Of The Quad (Right)
    glNormal3f(1.f, 0.f, 0.f);
    glVertex3f( 1.0f,-1.0f, 1.0f);  // Bottom Left Of The Quad (Right)
    glNormal3f(1.f, 0.f, 0.f);
    glVertex3f( 1.0f,-1.0f,-1.0f);  // Bottom Right Of The Quad (Right)
   
    glEnd();          // End Drawing The Cube
}

int main()
{
    sf::RenderWindow window(sf::VideoMode(800, 600), "Cube!", sf::Style::Default);
    window.setVerticalSyncEnabled(true);
    window.setActive(true);
    window.resetGLStates();
   
    bool running = true;
    while(running)
    {
        sf::Event event;
        while(window.pollEvent(event))
        {
            switch(event.type)
            {
                case sf::Event::KeyPressed:
                    if(event.key.code != sf::Keyboard::Escape) { break; }
                case sf::Event::Closed:
                    running = false;
                    break;
                default:
                    break;
            }
        }
       
        glClearColor(0.3f, 0.3f, 0.3f, 1.f);
        glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
       
        glMatrixMode(GL_PROJECTION);
        glLoadIdentity();
        sf::Vector2u wsize = window.getSize();
        glViewport(0, 0, wsize.x, wsize.y);
        gluPerspective(60, (float)wsize.x / (float)wsize.y, 0.1f, 512.f);
       

        glMatrixMode(GL_MODELVIEW);
        glLoadIdentity();
       
        glPushMatrix();
        glTranslatef(0.f, 0.f, -5.f);
       
        cube();
       
        glPopMatrix();
       
        GLenum err = glGetError();
       
        window.display();
    }
   
    return 0;
}

4
Thanks  8)

5
Yes, it's verys strange. 2.1 and 2.2 were working fine.

Do you guys have an idea how to fix this problem please? :)

Thank you!

6
Hi guys,

I have installed sfml 2.3 on OSX 10.10.3, following this procedure (I have removed the files from version 2.2, that was working fine):

Copy the content of lib to /usr/local/lib and copy the content of include to /usr/local/include.
frameworks
Copy the content of Frameworks to /Library/Frameworks.
Copy the content of extlibs to /Library/Frameworks.
Xcode templates
Copy the SFML directory from templates to /Library/Developer/Xcode/Templates (create the folders if they don't exist yet).

When I create a new project with Xcode 6.3.1 I have the following error:

How can I please fix it? Many thanks! :)

ditto: can't get real path for source '/Users/m/Prog/Projects/SFML/git/packaging/tmp//install//Library/Frameworks/sfml-system.framework'
couldn't copy /Users/m/Prog/Projects/SFML/git/packaging/tmp//install//Library/Frameworks/sfml-system.framework to /Users/Fab/Library/Developer/Xcode/DerivedData/1-dqidrrzrkkplsdgqdjnojwxtagtg/Build/Products/Debug/1.app/Contents/Frameworks//sfml-system.framework
Command /bin/sh failed with exit code 2

7
General / Re: stuck in World::adaptPlayerPosition() pls help
« on: January 10, 2015, 03:53:03 am »
Great explanation, now I get it!

Thank you! :)

8
General / stuck in World::adaptPlayerPosition() pls help
« on: January 10, 2015, 01:59:18 am »
Hi all,

At page 108 of SFML Game Development book I have this code:

void World::adaptPlayerPosition()
{
    // Keep player's position inside the screen bounds, at least borderDistance units from the border
    sf::FloatRect viewBounds(mWorldView.getCenter() - mWorldView.getSize() / 2.f, mWorldView.getSize());
    const float borderDistance = 40.f;
   
    sf::Vector2f position = mPlayerAircraft->getPosition();
    position.x = std::max(position.x, viewBounds.left + borderDistance);
    position.x = std::min(position.x, viewBounds.left + viewBounds.width - borderDistance);
    position.y = std::max(position.y, viewBounds.top + borderDistance);
    position.y = std::min(position.y, viewBounds.top + viewBounds.height - borderDistance);
    mPlayerAircraft->setPosition(position);
}

-Can you please explain me where we set viewBounds.width and viewBounds.height? Or how we retrieved them..

From my understanding we just set the LEFT X and TOP Y position with
sf::FloatRect viewBounds(mWorldView.getCenter() - mWorldView.getSize() / 2.f, mWorldView.getSize());

-Also can you please explain me in simple worlds how the following code works with the values, maybe with an example please.
I know how max and min work but i'm confused about the values we are using inside the brackets (i think viewBounds.left is 160f 'cause our window is 640w, 480h,....) :/
   
    position.x = std::max(position.x, viewBounds.left + borderDistance);
    position.x = std::min(position.x, viewBounds.left + viewBounds.width - borderDistance);
    position.y = std::max(position.y, viewBounds.top + borderDistance);
    position.y = std::min(position.y, viewBounds.top + viewBounds.height - borderDistance);

Thank you :)


9
General / Re: Problem with linker in SFML 2.2 under Xcode 6.1
« on: January 03, 2015, 10:14:32 pm »
I meant, use the find function in a terminal (see `man find`). Finder is not the best thing to search for "special" files.

Fixed thanks, I had twice the frameworks files in these folders ;/
/Library/Frameworks/  RIGHT ONE
/Users/Fab/Library/Frameworks/ WRONG ONE

10
General / Re: Problem with linker in SFML 2.2 under Xcode 6.1
« on: January 02, 2015, 11:20:40 pm »
sf::Image::~Image() was introduced after 2.1 so I guess you're having the new headers (2.2) but some old binaries are still lurking around.. Maybe have a go with `find` on your whole filesystem and look for sfml-graphics.

Nothing to do, I researched and removed all the older files but to no avail.
I have reinstalled the latest xcode command line tools, nothing change
Same problem.

http://www.imageupload.co.uk/images/2015/01/02/Screen_Shot_2015-01-02_at_221351.png

Other ideas?

11
General / Re: Problem with linker in SFML 2.2 under Xcode 6.1
« on: January 02, 2015, 12:37:12 pm »
Yes I did, and I deleted them from my system before replacing everything with the new ones.

Also If I revert to 2.1 everything works perfectly so my procedure is correct.

Any idea?

12
General / Problem with linker in SFML 2.2 under Xcode 6.1
« on: December 31, 2014, 07:14:07 pm »
Hi all and Happy New Year :)

I have uninstalled SFML 2.1 (that was working very well) to install SFML 2.2 (SFML-2.2-osx-clang-universal)

Following your tutorial:
I copied the content of lib to /usr/local/lib and the content of include to /usr/local/include.
I copied the content of Frameworks to /Library/Frameworks and sndfile.framework and freetype.framework from extlibs to /Library/Frameworks.
I copied SFML directory from templates to /Library/Developer/Xcode/Templates

My Mac is Yosemite 10.10.1, Xcode is 6.1.1 and SFML is Clang - universal 32+64-bit (OS X 10.7+, compatible with C++11 and libc++)


I tried to create an application but it doesn't compile.

How can I fix this problem please? Thank you in advance :)

My Xcode screen shows this:

http://www.imageupload.co.uk/images/2014/12/31/Screen_Shot_2014-12-31_at_180225.png

-----------------------------------------------------------------------------------------------------------------

ProcessInfoPlistFile /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/My\ First\ SFML\ App.app/Contents/Info.plist My\ First\ SFML\ App/My\ First\ SFML\ App-Info.plist
    cd "/Users/Fab/Desktop/My First SFML App"
    builtin-infoPlistUtility /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/My\ First\ SFML\ App-Info.plist -genpkginfo /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/My\ First\ SFML\ App.app/Contents/PkgInfo -expandbuildsettings -platform macosx -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/My\ First\ SFML\ App.app/Contents/Info.plist

CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.o My\ First\ SFML\ App/ResourcePath.mm normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd "/Users/Fab/Desktop/My First SFML App"
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/i386 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/ResourcePath.mm -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/ResourcePath.o

CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.o My\ First\ SFML\ App/main.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd "/Users/Fab/Desktop/My First SFML App"
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/i386 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/main.cpp -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/main.o

CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.o My\ First\ SFML\ App/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd "/Users/Fab/Desktop/My First SFML App"
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/x86_64 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/main.cpp -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/main.o

CompileC /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.o My\ First\ SFML\ App/ResourcePath.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd "/Users/Fab/Desktop/My First SFML App"
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/My\ First\ SFML\ App.hmap -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources/x86_64 -I/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/DerivedSources -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -MMD -MT dependencies -MF /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.d --serialize-diagnostics /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.dia -c /Users/Fab/Desktop/My\ First\ SFML\ App/My\ First\ SFML\ App/ResourcePath.mm -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/ResourcePath.o

Ld /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App normal x86_64
    cd "/Users/Fab/Desktop/My First SFML App"
    export MACOSX_DEPLOYMENT_TARGET=10.7
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -L/usr/local/lib -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -filelist /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App.LinkFileList -Xlinker -rpath -Xlinker @loader_path/../Frameworks -mmacosx-version-min=10.7 -framework sfml-system -framework sfml-window -framework sfml-graphics -framework sfml-audio -framework sfml-network -stdlib=libc++ -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App_dependency_info.dat -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/x86_64/My\ First\ SFML\ App

Undefined symbols for architecture x86_64:
  "sf::Image::~Image()", referenced from:
      _main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App normal i386
    cd "/Users/Fab/Desktop/My First SFML App"
    export MACOSX_DEPLOYMENT_TARGET=10.7
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -L/usr/local/lib -F/Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Products/Debug -F/Library/Frameworks -filelist /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App.LinkFileList -Xlinker -rpath -Xlinker @loader_path/../Frameworks -mmacosx-version-min=10.7 -framework sfml-system -framework sfml-window -framework sfml-graphics -framework sfml-audio -framework sfml-network -stdlib=libc++ -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App_dependency_info.dat -o /Users/Fab/Library/Developer/Xcode/DerivedData/My_First_SFML_App-caqxjctwacfvqfhkvlekjctzqfnc/Build/Intermediates/My\ First\ SFML\ App.build/Debug/My\ First\ SFML\ App.build/Objects-normal/i386/My\ First\ SFML\ App

Undefined symbols for architecture i386:
  "sf::Image::~Image()", 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)


13
General / Re: SFML x64 - window size problem
« on: October 29, 2014, 10:02:11 am »
I didn't zoom and yeah I know what you mean, it would be strange that the resolution in the project would almost cover the actual resolution of my screen. :)

So I guess everything is right?

What version is the latest night built. Is still SFML 2.1?

Thank you! :)

14
General / Re: SFML x64 - window size problem
« on: October 29, 2014, 09:40:58 am »
I have a 15-inch MacBook Pro with retina display.
Current resolution set to 2880 x 1800

In the code the resolution of the window is:
: mWindow(sf::VideoMode(1024, 768), "Network", sf::Style::Close)

I attached better pictures to clarify better what I mean:

The first is the 64bit
The second one the 32bit

Please let me know what you think and thanks :)

15
General / SFML x64 - window size problem
« on: October 29, 2014, 04:25:32 am »
Hi all.
I upgraded to Visual Studio 2013 and SFML 64 bit (unofficial version) from nightlybuilds and I tried to recompile few projects, especially the ones of the book SFML GAME DEVELOPMENT.
Everything works, (except some PBD cannot be opened, most of them I fixed with Debugging/Symbols/Microsoft Symbol Servers,and I tend to ignore the other ones, hopefully they are not relevant, please tell me if I'm wrong :))

...but the only weird problem is that when I open the .exe of my projects in debug or release folders, the windows of the projects I built with SFML 64 bit under Visual Studio 2013 are very small compared to the ones built with the official 32 bit version in Visual Studio 2012 or Xcode 6.1.

Please see the attachments as example and let me know what the cause could be and if it's a common problem that can be fixed.
(If you save them on your desktop you can probably see better what I mean, the 64 bit window is smaller than the 32 bit one.)

Thank you :)

http://pasteboard.co/1i9NpMDh.png    SFML 64 bit (unofficial), built with Visual Studio 2013

http://pasteboard.co/1i9TIMi8.png      SFML 32 bit, built with Visual Studio 2012

Pages: [1] 2
anything