OpenGL Superbible on MAC compiled without errors but do not run

Hello i have stared to learn opengl via the opengl superbible 6th ed. I am programming on Mac 10.9.4 (Maverick)
which can run opengl till vers. 4.3. (mentioned via OpenGL viewer for mac). The development environment i am
using is xcode vers. 5.1.1. I have matched to build all the projects like it was explained in the HOWTOBUILD.txt file (with CMake)
without any errors only one warning that swap16 in the sb6ktx,cpp is unused. The project i am trying to run is the sb6
project (1st). When i run the project it only says successfull build but it don’t runs the program (the window with red background).

The code i have separatley written in a file called my.cpp is schown below:

#include "sb6.h"

class my_application : public sb6::application
{
public:
  void render(double currentTime)
  {
    static const GLfloat red[] = {1.0f, 0.0f, 0.0f, 1.0f};
    glClearBufferfv(GL_COLOR, 0, red);
  }
};
DECLARE_MAIN(my_application);

The tree structure of my project sb6 is:
[ATTACH=CONFIG]709[/ATTACH]

Can someone help?

THX in advance

Maybe i have to set the my.cpp file as my first executing file? If YES how can i do this?

nobody any suggestions? :frowning:

Did you try going to the “Product” menu and hit “Run”?

Make sure you created the Xcode project using CMake and not manually.