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

Pages: [1]
1
General / Re: [sfml 2.0] Undefined references
« on: April 30, 2013, 02:40:54 pm »
Managed to fix it by installing a different GCC and CodeBlocks version.

2
General / [solved][sfml 2.0] Undefined references
« on: April 29, 2013, 10:19:21 pm »
So I downloaded the new 2.0 release for GCC 4.7 TDM (used with CodeBlocks), set up all the paths but seem to get this compiler error:

Quote
||=== Build: Debug in GraphIt (compiler: GNU GCC Compiler) ===|
..\..\SFML\lib\libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp|| undefined reference to `__chkstk_ms'|
..\..\SFML\lib\libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp|| undefined reference to `__chkstk_ms'|
..\..\SFML\lib\libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp|| undefined reference to `__chkstk_ms'|
..\..\SFML\lib\libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp|| undefined reference to `__chkstk_ms'|
..\..\SFML\lib\libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp|| undefined reference to `__chkstk_ms'|
..\..\SFML\lib\libsfml-graphics-s.a(ImageLoader.cpp.obj):ImageLoader.cpp|| more undefined references to `__chkstk_ms' follow|
||=== Build failed: 6 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

This happens with the (minimal)code in the tutorial but also with every other previously-working code(using 2.0RC). I use the static libraries, OS is Windows 7 32bit.

Thanks.

3
General discussions / Re: A new logo for SFML
« on: April 21, 2013, 12:24:19 pm »
There's also a certain hedgehog that's fast  ;)

4
General discussions / Re: A new logo for SFML
« on: April 12, 2013, 03:40:01 pm »
Maybe insert the power button inside the white circle?

5
General discussions / Re: A new logo for SFML
« on: April 11, 2013, 08:36:07 am »
I like the bold ones more than the thin ones. So, IMHO, 5,6,7,8,9 don't look as good (they either are too long horizontally or look weird with the bold symbol near them). The symbol top and bottom should be the same as the fonts'

That said, I like 2,4 and 10.

6
General discussions / Re: A new logo for SFML
« on: April 08, 2013, 09:42:26 pm »
It also kind of looks like a tank, seen from above.

7
Graphics / Re: [sfml 2.0]Text not always rendering correctly
« on: February 23, 2013, 01:22:44 pm »
Thanks. Updating the drivers did the trick.

@Nexus Mostly because by starting the indexing from 1, identifying the nodes is easier. Also helps a lot with the adjacency matrix. As for the second part, only lately I've started studying the OOP/STD side of C++ (I know, it's stupid but the school taught us "c with cout" and didn't focus on the actual improvements of c++ over c)

8
Graphics / [solved][sfml 2.0]Text not always rendering correctly
« on: February 23, 2013, 12:48:49 pm »
SFML beginner here. I'm having weird issues with rendering text. I'm writing a program that reads nodes, any edges and then draws them to the screen. I want each node to have a number. The issue is that adding some stuff to the program(like setting the outline color for the nodes) breaks the text, showing it as squares. Relevant piece of code:

Code: [Select]
sf::CircleShape node[11];
sf::Font font; font.loadFromFile("arial.ttf");
sf::Text nodeNumber("",font,15.f);
nodeNumber.setStyle(sf::Text::Bold);
nodeNumber.setColor(sf::Color::White);

for(int i=1; i<=n; i++)
{
        node[i].setRadius(15.f);
        node[i].setFillColor(sf::Color(78,190,218));
        //node[i].setOutlineThickness(1.f);
        //node[i].setOutlineColor(sf::Color(0,120,120));
        node[i].setPosition(pos[i][0],pos[i][1]);
}
//...some code
for(int i=1; i<=n; i++)
{
        window.draw(node[i]);
        nodeNumber.setString(char('0'+i));
        nodeNumber.setPosition(pos[i][0]+10,pos[i][1]+6);
        window.draw(nodeNumber);
}



As you can see, it works fine. However, adding outline to the nodes(commented out) causes this:



Thanks.

edit: I'm using Windows 7 32bit with an AMD B55 CPU and AMD HD5770 video card.

Pages: [1]