Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 SPARK & Linux ???

Go down 
2 posters
AuthorMessage
Julien




Messages : 4
Date d'inscription : 2010-06-24

SPARK & Linux ??? Empty
PostSubject: SPARK & Linux ???   SPARK & Linux ??? Icon_minitimeWed Jul 21, 2010 7:59 am

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
Back to top Go down
Juff
Developer



Messages : 539
Date d'inscription : 2009-07-14
Age : 42

SPARK & Linux ??? Empty
PostSubject: Re: SPARK & Linux ???   SPARK & Linux ??? Icon_minitimeThu Jul 22, 2010 3:43 pm

Bonjour,

je n'ai pas ce probleme sous code blocks. On ne doit pas utiliser le même compilo. C'est en compilant sous linux que ca fait ces erreurs ?
Enfin j'ai mis sur le svn une version qui devrait résoudre le problème.

Par contre c'est SPARK2 que tu as utilisé (qui est encore en developement). Ce n'est pas pareil que SPARK1. Quelle version as tu utilisé sous vs2008 ? Si tu as télécharger le moteur depuis le site ca doit être la version 1.
Back to top Go down
http://spark.developpez.com
 
SPARK & Linux ???
Back to top 
Page 1 of 1
 Similar topics
-
» spark et linux?
» Building SPARK on linux
» Compilation de spark sous linux
» Compiling SPARK 2 on Gentoo Linux
» compilation Linux

Permissions in this forum:You cannot reply to topics in this forum
 :: Forum Francais :: Questions (fr)-
Jump to: