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

Pages: 1 2 3 [4] 5
46
Graphics / Problems loading Images
« on: November 01, 2007, 02:34:43 pm »
Yes, I'm having the same problem. I've tried to resave it as another format in photoshop but it still gives me the error (and I have all the extlibs dlls in the folder, etc...). :< I've even tried making my own image and load it but it still doesn't work.

It worked with SFML-1.1 but then I updated to the SVN version because glu.h stopped working. :(

47
Graphics / Error loading image
« on: November 01, 2007, 02:25:37 pm »
Quote from: "Srejv"
Quote from: "Henrik.Flink"
Put the DevIL.dll int the debug/release folder?


Yup. Did that.


Perhaps I forgot to mention that it still doesn't work. :/

48
Graphics / Error loading image
« on: November 01, 2007, 01:21:43 am »
Quote from: "Henrik.Flink"
Put the DevIL.dll int the debug/release folder?


Yup. Did that.

49
Graphics / Error loading image
« on: October 31, 2007, 11:36:05 pm »
I'm also having some Image loading troubles since I updated from SVN.

Keep getting "Failed to load image from file "tex16.jpg"."

No DevIL.dll in my system32 folder. :<

50
General / Weird errors, glu.h
« on: October 31, 2007, 03:40:31 pm »
I keep getting these weird errors when I'm trying to use glu.h (I know this might not be the right place to ask):

**** Rebuild of configuration Release for project SFML Clockemp ****

**** Internal Builder is used for build               ****
g++ -O3 -Wall -c -fmessage-length=0 -o src\main.o ..\src\main.cpp
In file included from ..\src\main.cpp:3:
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:225: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:226: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:227: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:228: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:229: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:230: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:231: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:232: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:233: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:234: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:235: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:236: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:237: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:238: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:239: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:240: error: expected constructor, destructor, or type conversion before "const"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:241: error: expected constructor, destructor, or type conversion before "const"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:242: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:243: error: expected constructor, destructor, or type conversion before "const"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:244: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:245: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:246: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:247: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:248: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:249: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:250: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:251: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:252: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:253: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:254: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:255: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:256: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:257: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:258: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:259: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:260: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:261: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:262: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:263: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:264: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:265: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:266: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:267: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:268: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:269: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:270: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:271: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:272: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:273: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:274: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:275: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:276: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:277: error: `GLAPI' does not name a type
..\src\main.cpp: In function `int main()':
..\src\main.cpp:19: error: `gluBuild2DMipmaps' was not declared in this scope
..\src\main.cpp:19: warning: unused variable 'gluBuild2DMipmaps'
..\src\main.cpp:55: error: `gluPerspective' was not declared in this scope
..\src\main.cpp:55: warning: unused variable 'gluPerspective'
Build error occurred, build is stopped
Time consumed: 657  ms.

I just have no idea what to do. :(

51
Graphics / Opengl + text
« on: October 31, 2007, 11:32:03 am »
Quote from: "Laurent"
Quote
But I'm not using any textures at all

Yes but SFML uses it, so texture mapping is enabled ;)
You should disable it by calling gldisable(GL_TEXTURE_2D) before your OpenGL rendering.


Ahaa! Well that makes sense. Thanks! :)

52
Graphics / Opengl + text
« on: October 31, 2007, 02:29:09 am »
Quote from: "Laurent"
Quote
I don't know how to explain my problem because it's just weird. Right now I'm initiating OpenGL and setting everything up outside the main loop inside "App.StartOpenGL()" and "App.EndOpenGL()" then I'm using the same for drawing geometry inside the main loop, but I don't get any output at all. :s

It's often related to texture mapping. Try to reset your texture state before your OpenGL custom rendering.


But I'm not using any textures at all.  :(

53
Graphics / Opengl + text
« on: October 31, 2007, 12:20:47 am »
I was thinking of using SFML for help with text output when coding OpenGL programs,  but do I really have to initialize opengl at every frame if I want to use the sf::String and OpenGL? :S

I don't know how to explain my problem because it's just weird. Right now I'm initiating OpenGL and setting everything up outside the main loop inside "App.StartOpenGL()" and "App.EndOpenGL()" then I'm using the same for drawing geometry inside the main loop, but I don't get any output at all. :s

54
General discussions / Libraries
« on: October 24, 2007, 10:54:05 pm »
Quote from: "Laurent"
Quote
Needed this so I knew which libs I had to get for ubuntu

Just read the tutorial :D


I did. :> But since ubuntu is binary based I had to get some dependencies. Didn't get that libIL first, but then realized it was DevIL. :)

55
Audio / Fast Fourier Transform on the sound
« on: October 24, 2007, 10:45:00 pm »
Is it possible to do a Fast Fourier Transform on a sound it get it's frequency data?

http://www.robthebloke.org/opengl_programming.html#8
"fmod Frequencies Example

This example uses fmod to perform a fast fourier transform (FFT) on the sounds waveform data to produce the frequencies in the sound. Fmod's FFT unit can then provide you with an array of 512 floats representing the frequency data. This is then rendered to an openGL window."

Was looking for something like that, only I'd like to use SFML and OpenAL (it is OpenAL SFML uses, isn't it?) for it. :)

56
General discussions / Libraries
« on: October 10, 2007, 09:04:51 pm »
Thank you. :) Needed this so I knew which libs I had to get for ubuntu. :)

57
General discussions / Libraries
« on: October 10, 2007, 09:57:25 am »
Exactly which libraries is SFML based on?

58
General / Best way to draw a lot of text
« on: October 05, 2007, 12:02:02 am »
Personally I use just one instance of the String thing, using SetText for the textchange. But it probably would be wise to use a few different string instances if you plan to use more than one type of font. :>

59
General discussions / Next release
« on: September 12, 2007, 11:58:58 am »
What's new in the next version?

60
General discussions / Benchmark : SDL vs SFML
« on: September 10, 2007, 11:15:34 am »
Isn't there some way to optimize dynamic text? Or are strings too slow to begin with?

Pages: 1 2 3 [4] 5