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

Pages: 1 ... 5 6 [7] 8 9 ... 13
91
Feature requests / SFML on IndieDB?
« on: September 24, 2011, 04:43:45 am »
Another game you can use is beep
http://store.steampowered.com/app/104200

92
SFML projects / Thor C++ Library – An SFML extension
« on: September 20, 2011, 09:04:32 pm »
Hi, yea you are right.
Im on XP so i thought i was admin right away but turns out im not.
Running as admin fixed it

93
SFML projects / Thor C++ Library – An SFML extension
« on: September 20, 2011, 06:07:18 pm »
I seem to be getting some problems with CMake, Im sure there problems on my end but I dont know what it could be.

this is configuring NMake
Quote
The C compiler identification is MSVC
The CXX compiler identification is MSVC
Check for CL compiler version
Check for CL compiler version - 1600
Check if this is a free VC compiler
Check if this is a free VC compiler - yes
Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
CMake Error: Remove failed on file: C:/Documents and Settings/Richy/My Documents/thor/make/CMakeFiles/CMakeTmp/cmTryCompileExec.exe: System Error: Permission denied
CMake Error: Remove failed on file: C:/Documents and Settings/Richy/My Documents/thor/make/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe: System Error: Permission denied
Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "C:/Program Files/Microsoft Visual Studio
  10.0/VC/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/Documents and Settings/Richy/My Documents/thor/make/CMakeFiles/CMakeTmp

 

  Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast"

     "C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f
  CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L
  CMakeFiles\cmTryCompileExec.dir\build

     "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
  "C:\Documents and Settings\Richy\My
  Documents\thor\make\CMakeFiles\CMakeTmp\CMakeFiles" 1

  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj

     C:\PROGRA~1\MICROS~2.0\VC\bin\cl.exe
  @C:\DOCUME~1\Richy\LOCALS~1\Temp\nm17F.tmp

  testCCompiler.c

  Linking C executable cmTryCompileExec.exe

     "C:\Program Files\CMake 2.8\bin\cmake.exe" -E vs_link_exe
  C:\PROGRA~1\MICROS~2.0\VC\bin\cl.exe /nologo
  @CMakeFiles\cmTryCompileExec.dir\objects1.rsp
  @C:\DOCUME~1\Richy\LOCALS~1\Temp\nm180.tmp

  LINK : fatal error LNK1104: cannot open file 'cmTryCompileExec.exe'


  LINK Pass 1 failed.  with 2

  NMAKE : fatal error U1077: '"C:\Program Files\CMake 2.8\bin\cmake.exe"' :
  return code '0xffffffff'

  Stop.

  NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
  10.0\VC\BIN\nmake.exe"' : return code '0x2'

  Stop.

 

 

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:42 (project)


Configuring incomplete, errors occurred!


And this is VS2010 solutions
Quote
Check for working C compiler using: Visual Studio 10
CMake Error: Remove failed on file: C:/Documents and Settings/Richy/My Documents/thor/make/CMakeFiles/CMakeTmp/cmTryCompileExec.exe: System Error: Permission denied
CMake Error: Remove failed on file: C:/Documents and Settings/Richy/My Documents/thor/make/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe: System Error: Permission denied
Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "C:/Program Files/Microsoft Visual Studio
  10.0/VC/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/Documents and Settings/Richy/My Documents/thor/make/CMakeFiles/CMakeTmp

 

  Run Build Command:C:\PROGRA~1\MICROS~2.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec

 

  Microsoft (R) Visual Studio Version 10.0.30319.1.

  Copyright (C) Microsoft Corp.  All rights reserved.

  1>------ Build started: Project: cmTryCompileExec, Configuration: Debug
  Win32 ------

  1> testCCompiler.c

  1>LINK : fatal error LNK1104: cannot open file 'C:\Documents and
  Settings\Richy\My
  Documents\thor\make\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe'

  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
  ==========

 

 

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:42 (project)


Configuring incomplete, errors occurred!

94
General / trying to convert Spark to SFML 2
« on: September 19, 2011, 11:57:22 pm »
Well I tried but failed :/
The demo project just crashes and doesnt draw anything, so I guess I will just have to wait untill they make an official update.

Are there any particle systems as good as Spark but that work with SFML2?

95
General / trying to convert Spark to SFML 2
« on: September 19, 2011, 11:34:31 pm »
fixed it

96
General / trying to convert Spark to SFML 2
« on: September 19, 2011, 11:23:46 pm »
I did that and the renderer compiled fine, but when i tried to use it in a project I got

1>------ Build started: Project: SPARK Tuto 2, Configuration: Release Win32 ------
1>SPARK_SFML.lib(SPK_SFML_All.obj) : error LNK2001: unresolved external symbol "private: virtual void __thiscall SPK::SFML::SFMLSystem::Render(class sf::RenderTarget &,class sf::Renderer &)const " (?Render@SFMLSystem@SFML@SPK@@EBEXAAVRenderTarget@sf@@AAVRenderer@5@@Z)
1>..\..\..\demos\bin\SPARK Tuto 2.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

97
General / trying to convert Spark to SFML 2
« on: September 19, 2011, 09:59:14 pm »
hmm

I tried it again doing a copy and paste of the prototype:

virtual void Render(sf::RenderTarget& target, sf::Renderer& renderer) const = 0;

but still the same

this is the full output

Quote
1>------ Build started: Project: SPARK Engine SFML LIB, Configuration: Release Win32 ------
2>------ Build started: Project: SPARK Engine SFML DLL, Configuration: Release Win32 ------
1>  SPK_SFML_All.cpp
2>  SPK_SFML_All.cpp
1>C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(63): error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class
1>          due to following members:
1>          'void SPK::SFML::SFMLSystem::Render(sf::RenderTarget &,sf::Renderer &) const' : is abstract
1>          C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(136) : see declaration of 'SPK::SFML::SFMLSystem::Render'
1>C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(145): error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class
1>          due to following members:
1>          'void SPK::SFML::SFMLSystem::Render(sf::RenderTarget &,sf::Renderer &) const' : is abstract
1>          C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(136) : see declaration of 'SPK::SFML::SFMLSystem::Render'
2>C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(63): error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class
2>          due to following members:
2>          'void SPK::SFML::SFMLSystem::Render(sf::RenderTarget &,sf::Renderer &) const' : is abstract
2>          C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(136) : see declaration of 'SPK::SFML::SFMLSystem::Render'
2>C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(145): error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class
2>          due to following members:
2>          'void SPK::SFML::SFMLSystem::Render(sf::RenderTarget &,sf::Renderer &) const' : is abstract
2>          C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs/SFML/SPK_SFMLSystem.h(136) : see declaration of 'SPK::SFML::SFMLSystem::Render'
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

98
General / trying to convert Spark to SFML 2
« on: September 19, 2011, 09:36:08 pm »
Code: [Select]

virtual ~SFMLSystem() {}

and:

virtual private const void Render(sf::RenderTarget& target, sf::Renderer& renderer) { }

99
General / trying to convert Spark to SFML 2
« on: September 19, 2011, 09:14:06 pm »
The only virtual functions that I can spot are the Destructor and the Render.
I added them to the file but nothing changed.

The problem seems to come from:
Code: [Select]
SPK_IMPLEMENT_REGISTERABLE(SFMLSystem)

and:

Code: [Select]
SFMLSystem* obj = new SFMLSystem(worldTransformed,renderTarget);

I know this isnt your problem to sort out but thanks for any help :)

100
General / trying to convert Spark to SFML 2
« on: September 19, 2011, 08:12:21 pm »
Im trying to compile spark using SFML 2, I think i have fixed most issues but I am stuck on this:

Quote

Error   1   error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class   C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs\SFML\SPK_SFMLSystem.h   63   1   SPARK Engine SFML LIB
Error   2   error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class   C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs\SFML\SPK_SFMLSystem.h   142   1   SPARK Engine SFML LIB
Error   3   error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class   C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs\SFML\SPK_SFMLSystem.h   63   1   SPARK Engine SFML DLL
Error   4   error C2259: 'SPK::SFML::SFMLSystem' : cannot instantiate abstract class   C:\Documents and Settings\Richy\My Documents\spark\include\RenderingAPIs\SFML\SPK_SFMLSystem.h   142   1   SPARK Engine SFML DLL



on this file
https://sparkengine.svn.sourceforge.net/svnroot/sparkengine/trunk/include/RenderingAPIs/SFML/SPK_SFMLSystem.h

Wasnt really sure if this is best here or in the Spark forum but I thought you would maybe know

101
SFML projects / SPARK opensource particle engine with an SFML module
« on: September 19, 2011, 03:39:59 am »
Hi, has this been updated at all to work with SFML 2?

102
SFML projects / SFMLTheora 1.3 - Play videos in SFML
« on: September 16, 2011, 03:32:19 pm »
Figured out LibTheoraPlayer is a completelly diferent thing to libTheora so installed the right one.

But now I get:
Code: [Select]

make
[ 50%] Building CXX object CMakeFiles/SFMLTheora.dir/src/SFMLTheora/Video.cpp.o
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp: In constructor ‘SFMLTheora::MemoryLoader::MemoryLoader(const string&, const void*, long unsigned int)’:
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp:53:24: error: ‘memset’ was not declared in this scope
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp:54:27: error: ‘memcpy’ was not declared in this scope
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp: In member function ‘void SFMLTheora::MemoryLoader::Set(const string&, const void*, long unsigned int)’:
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp:86:24: error: ‘memset’ was not declared in this scope
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp:87:27: error: ‘memcpy’ was not declared in this scope
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp: In member function ‘virtual int SFMLTheora::MemoryLoader::read(void*, int)’:
/home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/Video.cpp:98:59: error: ‘memcpy’ was not declared in this scope
make[2]: *** [CMakeFiles/SFMLTheora.dir/src/SFMLTheora/Video.cpp.o] Error 1
make[1]: *** [CMakeFiles/SFMLTheora.dir/all] Error 2
make: *** [all] Error 2

103
SFML projects / SFMLTheora 1.3 - Play videos in SFML
« on: September 16, 2011, 01:44:58 pm »
Code: [Select]
Scanning dependencies of target SFMLTheora
[ 50%] Building CXX object CMakeFiles/SFMLTheora.dir/src/SFMLTheora/AudioInterface.cpp.o
In file included from /home/richy/libs/SFMLTheora-CMake/src/SFMLTheora/AudioInterface.cpp:32:0:
/home/richy/libs/SFMLTheora-CMake/include/SFMLTheora/AudioInterface.h:38:47: fatal error: theoraplayer/TheoraAudioInterface.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/SFMLTheora.dir/src/SFMLTheora/AudioInterface.cpp.o] Error 1
make[1]: *** [CMakeFiles/SFMLTheora.dir/all] Error 2
make: *** [all] Error 2


Using the link on the OP

104
General / Undefined references (rendering a window)
« on: September 16, 2011, 03:02:19 am »
your not linking with SFML

105
Window / RenderWindow::Display is absurdly slow when drawing nothing
« on: September 16, 2011, 02:14:47 am »
Try the same test but drawing the text to screen, writing to the console takes alot of time (computer wise). also use std::cout not printf, printf is for C not c++

Pages: 1 ... 5 6 [7] 8 9 ... 13