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

Pages: [1]
1
Graphics / Problem with an SFML VertexArray Example
« on: November 02, 2019, 05:31:08 pm »
Hello! I'm watching this example into SFML VertexArray Examples (the last in the bot: the Particle System):

https://www.sfml-dev.org/tutorials/2.5/graphics-vertex-array.php

I'm trying to use it and it's very good but i have some question, and the most important of them is:

What is the method virtual void draw(RenderTarget, RenderStates), where did they use it?

How does it works? If i remove the function, it gives the error:

particles.cpp|88|error: cannot declare variable 'particles' to be of abstract type 'ParticleSystem'

At the main where it creates the class instance. WHy? Thank you

2
General / Re: Keep Window Opened, but continue to use terminal
« on: February 13, 2019, 05:39:30 pm »
sorry, i need to keep actived a windows, but continue to use the terminal console. I'm trying using the threads that execute a function with a while(window.isopen()). But when i close it, also if i do thread.detach(), the console retrives: Failed to activate OpenGL context: the resource is already utilized

3
General / Keep Window Opened, but continue to use terminal
« on: February 13, 2019, 03:38:03 pm »
Hello! I need to create a basic plotting program (already realized). But now i need to create a second Window, that needs to be opened during all the program use, in order to retrive the information (Observer). So, when i close my first window, i return on terminal, but this window need to rest opened.

I tried to declare it in an other function and put it in the first while of the first win, but nothing.

It's possible to do that? Thank you

4
General / Re: Linking to CodeBlocks
« on: February 10, 2019, 01:23:38 am »
ok i solved, it was that i haven't put openal32.dll in the .exe folder :)

5
General / Linking to CodeBlocks
« on: February 09, 2019, 08:21:43 pm »
Hello! I founded this library in order to draw some polygons. I have followed the guide to link it with CodeBlocks (i have codeblocks with MinGW incorporated, so i have the libgcc_s_sjlj-1.dll. So i have downloaded the latest version GCC 5.1.0 TDM (SJLJ), but when i starrt the exmeple program (i also have the .dll on the .exe, .o and .cpp folder), it gives, for three times (i'm using graphics, system and windows): impossible to fin the ingress point __gxx_personality_v0 of mydir/sfml-system-2.dll and mydir/sfml-window-2.dll.

What i'm doing wrong? Thank you so much

Pages: [1]