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

Pages: 1 [2]
16
Window / Changing gamma, brightness and contrast
« on: January 12, 2011, 10:16:05 pm »
Ok thanks for the replies :)

17
Window / Changing gamma, brightness and contrast
« on: January 12, 2011, 07:29:23 pm »
yes i tought of that too, but that would only change the brigtness, what about the contrast?? is there anyway to change it?

18
Window / Changing gamma, brightness and contrast
« on: January 12, 2011, 12:56:37 pm »
Hi.

I would like to know if there is any way to change the gamma, brightness and contrast of the window using SFML.

tks in advance.

19
Audio / Problem with audio lib
« on: December 26, 2010, 07:22:41 pm »
Hi.

I have a problem when i try to link the audio lib (-lsfml-audio-s) with code blocks, each time i try to compile the code, code blocks gives me this menssage: "It seems that this project has not been built yet. Do you want to build it now?" and doesnt create the .exe file at all.

I have -lsfml-system-s linked before the audio lib so i think dependencies are not a problem.

What am i doing wrong??

20
General / Invalid executables, not loading the DLLs properly
« on: December 02, 2010, 06:01:36 pm »
Hi

When i try to compile any program that uses the SFML libraries i only get an empty cmd window and i seem to be able to display nothing in it.
When i try to compile the same program with static libs it works fine.

My guess is that the program is not loading the dlls as it should, so what am i doing wrong???

Im using mingw with the following linker options:
-lsfml-graphics
-lsfml-window
-lsfml-system

21
General / Can´t run sfml games on a certain machine
« on: November 26, 2010, 10:50:28 pm »
Ok, tks that solved it :)

22
General / Can´t run sfml games on a certain machine
« on: November 26, 2010, 07:04:47 pm »
hmm, i tryed to compile my program with the following linker options:

-lsfml-system-s
-lsfml-window-s
-lsfml-graphics-s

and i have the linker search directories to the lib folder in the SFML folder, but when i try to create a sf::RenderWindow i get the following errors:

Quote
||warning: auto-importing has been activated without --enable-auto-import specified on the command line.|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::SetActive(bool) const'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `glReadPixels@28'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Create(void*, sf::WindowSettings const&)'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Create(void*, sf::WindowSettings const&)'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Create(sf::VideoMode, std::string const&, unsigned long, sf::WindowSettings const&)'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::Create(sf::VideoMode, std::string const&, unsigned long, sf::WindowSettings const&)'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::SetActive(bool) const'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::GetHeight() const'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::GetWidth() const'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderWindow.o):RenderWindow.cpp:(.rdata$_ZTVN2sf12RenderWindowE[vtable for sf::RenderWindow]+0x8)||undefined reference to `sf::Window::OnEvent(sf::Event const&)'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glDisable@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glDisable@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glDisable@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glViewport@16'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glLoadMatrixf@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glLoadIdentity@0'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glPushAttrib@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glPushMatrix@0'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glPushMatrix@0'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glPopMatrix@0'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glPopMatrix@0'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glPopAttrib@0'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glClearColor@16'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glClear@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glDisable@4'|
D:\SFML-1.6\lib\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp|| undefined reference to `glDisable@4'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 1 warnings ===|


What am i doing wrong here??

23
General / Can´t run sfml games on a certain machine
« on: November 26, 2010, 11:30:36 am »
unfortunately that isn't the problem   :evil:

the dll's i have in the app folder are:
libgcc_s_dw2-1.dll
libsndfile-1.dll
libstdc++-6.dll
openal32.dll

I have a laptop windows 7 64bits with a ATI grapchic card very similar and I don't have the problem and the video driver is updated.
I think is something about this machine I have no clue what might be though.

edit:

Oh sory, i was thinking about something else when u said static libs ^^'. But how can i compile my program with static libraries?? that is something i never covered, can u pls just give me an hint?

24
General / Can´t run sfml games on a certain machine
« on: November 26, 2010, 01:24:43 am »
hi
so when I open a sfml app it launches only the cmd prompt and doesn't do anything besides that, doesn't seem to load anything.

the machine in question
windows 7 64bits, recently installed
CPU amd atlhon 64 x2
Graphic card ATI radeon HD 3600

video drivers up to date

25
Graphics / Graphical problem with windows XP
« on: November 15, 2010, 01:46:04 pm »
ok, I found out what was the problem, it was pretty simple the image had a transparent backgfround -.-.

false alarm sory

26
Graphics / Graphical problem with windows XP
« on: November 15, 2010, 12:00:00 pm »
Ok, i couldnt update my drivers because it is a pc computer, but i solved the problem.

instead of making the background image a bmp i turned it into a png and now it works fine, but i still want to know, what could be the problem with bmp??

27
Graphics / Graphical problem with windows XP
« on: November 15, 2010, 11:24:54 am »
Hi

When i try to run my program in windows XP there is a problem, the graphics are not drawn correctly:



here are the computer specifications:

graphic card: intel 82845g
SO: windows XP professional service pack 2
CPU: pentium 4, Intel
504mbs ram

I already tested it with other OS and it works fine, but i havent got the chance to test it with diferent pcs that have windows xp so im guessing that it might be a graphics card problem.

help pls.
[/img]

28
General / Problem with SFML window not showing
« on: November 06, 2010, 11:45:36 pm »
Hi

I have made a program using SFML and i tested with many computers and it worked fine, but there was one computer in which it didnt worked.

i then made a simple test program to try again with something simple, heres the program:

Code: [Select]
#include <SFML/Graphics.hpp>
#include <iostream>

using namespace std;

string test;

int main()
{
    sf::RenderWindow window(sf::VideoMode(1024, 768, 32), "Project: Nova 6");
    cout <<"Its done!";

    while(1)
    {
        window.Clear(sf::Color(0, 0, 0));

        window.Display();
    }
}


as i said before, it works with the other computers just fine, but when i get to this computer the program runs, the conssole apears but the game window cant be selected. the game window is created and it exists, but i can only see it on the taskbar.

The OS is windows 7 64 bits, i first tought this could be the problem, but then i tested with other machines with the same OS and it worked fine.

The dlls inside the executable folder are:
sfml-window.dll
sfml-system.dll
sfml-graphics.dll
sfml-audio.dll
openal32.dll
libstdc++-6.dll
libgcc_s_dw2-1.dll

Someone pls help me here, what am i doing wrong??

Pages: 1 [2]