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

Pages: 1 2 3 [4]
46
General / Re: Problem with SFML in VS2010 Debug
« on: March 29, 2012, 08:14:15 pm »
Ok! The problem is resolved.  :o  How? I am not sure...  :-\

The steps (32 bits configuration):

1. LaurentGomila-SFML-bindings_removed-225-g90ba800 (2012/03/29)

2. CMake

3. STATIC_STD_LIBS check! <- Perhaps this is the reason.

4. BUILD_EXAMPLES check!

6. Change CMAKE_INSTALL_PREFIX according to personal preferences. Generally, I don't like install but...  :-\

5. Configure & Generate

6. Open the solution with VS2010

7. Build ALL_BUILD & INSTALL Projects in  Debug and Release mode

*INSTALL*

 :)

For symmetry, I will repeat this steps for Mingw 4.6.2 environtment (32 bits configuration).


DJuego

My System:
Microsoft Visual Studio Ultimate (Universy License)
Windows 7 64b (Spanish).
8GB RAM
NVIDIA GeForce GT 220

P.S: The examples works!  ;D

P.S.2: Excuse me my English.

47
SFML projects / Re: Thor 2.0
« on: March 29, 2012, 07:34:20 pm »
I'm having a problem trying to compile Thor with CMake.  Specifically I'm getting the same SFML_DIR-NOTFOUND error (whether I change SFMLDIR or SFML_DIR it always comes out with the same error). I have SFML installed from the git tutorial.
I think you have to install SFML, not just build it (the CMake install command copies the FindSFML file). You have to type make install (using g++) or compile the INSTALL project (Visual Studio).

Correct.  I am not accustomed "to install" libraries. I don't like. Perhaps it will be enough relocating the folder 'cmake/Modules/findSMFL' to the 'installation directory'.

On the other hand I can not meta-build the examples with CMake-2.8.7
What do you mean with meta-build? The examples/CMakeLists.txt file cannot be used autonomously, it is invoked by the top-level CMakeLists.txt.


Forget it! I am a *noob* with CMake.  :'(  My problem...

Code: [Select]
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: Particles, Configuration: Release Win32 ------
2>  Particles.cpp
2>W:\Librerias-VS2010\SFML\Bromeon-Thor-9b4b3d9\examples\Particles.cpp(111): error C2664: 'sf::Vector2f sf::RenderTarget::convertCoords(const sf::Vector2i &,const sf::View &) const' : cannot convert parameter 1 from 'unsigned int' to 'const sf::Vector2i &'
2>          Reason: cannot convert from 'unsigned int' to 'const sf::Vector2i'
2>          No constructor could take the source type, or constructor overload resolution was ambiguous
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

Sorry! You need update the git snapshot Thor to the new *SFML* commits.  ;D

Thank you for your dedicated attention, Nexus!

DJuego

48
SFML projects / Re: SFML Light System - Let There Be Light
« on: March 28, 2012, 07:13:30 pm »
It seems fantastic!   :o Thank you lolz123!

However I prefer to wait to build it with the new SFML naming convention. ??? I am anxious!  :P

DJuego

49
SFML projects / Re: Thor 2.0
« on: March 28, 2012, 02:16:49 pm »
I'm having a problem trying to compile Thor with CMake.  Specifically I'm getting the same SFML_DIR-NOTFOUND error (whether I change SFMLDIR or SFML_DIR it always comes out with the same error). I have SFML installed from the git tutorial. 

EDIT: I got it fixed; for some reason the FindSFML.cmake file wasn't copied to the Modules folder in CMake.  Copying it over seemed to fix it.


Yep! I confirm the problem and the solution (thanks Astrof!) with Bromeon-Thor-9b4b3d9.tar.gz.

On the other hand I can not meta-build the examples with CMake-2.8.7

Code: [Select]
CMake Error at CMakeLists.txt:38 (thor_link_thor):
  Unknown CMake command "thor_link_thor".
Call Stack (most recent call first):
  CMakeLists.txt:51 (thor_example)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!


Thanks in Advance!!

DJuego

P.S: Fantastic complement, Nexus. Thank you very much!!!  :P

Windows 7 64b
Visual Studio 2010

50
General / [SOLVED]Problem with SFML in VS2010 Debug
« on: March 25, 2012, 07:29:58 pm »
Hi!!!  This my first post. I am a lonely spanish dev.  Excuse that I am not too talker. I am ashamed for my very lacking English  :-X

In any case I am delighted to have found you. Thank you for being here and there. Yep! Thanks Laurent & Co. !

OpenGL o DirectX are too daunting for weak people like me. And this 'little' library seems to have a very well deliberate design. Elegant and simple. I am delighted.

However I hope the best will be the community. :-}

Ok. I have my first problem. :D
 
SFML 2.0 Snapshot (2012/03/25)=>LaurentGomila-SFML-24f8c35

I have built it with success (no errors) in MinGW (official) gcc-4.6.2 and VS2010. No problem. (CMake with default settings)

I can build (compile and link) this minimalist sample in debug and release mode in gcc and MSVC:

Code: [Select]
#include <SFML/Window.hpp>

int main()
{
    sf::Window ventana;

    return EXIT_SUCCESS;
}

Everything was very easy. I was happy.  ;)

Now When I try run:

Works with gcc-4.6.2 debug (Codeblocks). Perfect!
Works with gcc-4.6.2 release (Codeblocks). Perfect!

Do not work with VS2010 debug. :( <- The problem is here.
Works with VS2010 release Perfect!

The Output:

Code: [Select]

'Mi_Primer_SFML_MVC2010.exe': Loaded 'P:\Proyectos\MiPrimerSFML\prj\Mi_Primer_SFML_MVC2010\Debug\Mi_Primer_SFML_MVC2010.exe', Symbols loaded.
'Mi_Primer_SFML_MVC2010.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'Mi_Primer_SFML_MVC2010.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'Mi_Primer_SFML_MVC2010.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'Mi_Primer_SFML_MVC2010.exe': Loaded 'P:\Proyectos\MiPrimerSFML\prj\Mi_Primer_SFML_MVC2010\Debug\sfml-window-d-2.dll', Symbols loaded.
The program '[6316] Mi_Primer_SFML_MVC2010.exe: Native' has exited with code -1073741811 (0xc000000d).


Preprocessor Definitions:
I tried SFML_DYNAMIC and SFML_STATIC. Same problem

Additional Dependencies:
sfml-window-d.lib;

Any idea? Thanks in advance!


My System:
Microsoft Visual Studio Ultimate (Universy License)
Windows 7 64b (Spanish).
8GB RAM
NVIDIA GeForce GT 220

Pages: 1 2 3 [4]