[Corrigé] Problème avec IsDynamic() du moteur physique

Salut 4ian,

La compilation d’un de mes jeux échoue, voici le rapport d’erreur :

[code]Please send this file to CompilGames@gmail.com, or include this content when reporting the problem to Game Develop’s developer.
Veuillez envoyer ce fichier à CompilGames@gmail.com, ou l’inclure lorsque vous rapportez ce problème au développeur de Game Develop.

Clang output:
warning: macro definitions used to build the precompiled header are missing
:138:1: note: using this macro definition from precompiled header
#define BOOST_DISABLE_ASSERTS 1
^
:137:1: note: using this macro definition from precompiled header
#define NDEBUG 1
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:1:
Extensions/include/Box3DObject/Box3DObject.h:50:7: warning: ‘dllimport’ attribute only applies to variables and functions
class GD_EXTENSION_API Box3DObject : public Object
^
:134:26: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:1:
Extensions/include/Box3DObject/Box3DObject.h:50:7: note: instantiated from:
class GD_EXTENSION_API Box3DObject : public Object
^
:134:37: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:13:
In file included from Extensions/include/ParticleSystem/ParticleEmitterObject.h:31:
Extensions/include/ParticleSystem/ParticleSystemWrapper.h:51:7: warning: ‘dllimport’ attribute only applies to variables and functions
class GD_EXTENSION_API ParticleSystemWrapper
^
:134:26: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:13:
In file included from Extensions/include/ParticleSystem/ParticleEmitterObject.h:31:
Extensions/include/ParticleSystem/ParticleSystemWrapper.h:51:7: note: instantiated from:
class GD_EXTENSION_API ParticleSystemWrapper
^
:134:37: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:13:
Extensions/include/ParticleSystem/ParticleEmitterObject.h:56:7: warning: ‘dllimport’ attribute only applies to variables and functions
class GD_EXTENSION_API ParticleEmitterObject : public Object
^
:134:26: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:13:
Extensions/include/ParticleSystem/ParticleEmitterObject.h:56:7: note: instantiated from:
class GD_EXTENSION_API ParticleEmitterObject : public Object
^
:134:37: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:14:
In file included from Extensions/include/PhysicsAutomatism/PhysicsAutomatism.h:30:
include/GDL/GDL/Automatism.h:25:7: warning: ‘dllimport’ attribute only applies to variables and functions
class GD_API Automatism
^
:133:16: note: instantiated from:
#define GD_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:14:
In file included from Extensions/include/PhysicsAutomatism/PhysicsAutomatism.h:30:
include/GDL/GDL/Automatism.h:25:7: note: instantiated from:
class GD_API Automatism
^
:133:27: note: instantiated from:
#define GD_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:14:
In file included from Extensions/include/PhysicsAutomatism/PhysicsAutomatism.h:32:
In file included from Extensions/include/PhysicsAutomatism/ScenePhysicsDatas.h:30:
include/GDL/GDL/AutomatismsSharedDatas.h:19:7: warning: ‘dllimport’ attribute only applies to variables and functions
class GD_API AutomatismsSharedDatas
^
:133:16: note: instantiated from:
#define GD_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:14:
In file included from Extensions/include/PhysicsAutomatism/PhysicsAutomatism.h:32:
In file included from Extensions/include/PhysicsAutomatism/ScenePhysicsDatas.h:30:
include/GDL/GDL/AutomatismsSharedDatas.h:19:7: note: instantiated from:
class GD_API AutomatismsSharedDatas
^
:133:27: note: instantiated from:
#define GD_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:14:
Extensions/include/PhysicsAutomatism/PhysicsAutomatism.h:42:7: warning: ‘dllimport’ attribute only applies to variables and functions
class GD_EXTENSION_API PhysicsAutomatism : public Automatism
^
:134:26: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:14:
Extensions/include/PhysicsAutomatism/PhysicsAutomatism.h:42:7: note: instantiated from:
class GD_EXTENSION_API PhysicsAutomatism : public Automatism
^
:134:37: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:31:
In file included from include/SFML/include/SFML/System/Resource.hpp:31:
In file included from include/SFML/include/SFML/System/Lock.hpp:31:
include/SFML/include/SFML/System/NonCopyable.hpp:41:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API NonCopyable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:31:
In file included from include/SFML/include/SFML/System/Resource.hpp:31:
In file included from include/SFML/include/SFML/System/Lock.hpp:31:
include/SFML/include/SFML/System/NonCopyable.hpp:41:7: note: instantiated from:
class SFML_API NonCopyable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:31:
In file included from include/SFML/include/SFML/System/Resource.hpp:31:
include/SFML/include/SFML/System/Lock.hpp:42:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Lock : NonCopyable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:31:
In file included from include/SFML/include/SFML/System/Resource.hpp:31:
include/SFML/include/SFML/System/Lock.hpp:42:7: note: instantiated from:
class SFML_API Lock : NonCopyable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:31:
In file included from include/SFML/include/SFML/System/Resource.hpp:32:
include/SFML/include/SFML/System/Mutex.hpp:47:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Mutex : NonCopyable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:31:
In file included from include/SFML/include/SFML/System/Resource.hpp:32:
include/SFML/include/SFML/System/Mutex.hpp:47:7: note: instantiated from:
class SFML_API Mutex : NonCopyable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:31:
In file included from include/SFML/include/SFML/System/Resource.hpp:34:
In file included from include/GDL/GDL…\TDM-GCC-4.5.2\lib\gcc\mingw32\4.5.2\include\c++\cstddef:43:
include/llvm/tools/clang/lib/Headers/stddef.h:52:9: warning: ‘offsetof’ macro redefined
#define offsetof(t, d) __builtin_offsetof(t, d)
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:15:
In file included from include/GDL/GDL/Object.h:13:
In file included from include/boost/boost/shared_ptr.hpp:17:
In file included from include/GDL/GDL…\boost\boost\smart_ptr\shared_ptr.hpp:41:
In file included from /…\Bin\Release\include\TDM-GCC-4.5.2/lib/gcc/mingw32/4.5.2/include/c++/algorithm:62:
In file included from include/GDL/GDL…\TDM-GCC-4.5.2\lib\gcc\mingw32\4.5.2\include\c++\bits\stl_algo.h:60:
In file included from /…\Bin\Release\include\TDM-GCC-4.5.2/lib/gcc/mingw32/4.5.2/include/c++/cstdlib:67:
In file included from include/GDL/GDL…\TDM-GCC-4.5.2\include\stdlib.h:21:
include/GDL/GDL…\TDM-GCC-4.5.2\lib\gcc\mingw32\4.5.2\include\stddef.h:411:9: note: previous definition is here
#define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:32:
include/SFML/include/SFML/System/String.hpp:43:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API String
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:32:
include/SFML/include/SFML/System/String.hpp:43:7: note: instantiated from:
class SFML_API String
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:33:
In file included from include/SFML/include/SFML/Graphics/Drawable.hpp:33:
include/SFML/include/SFML/Graphics/Matrix3.hpp:43:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Matrix3
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:33:
In file included from include/SFML/include/SFML/Graphics/Drawable.hpp:33:
include/SFML/include/SFML/Graphics/Matrix3.hpp:43:7: note: instantiated from:
class SFML_API Matrix3
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:33:
include/SFML/include/SFML/Graphics/Drawable.hpp:62:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Drawable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:33:
include/SFML/include/SFML/Graphics/Drawable.hpp:62:7: note: instantiated from:
class SFML_API Drawable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:34:
include/SFML/include/SFML/Graphics/Glyph.hpp:41:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Glyph
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:34:
include/SFML/include/SFML/Graphics/Glyph.hpp:41:7: note: instantiated from:
class SFML_API Glyph
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:35:
In file included from include/SFML/include/SFML/Graphics/Texture.hpp:32:
include/SFML/include/SFML/Window/GlResource.hpp:40:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API GlResource
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:35:
In file included from include/SFML/include/SFML/Graphics/Texture.hpp:32:
include/SFML/include/SFML/Window/GlResource.hpp:40:7: note: instantiated from:
class SFML_API GlResource
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:35:
In file included from include/SFML/include/SFML/Graphics/Texture.hpp:33:
include/SFML/include/SFML/Graphics/Image.hpp:45:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Image
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:35:
In file included from include/SFML/include/SFML/Graphics/Texture.hpp:33:
include/SFML/include/SFML/Graphics/Image.hpp:45:7: note: instantiated from:
class SFML_API Image
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:35:
include/SFML/include/SFML/Graphics/Texture.hpp:47:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Texture : public Resource, GlResource
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
In file included from include/SFML/include/SFML/Graphics/Font.hpp:35:
include/SFML/include/SFML/Graphics/Texture.hpp:47:7: note: instantiated from:
class SFML_API Texture : public Resource, GlResource
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
include/SFML/include/SFML/Graphics/Font.hpp:50:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Font : public Resource
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
In file included from include/SFML/include/SFML/Graphics/Text.hpp:34:
include/SFML/include/SFML/Graphics/Font.hpp:50:7: note: instantiated from:
class SFML_API Font : public Resource
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
include/SFML/include/SFML/Graphics/Text.hpp:45:7: warning: ‘dllimport’ attribute only applies to variables and functions
class SFML_API Text : public Drawable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:26: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
In file included from Extensions/include/TextObject/TextObject.h:31:
include/SFML/include/SFML/Graphics/Text.hpp:45:7: note: instantiated from:
class SFML_API Text : public Drawable
^
In file included from include/GDL/GDL\EventsCodePrecompiledHeader.h:11:
In file included from include/GDL/GDL…\SFML\include\SFML\System\Clock.hpp:31:
include/SFML/include/SFML/Config.hpp:110:37: note: instantiated from:
#define SFML_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
Extensions/include/TextObject/TextObject.h:48:7: warning: ‘dllimport’ attribute only applies to variables and functions
class GD_EXTENSION_API TextObject : public Object
^
:134:26: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
In file included from C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:15:
Extensions/include/TextObject/TextObject.h:48:7: note: instantiated from:
class GD_EXTENSION_API TextObject : public Object
^
:134:37: note: instantiated from:
#define GD_EXTENSION_API __declspec(dllimport)
^
C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:1629:115: error: no member named ‘IsDynamic’ in ‘PhysicsAutomatism’
if ( !(static_cast<PhysicsAutomatism*>(GDPlateformeBreakable1Objects[i]->GetAutomatismRawPointer(“Physics”))->IsDynamic(*runtimeContext->scene)) )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
C:\Users\Victor\AppData\Local\Temp/GDTemporaries/0x7d6a268events.cpp:1665:115: error: no member named ‘IsDynamic’ in ‘PhysicsAutomatism’
if ( !(static_cast<PhysicsAutomatism*>(GDPlateformeBreakable1Objects[i]->GetAutomatismRawPointer(“Physics”))->IsDynamic(*runtimeContext->scene)) )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[/code]
Le problème est à la fin du fichier.
Les fonctions IsDynamic et IsStatic semblent ne pas exister.

(J’ai modifié les header de l’automatisme, ça marche. Mais mon jeu plante 2 secondes après s’être lancé (en mode Aperçu))

J’ai corrigé ça.

Oui normal, la fonction était même pas codée.

Je veux dire que je l’ai déclaré moi-même dans les header du dossier de GD et je l’ai implémenté dans le header. :wink:

C’est quand même très risqué car tu change probablement la représentation en mémoire ( ou quelque chose comme la table des fonctions de la classe utilisée par le compilateur ) de la classe PhysicsAutomatism par rapport à celle qu’a GD.

Une version corrective sera disponible quand ? Parce que je peux pas avancer mon jeu… :frowning:

Voilà une version qui devrait corriger le problème : compilgames.net/dl/GD2010499.7z

Attention, le SDK de la version actuelle officielle n’est pas compatible.

Je viens de tester, ça compile bien, mais mon jeu se fige toujours au bout de quelques 10aines de secondes.
(je t’envoie le jeu par mp)

Merci, le problème vient d’une erreur au niveau de la gestion de collision : Je vais corriger le bug.
Tu as une condition de collision entre deux objets, dont l’un ( “ennemi_reverser” ) n’a pas d’image valide, ce qui doit entrainer le plantage : En mettant une image correcte, ça devrait mieux se passer.

Ok, merci. :slight_smile: