Voici le problème. Je compile une DLL et elle plante à cause de sl_solve.h, ca me renvoit dans mg_solution.h
La seule ligne dans sl_solve que j'utilise mg_solution est:
solve.h
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 virtual void imprime_deplacement(MG_SOLUTION* mgsol,double* U)=0;
mg_solution.h
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 public : MG_SOLUTION(class MG_MAILLAGE *mai,int nb,char* chemin,int code,std::string nomsol); MG_SOLUTION(unsigned long num,MG_MAILLAGE *mai,int nb,char* chemin,int code,std::string nomsol); virtual ~MG_SOLUTION(); ... private: char *nom_fichier; int nb_champs; FILE* in; // ligne 83 MG_MAILLAGE* mgmai; double solmin; double solmax; std::string* legende; std::string nomsolution;
Il me dit:
[C++ Error] mg_solution.h(83): E2303 Type name expected
[C++ Error] mg_solution.h(83): E2139 Declaration missing ;
Pourtant je suis capable de compiler mg_solution.cpp
Partager