Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Error while comipling #1

Closed
fresseng opened this issue Jun 28, 2010 · 1 comment
Closed

Syntax Error while comipling #1

fresseng opened this issue Jun 28, 2010 · 1 comment

Comments

@fresseng
Copy link

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
Copy link
Collaborator

cogenda commented Jun 28, 2010

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.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant