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

Pages: [1] 2 3
1
System / Re: AppCrash executing SFML Window
« on: July 04, 2015, 01:29:02 am »
ok, then I'll look for an actually working alternative until then. Thanks for your support.

2
System / Re: AppCrash executing SFML Window
« on: July 03, 2015, 07:10:16 pm »
I don't have that much knowledge to be rebuilding every single of the dependencies.

Are you planning to release  vs2015 version of SFML?

3
System / Re: AppCrash executing SFML Window
« on: July 03, 2015, 04:18:50 pm »
Hi, thanks for your response.

I followed up the Compiling SFML with CMake tutorial and when compiling with Debug configuration for Win32 I get the following traceback:

All packages are already installed and there is nothing to restore.
NuGet package restore finished.
1>------ Operación Compilar iniciada: proyecto: sfml-audio, configuración: Debug Win32 ------
2>------ Operación Compilar iniciada: proyecto: sfml-graphics, configuración: Debug Win32 ------
1>     Creando biblioteca E:/Desktop/SFML-2.3/lib/Debug/sfml-audio-d.lib y objeto E:/Desktop/SFML-2.3/lib/Debug/sfml-audio-d.exp
2>     Creando biblioteca E:/Desktop/SFML-2.3/lib/Debug/sfml-graphics-d.lib y objeto E:/Desktop/SFML-2.3/lib/Debug/sfml-graphics-d.exp
1>flac.lib(stream_decoder.obj) : error LNK2019: símbolo externo ___iob_func sin resolver al que se hace referencia en la función _FLAC__stream_decoder_reset
1>flac.lib(stream_encoder.obj) : error LNK2001: símbolo externo ___iob_func sin resolver
1>flac.lib(win_utf8_io.obj) : error LNK2001: símbolo externo ___iob_func sin resolver
1>flac.lib(bitreader.obj) : error LNK2019: símbolo externo _fprintf sin resolver al que se hace referencia en la función _FLAC__bitreader_dump
1>flac.lib(bitwriter.obj) : error LNK2001: símbolo externo _fprintf sin resolver
1>flac.lib(win_utf8_io.obj) : error LNK2019: símbolo externo _vsnprintf_s sin resolver al que se hace referencia en la función _local_vsnprintf
1>MSVCRTD.lib(vsnprintf_s.obj) : error LNK2001: símbolo externo _vsnprintf_s sin resolver
1>MSVCRTD.lib(vsnprintf_s.obj) : error LNK2001: símbolo externo __vsnprintf_s sin resolver
1>E:\Desktop\SFML-2.3\lib\Debug\sfml-audio-d-2.dll : fatal error LNK1120: 4 externos sin resolver
2>freetype.lib(bdf.obj) : error LNK2019: símbolo externo _sprintf sin resolver al que se hace referencia en la función __bdf_parse_properties
2>jpeg.lib(jerror.obj) : error LNK2001: símbolo externo _sprintf sin resolver
2>jpeg.lib(jerror.obj) : error LNK2019: símbolo externo ___iob_func sin resolver al que se hace referencia en la función _output_message
2>jpeg.lib(jmemmgr.obj) : error LNK2019: símbolo externo _sscanf sin resolver al que se hace referencia en la función _jinit_memory_mgr
2>E:\Desktop\SFML-2.3\lib\Debug\sfml-graphics-d-2.dll : fatal error LNK1120: 3 externos sin resolver
========== Compilar: 0 correctos, 2 incorrectos, 5 actualizados, 0 omitidos ==========
 

flac.lib, freetype.lib and jpeg.lib seem to be throwing errors with printf functions.

Not sure if I'm doing something wrong, I followed step by step the CMake tutorial and everything went smooth with no errors.

Also, when are you planning to release a VS2015 build of SFML? I'm really willing to use it putting a lot of effort but I'm starting to feel like I won't be able to do it.

4
System / AppCrash executing SFML Window
« on: July 03, 2015, 02:23:48 am »
Hi,

I'm using the tutorial code in an empty Visual Studio Community Edition 2015 Project, following step by step the Visual Studio setup.


Compiling goes fine, I included all the sfml-*-d.lib as I compiled in Debug mode and I also included the -d.dll in the folder but when executing the .exe file is just Crashes with the following message:



As you can see (ignore the spanish) the module with errors is sfml-system-2.dll but there is nothing else than the main.cpp file in the project. Am i doing something wrong?

I'm willing to provide more information so let me know and I'll update the post. Thanks!

5
Graphics / Re: Stroke on text / font
« on: June 08, 2013, 02:14:18 pm »
I see, thanks!

6
Graphics / Stroke on text / font
« on: June 08, 2013, 01:50:31 am »
Hi there,

I'd like to know if there is any possibility, builtin function or some technique
to easily draw a stroke around each letter of a text.

So when i write white color "A" around it will be drawn a x width sf::color stroke.
Something like Outline inside Shapes.

thanks!

7
Graphics / Re: The best way to draw on texture
« on: June 07, 2013, 09:01:57 pm »
I see, ok thanks I somehow know how to handle it.

ありがとうございました!

8
Graphics / [Solved] The best way to draw on texture
« on: June 07, 2013, 03:17:46 am »
Hi there,

To deploy some of my images on my HUD I want to load into a texture an image, and
then render into this texture some text and numbers, and then assign this texture to a
Rectangle shape to render it to the RenderWindow.

I declared a sf::RenderTexture but I don't see how can I load to this RenderTexture the image
I want to have as base, so I was wondering if there is any technique to do this, or I'm focusing
wrong the matter and there is another better approach.

I'd be very glad to learn and to be enlighten in this matter.

Thank you!

9
SFML projects / Re: SFML Light System - Let There Be Light
« on: June 06, 2013, 08:48:18 pm »
Anyone using this lib knows how can I add a light without the central big light?

I want it to emit light as if it was a point but with no central circle.

I tried changing size, intensity and so but didnt change anything.

Thanks!

10
SFML projects / Re: SFML Light System - Let There Be Light
« on: June 06, 2013, 07:46:20 pm »
EDIT:

Putting background AND adding a view made it work.

Thanks!

11
SFML projects / Re: SFML Light System - Let There Be Light
« on: June 06, 2013, 02:04:26 pm »
Okay,

I finally added all the library to my project as internal, changing includes and everything.

Now after compiling, every light or convexhull i create, doesnt render.

See this screenshot:
http://screencloud.net/v/gJEC

As you can see, No lights are rendered, despite I can see their AABB debugRender rectangle.
Also, no light is emitted and no shadow is cast. The hull can't also be seen.

Is it because I'm missing something?

Btw I had to change some parts of the code. Some of the textures where calling .bind() function
and since now bind is bind(sf::texture*) I changed those lines for sf::Texture::bind(&texture);

12
General / Re: OpenGL Failing on compile
« on: June 06, 2013, 12:06:56 pm »
Done thanks :)

13
General / Re: OpenGL Failing on compile
« on: June 06, 2013, 03:05:16 am »
Did you link to opengl?

Edit: No I haven't. Which are the libs and dlls I have to include? Are there listed anywhere?

Thanks!

14
General / [Solved] OpenGL Failing on compile
« on: June 06, 2013, 02:40:49 am »
Hello there,

I've got several classes using #include <SFML/OpenGL.hpp> but when compiling I get 19 linking errors:

1>AABB.obj : error LNK2001: unresolved external symbol __imp__glVertex2f@8
1>AABB.obj : error LNK2001: unresolved external symbol __imp__glEnd@0
1>AABB.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
1>Color3f.obj : error LNK2001: unresolved external symbol __imp__glColor3f@12
1>ConvexHull.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12
1>ConvexHull.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12
1>EmissiveLight.obj : error LNK2001: unresolved external symbol __imp__glColor4f@16
1>EmissiveLight.obj : error LNK2001: unresolved external symbol __imp__glPopMatrix@0
1>EmissiveLight.obj : error LNK2001: unresolved external symbol __imp__glPushMatrix@0
1>EmissiveLight.obj : error LNK2001: unresolved external symbol __imp__glRotatef@16
1>EmissiveLight.obj : error LNK2001: unresolved external symbol __imp__glTexCoord2i@8
1>Light.obj : error LNK2001: unresolved external symbol __imp__glOrtho@48
1>Light.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4
1>Light.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
1>Light.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
1>Light.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glColor4b@16
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glDisable@4
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glBlendFunc@8

Everything seems to be something about OpenGL.

I'm using SFML 2.0 + SFGUI + C++11 on MSVS2012.
I'm  using Release configuration with SFML included folder and libraries, using the proper libs and proper dlls.

Am I missing something?

Thanks!

15
SFML projects / Re: SFML Light System - Let There Be Light
« on: June 04, 2013, 08:40:41 pm »
Try adding the source to your project directly (so it appears in the solution explorer).

I already tried and when compiling it says it cant find LTLB/QuadTree/StaticQuadTree.h

Damn I only want to use this library >.<

Pages: [1] 2 3