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

Errors while trying to run make command. #11

Open
Shallouf opened this issue Jun 4, 2012 · 0 comments
Open

Errors while trying to run make command. #11

Shallouf opened this issue Jun 4, 2012 · 0 comments

Comments

@Shallouf
Copy link

Shallouf commented Jun 4, 2012

Hi

I am trying to create a new material library of an organic semiconductor P3HT.
I am using gcc-Version 4.6.3 on ubuntu 12.04.

At the step :

/$ cd P3HT
/P3HT$ make

I got many errors :

Compiling C++ with dynamic load support P3HT_band.cc...
In file included from ../include/compare_types.h:28:0,
from ../include/type_vector.h:35,
from ../include/point.h:29,
from ../include/PMI.h:30,
from P3HT_band.cc:25:
../include/adolc.h: In Konstruktor »adtl::AutoDScalar::AutoDScalar()«:
../include/adolc.h:267:59: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
../include/adolc.h: In Konstruktor »adtl::AutoDScalar::AutoDScalar(double)«:
../include/adolc.h:272:59: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
../include/adolc.h: In Konstruktor »adtl::AutoDScalar::AutoDScalar(double, const double_)«:
../include/adolc.h:277:59: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
../include/adolc.h: In Konstruktor »adtl::AutoDScalar::AutoDScalar(double, const double_, unsigned int)«:
../include/adolc.h:285:59: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
../include/adolc.h: In Copy-Konstruktor »adtl::AutoDScalar::AutoDScalar(const adtl::AutoDScalar&)«:
../include/adolc.h:293:59: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
../include/adolc.h: In Konstruktor »adtl::AutoDScalar::AutoDScalar(const adtl::AutoDScalar&, unsigned int_, unsigned int)«:
../include/adolc.h:301:59: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
../include/adolc.h: In Funktion »std::istream& adtl::operator>>(std::istream&, adtl::AutoDScalar&)«:
../include/adolc.h:1168:14: Fehler: »exit« wurde in diesem Gültigkeitsbereich nicht definiert
In file included from ../include/PMI.h:30:0,
from P3HT_band.cc:25:
../include/point.h: In Konstruktor »Point::Point(const Real_)«:
../include/point.h:140:24: Fehler: keine passende Funktion für Aufruf von »TypeVector::TypeVector(const Real_&)«
../include/point.h:140:24: Anmerkung: Kandidaten sind:
../include/type_vector.h:348:1: Anmerkung: TypeVector::TypeVector(const TypeVector&) [with T = double]
../include/type_vector.h:348:1: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const Real_ {aka const double_}« nach »const TypeVector&«
../include/type_vector.h:329:1: Anmerkung: TypeVector::TypeVector(T, T, T) [with T = double]
../include/type_vector.h:329:1: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const Real_ {aka const double*}« nach »double«

make: *** [P3HT_band.o] Fehler 1

Please help I will really appreciate it. Thanks.

Khalifa

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