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

Author Topic: code block (cpp) ide opengl,glew and sfml  (Read 1044 times)

0 Members and 1 Guest are viewing this topic.

sujitnag

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
code block (cpp) ide opengl,glew and sfml
« on: January 15, 2015, 05:44:37 pm »
opengl,glew and sfml

in code block, when I try to include glew in sfml it so me
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized

and output is blank window

header is
#define GLEW_STATIC

// Headers
#include <GL/glew.h>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
//#include<SFML/Opengl.hpp>

#include <iostream>

I need your help.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10838
    • View Profile
    • development blog
    • Email
AW: code block (cpp) ide opengl,glew and sfml
« Reply #1 on: January 15, 2015, 07:23:30 pm »
You can't mix Visual Studio files with Code::Blocks.

For further help you need to provide more info as stated in the forum rules.

Also the bindigs / C sub forum is for the CSFML binding and not help seeking posts. ;)
« Last Edit: January 15, 2015, 07:25:31 pm by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything