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.


Topics - GalakTozawr

Pages: [1]
1
General / No compilу sfml 2.3.1 for MinGW 4.4.7
« on: July 18, 2015, 09:54:16 pm »
Text error when using the mingw32-make:
Linking CXX shared library ..\..\..\lib\sfml-graphics-2.dll
Creating library file: ..\..\..\lib\libsfml-graphics.a
C:/projectHakasia/SFML-2.3.1/extlibs/libs-mingw/x86/libfreetype.a(cff.c.obj):cff
.c:(.text+0x93eb): undefined reference to `__chkstk_ms'
collect2: ld returned 1 exit status
src\SFML\Graphics\CMakeFiles\sfml-graphics.dir\build.make:819: recipe for target
 'lib/sfml-graphics-2.dll' failed
mingw32-make[2]: *** [lib/sfml-graphics-2.dll] Error 1
CMakeFiles\Makefile2:305: recipe for target 'src/SFML/Graphics/CMakeFiles/sfml-g
raphics.dir/all' failed
mingw32-make[1]: *** [src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/all] Error
2
Makefile:115: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

2
General / Beautiful demoscene
« on: September 17, 2014, 01:50:19 pm »
Hi, I am a fan of SFML and therefore opened its Russian lessons on it. Do beautiful examples demoscene on sfml? Need to demonstrate the potential of sfml page.
If interested, then here is my site: http://kfni.ho.ua/sfml.html :)

3
General / Compilling sfml in /Mtd
« on: August 27, 2014, 12:55:51 pm »
Hi, as compilling sfml in Mtd(Multi-threader )?
main.obj : error LNK2005: "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ) уже определен в msvcprtd.lib(MSVCP90D.dll)
1>main.obj : error LNK2005: "public: __thiscall std::locale::~locale(void)" (??1locale@std@@QAE@XZ) уже определен в msvcprtd.lib(MSVCP90D.dll)

4
Graphics / No smooth RenderTexture
« on: June 16, 2014, 09:14:00 pm »
sf::RenderTexture drawtext;
sf::Sprite s_drawtext;

s_drawtext.setScale(0.2,0.2);
...code..
while(1){

drawtext.setSmooth(true);
s_drawtext.setTexture(drawtext.getTexture());

}
No smooth!!!!

5
Graphics / Dynamic light(shadow), as create?
« on: May 07, 2014, 09:32:53 pm »



Light should move.
what tools are needed for this?
An example of what I want to get:

Only moving light areas must be many.

6
General / Error in compilation test project VC8 c++
« on: February 17, 2014, 07:29:46 pm »
Hi, here as create new project win32. But I have a problem.
Here my step:
File->New->Project Win 32 project
next-> empty project
source(right mouse press) add-> new item main.cpp -> ok

http://sfml-dev.org/tutorials/2.1/start-vc.php

Then (right mouse press) in project -> propereties

All configurations
C++ -> General -> AID(aditional include directores) -> D:\sfml\include
linker -> Generals -> AID ->D:\sfml\lib
Debag
linker-> input additional dependencies->
sfml-graphics-d.lib
sfml-window-d.lib
sfml-system-d.lib
sfml-audio-d.lib

Copy test code in main.cpp:
#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.clear();
        window.draw(shape);
        window.display();
    }

    return 0;
}

ctr+F5
Errors!!! =)

1>------ Build started: Project: sas, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Projects\sas\Debug\sas.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Projects\sas\sas\Debug\BuildLog.htm"
1>sas - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Pages: [1]
anything