cogenda / Genius-TCAD-Open

Open-source version of the Genius Semiconductor Device Simulator
http://www.cogenda.com
Other
117 stars 68 forks source link

Syntax Error while comipling #1

Closed fresseng closed 14 years ago

fresseng commented 14 years ago

I am trying to compile Genius TCAD open on fedora 12/64 bits (2.6.31.12-174.2.3.fc12.x86_64)

After installing the required libraries, all goes well for aclocal; autoheader ; autoconf ; ./configure

However, the make command ends with a strange syntax error which I could not track down. Below is how it goes.

Any idea ?

Many thanks

Nicolas


make[2]: entrant dans le répertoire « /usr/local/Genius-TCAD-Open/src/solution » Compiling C++ (in optimized mode) boundary_condition.cc... In file included from /usr/local/Genius-TCAD-Open/include/solution/simulation_system.h:31, from boundary_condition.cc:26: /usr/local/Genius-TCAD-Open/include/enums/enum_solver_specify.h:103: erreur: expected identifier before ‘char’ /usr/local/Genius-TCAD-Open/include/enums/enum_solver_specify.h:104: erreur: expected unqualified-id before ‘{’ token /usr/local/Genius-TCAD-Open/include/enums/enum_solver_specify.h:104: erreur: invalid type in declaration before ‘{’ token /usr/local/Genius-TCAD-Open/include/enums/enum_solver_specify.h:104: attention : extended initializer lists only available with -std=c++0x or -std=gnu++0x /usr/local/Genius-TCAD-Open/include/enums/enum_solver_specify.h:105: erreur: ‘BDF1’ was not declared in this scope /usr/local/Genius-TCAD-Open/include/enums/enum_solver_specify.h:106: erreur: ‘BDF2’ was not declared in this scope /usr/local/Genius-TCAD-Open/include/enums/enum_solver_specify.h:107: erreur: ‘TRBDF2’ was not declared in this scope make[2]: * [boundary_condition.o] Erreur 1 make[2]: quittant le répertoire « /usr/local/Genius-TCAD-Open/src/solution » make[1]: * [objs] Erreur 2 make[1]: quittant le répertoire « /usr/local/Genius-TCAD-Open/src » make: *\ [all] Erreur 2

cogenda commented 14 years ago

The new PETSc3.0.1 release unfortunately defined a macro named TSType, causing a name collision. A later version of Genius-Open fixed this problem: http://www.cogenda.com/downloads/open/genius-20100411-open.tar.gz We will synchronize the source tree at github a bit later.