cogenda/Genius-TCAD-Open — Issue #8: Errors while trying to compile Genius-TCAD-open
Author: arvindajoy
Created: 2012-02-11 14:36:30+00:00
State: open

Hi

Thank you for releasing this code under an open source license.

I am however unable to compile the available code. I am using Petsc-3.1, gcc-4.1, g++-4.1

I get errors related to declaration of variable without any type. A sample of the errors is added below. I will be grateful for any help in resolving this.

Regards
Arvind Ajoy

---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Waf: Entering directory `/home/arvind/Downloads/CogendaGenius/cogenda-Genius-TCAD-Open-7ae2374/build/default'
[ 1/516] fc: src/contrib/qshep/qshep3d.f90 -> build/default/src/contrib/qshep/qshep3d.f90.1.o
[ 11/532] cxx: build/default/src/sip/sipgeniuscmodule.cpp -> build/default/src/sip/sipgeniuscmodule.cpp.4.o
[ 12/532] cxx: build/default/src/sip/sipgeniusSolverControl.cpp -> build/default/src/sip/sipgeniusSolverControl.cpp.4.o
In file included from /home/arvind/Downloads/CogendaGenius/cogenda-Genius-TCAD-Open-7ae2374/src/sip/control.sip:114:
/usr/include/scotch/parser.h:122: error: ISO C++ forbids declaration of ‘byte’ with no type
/usr/include/scotch/parser.h:122: error: expected ‘;’ before ‘*’ token
/usr/include/scotch/parser.h:123: error: ISO C++ forbids declaration of ‘byte’ with no type
/usr/include/scotch/parser.h:123: error: expected ‘;’ before ‘*’ token
/usr/include/scotch/parser.h:145: error: ‘INT’ does not name a type
/usr/include/scotch/parser.h:172: error: ‘byte’ does not name a type
In file included from /home/arvind/Downloads/CogendaGenius/cogenda-Genius-TCAD-Open-7ae2374/src/sip/control.sip:114:
/usr/include/scotch/parser.h:67: error: multiple definition of ‘enum StratNodeType_’
/usr/include/scotch/parser.h:67: error: previous definition here
/usr/include/scotch/parser.h:68: error: conflicting declaration ‘STRATNODECONCAT’
/usr/include/scotch/parser.h:68: error: ‘STRATNODECONCAT’ has a previous declaration as ‘StratNodeType_ STRATNODECONCAT’
/usr/include/scotch/parser.h:69: error: conflicting declaration ‘STRATNODECOND’
/usr/include/scotch/parser.h:69: error: ‘STRATNODECOND’ has a previous declaration as ‘StratNodeType_ STRATNODECOND’
------------------------------------------------------------------------------------------------------------------------------------------------------------------