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

Pages: [1]
1
General / Re: OpenGL Error in x86_64 windows
« on: May 17, 2014, 04:31:04 pm »
ignore. It turns out to be problem in my virtual machine  :'(

2
General / OpenGL Error in x86_64 windows
« on: May 17, 2014, 04:10:05 pm »
I downloaded and installed GCC 4.7 TDM (SJLJ) - 64 bits within my 64 bit GCC-TDM in Windows XP SP3 64 bit. It is running under virtualbox. 3d acceleration is working very well- guest additions are installed.
I got this error message:
OpenGL Warning: DrvShareLists: unsupported
OpenGL Warning: DrvShareLists: unsupported

What is going wrong? And by the way I thought SFML use DirectX in windows instead of OpenGL. By the way here is the sample program I tried to run:
Code: [Select]
#include <SFML/Window.hpp>

int main()
{
    sf::Window window(sf::VideoMode(800, 600), "My window");

    // run the program as long as the window is open
    while (window.isOpen())
    {
        // check all the window's events that were triggered since the last iteration of the loop
        sf::Event event;
        while (window.pollEvent(event))
        {
            // "close requested" event: we close the window
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.display();
    }

    return 0;
}

3
C / Re: Headers
« on: February 16, 2014, 09:06:32 am »
This is a macro that hides the import/export declarations. You can ignore it.
That gave real relief, Thanks! :)

4
C / Headers
« on: February 16, 2014, 08:55:38 am »
I downloaded CSFML-2.1-windows-32bits.zip, for gcc/msvc. I need to translate C headers of CSFML into FreeBASIC. I'm translating by manual method. I do know good C but am not C expert, mainly application programmer. I got confused in declarations like (from Image.h):
Code: [Select]
CSFML_GRAPHICS_API sfImage* sfImage_create(unsigned int width, unsigned int height);

what is CSFML_GRAPHICS_API? If I am right, we are declaring a function sfImage_create type pointer to sfImage. But what do CSFML_GRAPHICS_API do and stand for? Then audio headers have CSFML_AUDIO_API, network headers have CSFML_NETWORK_API, etc.
- Harsh Bhati

Pages: [1]
anything