Bonjour,
J'ai utilisé le moteur SPARK mais sous visual studio 2008 mais maintenant je voudrais rendre exportable mon travail sous Linux dans un premier temps puis ous MAC ensuite.
Dans d'autre post j'ai lu qu'il fallait télécharger la version SVN, ce que j'ai donc fait.
Seulement en compilant avec code block, voila ce que j'obtiens :
-------------- Build: Debug static in SPARK Core ---------------
Compiling: ..\..\..\src\Core\SPK_DEF.cpp
Compiling: ..\..\..\src\Core\SPK_DataSet.cpp
In file included from ..\..\..\include/Core/SPK_Interpolator.h:28,
from ..\..\..\include/Core/SPK_Group.h:35,
from C:\Users\Julien\Desktop\SPARK_SVN\spark2\src\Core\SPK_DataSet.cpp:23:
..\..\..\include/Core/SPK_DataHandler.h:44: error: ISO C++ forbids declaration of 'Group' with no type
..\..\..\include/Core/SPK_DataHandler.h:44: error: expected ',' or '...' before '&' token
..\..\..\include/Core/SPK_DataHandler.h:45: error: ISO C++ forbids declaration of 'Group' with no type
..\..\..\include/Core/SPK_DataHandler.h:45: error: expected ',' or '...' before '&' token
..\..\..\include/Core/SPK_DataHandler.h:46: error: ISO C++ forbids declaration of 'Group' with no type
..\..\..\include/Core/SPK_DataHandler.h:46: error: expected ',' or '...' before '&' token
..\..\..\include/Core/SPK_DataHandler.h:62: error: ISO C++ forbids declaration of 'Group' with no type
..\..\..\include/Core/SPK_DataHandler.h:62: error: expected ',' or '...' before '&' token
..\..\..\include/Core/SPK_DataHandler.h: In member function 'void SPK::DataHandler::prepareData(int) const':
..\..\..\include/Core/SPK_DataHandler.h:64: error: 'dataSet' was not declared in this scope
..\..\..\include/Core/SPK_DataHandler.h:67: error: 'group' was not declared in this scope
..\..\..\include/Core/SPK_DataHandler.h:69: error: 'group' was not declared in this scope
In file included from C:\Users\Julien\Desktop\SPARK_SVN\spark2\src\Core\SPK_DataSet.cpp:23:
..\..\..\include/Core/SPK_Group.h: At global scope:
..\..\..\include/Core/SPK_Group.h:276: error: ISO C++ forbids declaration of 'System' with no type
..\..\..\include/Core/SPK_Group.h:276: error: 'System' declared as an 'inline' field
..\..\..\include/Core/SPK_Group.h:276: error: expected ';' before '&' token
..\..\..\include/Core/SPK_Group.h:404: error: ISO C++ forbids declaration of 'System' with no type
..\..\..\include/Core/SPK_Group.h:404: error: expected ';' before '&' token
..\..\..\include/Core/SPK_Group.h:442: error: expected ')' before '&' token
..\..\..\include/Core/SPK_Group.h:443: error: expected ')' before '&' token
..\..\..\include/Core/SPK_Group.h:635: error: expected initializer before '&' token
Sauriez vous comment résoudre ces erreurs?
Merci d'avance
Julien