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

Pages: [1] 2
1
Graphics / Platform...
« on: January 08, 2008, 08:17:45 pm »
Not to worry. I guess it's just the platform I am working on. I am not spending anymore time on the project or SFML until SFML becomes more mature. Thank you.

2
Graphics / Font Problems
« on: January 03, 2008, 05:43:10 pm »
I have a relatively mature SFML V1.1 program that is experiencing a strange problem. I had it running on a Windows Vista Ultimate machine with no problems. Now I am trying to run it on a Windows Vista Home Premium machine and when any text is displayed on the screen from the SFML program it first appears as black boxes instead of readable text. However, if a key is struck in a text input box, for example, the text will then display as normal. Any ideas? Please prod for more information/source code as neccessary. Thank you. By the way, I can compile the program with either MinGW or Visual Studio and the binary will exhibit the same behavior.

3
General discussions / Willing to Beta Test
« on: September 21, 2007, 10:51:08 pm »
Hi Laurent, drop me a PM, as I am willing to participate in Beta Testing.

4
Graphics / Many thanks.
« on: September 21, 2007, 10:46:25 pm »
Thanks Laurent!

5
Graphics / SFML_GLU_HEADER
« on: September 20, 2007, 10:20:00 pm »
It does not work either way; placing before or after.

6
Graphics / Not Working
« on: September 20, 2007, 06:59:40 pm »
Even after including #include SFML_GLU_HEADER appropriatley I get the following compiler output:
Code: [Select]

Running "C:\msys\1.0\bin\make.exe  -f Makefile CONF=Debug" in C:\Users\Robert\Application_1

/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Users/Robert/Application_1'
mkdir -p build/Debug/MinGW-Windows
g++.exe    -c -g3 -gdwarf-2 -IC\:/MinGW/include -IC\:/msys/1.0/local/include -o build/Debug/MinGW-Windows/newfile.o newfile.cc
In file included from newfile.cc:8:

C:/MinGW/include/GL/glu.h:225: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:225: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:226: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:226: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:227: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:227: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:228: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:228: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:229: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:230: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:231: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:231: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:232: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:232: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:233: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:233: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:234: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:234: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:235: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:235: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:236: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:236: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:237: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:237: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:238: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:238: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:239: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:239: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:240: error: expected constructor, destructor, or type conversion before "const"

C:/MinGW/include/GL/glu.h:240: error: expected `,' or `;' before "const"

C:/MinGW/include/GL/glu.h:241: error: expected constructor, destructor, or type conversion before "const"

C:/MinGW/include/GL/glu.h:241: error: expected `,' or `;' before "const"

C:/MinGW/include/GL/glu.h:242: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:242: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:243: error: expected constructor, destructor, or type conversion before "const"

C:/MinGW/include/GL/glu.h:243: error: expected `,' or `;' before "const"

C:/MinGW/include/GL/glu.h:244: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:244: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:245: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:245: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:246: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:246: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:247: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:248: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:249: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:250: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:250: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:251: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:251: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:252: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:252: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:253: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:253: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:254: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:254: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:255: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:255: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:256: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:256: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:257: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:257: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:258: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:258: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:259: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:260: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:260: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:261: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:261: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:262: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:262: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:263: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:263: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:264: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:264: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:265: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:265: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:266: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:267: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:267: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:268: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:268: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:269: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:269: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:270: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:270: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:271: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:271: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:272: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:272: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:273: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:273: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:274: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:274: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:275: error: expected constructor, destructor, or type conversion before "void"

C:/MinGW/include/GL/glu.h:275: error: expected `,' or `;' before "void"

C:/MinGW/include/GL/glu.h:276: error: `GLAPI' does not name a type

C:/MinGW/include/GL/glu.h:277: error: `GLAPI' does not name a type

newfile.cc: In function `int main()':

newfile.cc:39: error: `gluBuild2DMipmaps' undeclared (first use this function)

newfile.cc:39: error: (Each undeclared identifier is reported only once for each function it appears in.)

newfile.cc:81: error: `gluPerspective' undeclared (first use this function)

make[1]: *** [build/Debug/MinGW-Windows/newfile.o] Error 1
make[1]: Leaving directory `/c/Users/Robert/Application_1'
make: *** [.build-impl] Error 2

Build failed. Exit value 2.


7
Graphics / glu.h MinGW
« on: September 20, 2007, 01:56:16 am »
It seems that glu.h with MinGW is also broke in this release of SFML V 1.1. Compiling opengl.cpp using default instructions does not work using MinGW. A failed compilation generates error messages from glu.h in addition to glBuild2DMipmaps and gluPerspective not being found, most likely because glu.h is broken in terms of it's implementation with SFML.

Thanks!

8
Feature requests / Many thanks.
« on: September 15, 2007, 07:30:50 pm »
Thank you! I will wait for the next release patiently.  :D

9
Feature requests / Further Investigations
« on: September 15, 2007, 06:26:10 pm »
I did some further investigating and discovered that it is not a Vista compatability issue at all. The extent of my investigation includes:
1. Downloaded and installed the latest VC2005 Express Edition + MSDN + MS SQL.
2. Installed the Microsoft Platform SDK.
3. Successfully Compiled SFML libraries.
4. Succssfully installed SFML into VC2005 Express.
5. Ported my application to VC2005 Express.
6. Compiled.
7. And the application ran on Windows Vista!

What does not work is a compiled binary of say ./samples/opengl using MinGW.

Since this has to do with the compilers and not Vista my knowledge would be stretched thin on debugging. All I can tell you is that when using MinGW, upon runtime the application will: "Request that the C++ Runtime Terminate in an Unusual Way..." I also can tell you that the project compiles fine with no errors or warnings using MinGW - but again the binary will not run. I suspect this may have to do with OpenGL but have no real idea.

My original post is erroneous - This is not a Vista issue. I suspect it is a MinGW issue.

10
Feature requests / [EDIT] MinGW Issues
« on: September 15, 2007, 12:11:36 am »
Using Windows Vista:
Code will compile properly but the C++ runtime will "Terminate in an unusual way."

Can you please make it so SFML binaries work under Vista again?

[this is probably not a Windows Vista issue]

11
Graphics / Threads
« on: September 05, 2007, 08:53:30 pm »
In the beggining, I had a preconception that it would be neccessary to use threads in order to synchronize the opening and closing of my windows. However, in light of the new information you provided I found that my preconception was not feasible. Presently I am using the sfMutex and standard classes and functions to organize and call my windows. I am not really facing any problems at the current time mostly thanks to the information you provided regarding OpenGL and threads. I really appreciate that bit of info.

12
Graphics / Back to the drawing board...
« on: September 05, 2007, 05:54:43 pm »
Thanks for your help everyone. As I was trying to debug the application I had a feeling that I was either encountering a bug or violating some basic principle of the API. You clarified it best Laurent; I did not know that all OpenGL contexts are shared. It's absolutely great that it wasnt a bug -- Makes me love SFML even more. I mean, with the release being just last month you would think the forum would be crawling with bug reports but that is not the case which is pretty excellent.

Anyways, is there an alternate way that anyone knows of that I could display a secondary window not using threads? I will work on this as well and let you know my results.

13
Graphics / pastebin
« on: September 05, 2007, 12:06:51 am »
Here are links to the souce of the program:
main.cc
http://pastebin.com/m53a6f09d
purchase.cc (thread)
http://pastebin.com/m6a4f8a20
purchase.h
http://pastebin.com/m133fdb46

14
Graphics / Solved
« on: September 04, 2007, 11:14:07 pm »
I solved this problem. It was a problem with the ordering of my library files.

15
Graphics / Font resources are not accessible?
« on: September 03, 2007, 11:15:13 pm »
I am writing a small game application and I have programmed a second window to open as a thread. On the first run of this second window, user input from the keyboard will be processed and displayed on screen using the correct font. On the second run only small squares and rectangles appear when input is entered.

If you need more info let me know.

Edit: 9/4. Did I do something to displease the forum that I am not getting any help? or Have I discovered a bug and people are keeping mum? I would really appreciate any help.

Pages: [1] 2
anything