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.


Topics - con

Pages: [1]
1
General / Weird glew behaviour.
« on: February 06, 2014, 08:43:37 pm »
Hi all, I have managed to setup a SFML application with opengl and glew and all working fine. One thing though is very odd.

This makes the application work fine.
GLenum glewStatus = glewInit();

But this however makes the application crash.
glewInit();

Currently I am using QT Creator with mingw on windows, I think I remember by using codeblocks (couple of weeks ago) that there was not such problem.

Any ideas about what it is?

2
Graphics / How to use OpenGL3?
« on: January 25, 2014, 06:28:11 pm »
Hello, I am using SFML to do some OpenGL programming.

Currently I want to access OpenGL 3 API and I get this error.
error: 'glGenBuffers' was not declared in this scope

I have downloaded SFML from github and built it myself, GLEW should be included in SFML right?

3
D / OpenGL Anyone?
« on: June 29, 2013, 10:47:06 pm »
Hi there, anyone attempted yet to use OpenGL4 with DSFML? Is there any wrapper recommended?

I found these, any recommendations?
https://github.com/Diggsey/OpenGL-D-Bindings
https://github.com/Dav1dde/glamour
https://github.com/aldacron/Derelict3

Also if you try something please let me know how you did it.  :)

4
General / How to use SFML with Codelite?
« on: May 20, 2013, 09:27:23 am »
I have started getting around SFML with Codelite, though Codeblocks is stable and more popular I somehow dislike it. Codelite on the other hand seems better, looks like more robust and slick.

I use Windows7 and Mingw.

However I wonder why I can't compile the tutorial application. In a similar fashion, have studied this tutorial to undestand how to setup a project, because a couple of months before I had used this game engine. http://softpixelengine.sourceforge.net/community/tutorial_codelite/tutorial_codelite.html

So in this case the correct values should be like this, for include path, linker path, libraries.
http://www.sfml-dev.org/tutorials/2.0/start-cb.php

Here is the compile log as it seems in the IDE, is it correct or it should be something else?
mingw32-make.exe[1]: Entering directory `D:/Development/SFMLTest'
g++ -o ./Debug/SFMLTest @"SFMLTest.txt" -L. -LD:/Development/Libraries/SFML-2.0/lib  -lsfml-graphics -lsfml-system -lsfml-window
./Debug/main.o: In function `main':

P.S. I have mingw32-make and g++ in PATH and are accessible from Command Prompt.

5
D / Directly build pong
« on: August 06, 2012, 05:04:07 am »
Hello I would like the command for building pong straight with DMD.

so far I got this
dmd pong.d -I../../../import

But I got some typedef errors...

Pages: [1]