Compile Error 1.6.2a (packages.h and getLibraryFunction)

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
Yoshi
Posts: 5
Joined: Wed Jun 16, 2004 2:36 am
Location: Kyoto University
Contact:

Compile Error 1.6.2a (packages.h and getLibraryFunction)

Post by Yoshi »

Dear all,
I tried to compile the latest version from CVS but failed :cry: .
The compiler said,
TclModelBuilderUniaxialMaterialCommand.cpp:66:22: packages.h: No such file or directory
TclModelBuilderUniaxialMaterialCommand.cpp:1589: error: 'getLibraryFunction' undeclared

The TclModelBuilderUniaxialMaterialCommand was revised recently (2005/6/14) to use packages.h. I think that getLibraryFunction may be defined in packages.h, but I couldn't find the file on my system (Linux and Mac OS X 10.4). I could compile 1.6.2 version. I googled the file and the function but I couldn't find a meaningful information. Should I install a special library?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

you need to update with a '-d' option .. packages.h/.cpp files are in new directory SRC/package
Yoshi
Posts: 5
Joined: Wed Jun 16, 2004 2:36 am
Location: Kyoto University
Contact:

Post by Yoshi »

fmk wrote:you need to update with a '-d' option .. packages.h/.cpp files are in new directory SRC/package
Thank you for your advice. I could make it.
Could you add a line for making package.o in NO_RELIABILITY section in SRC/Makefile? And need to update SRC/Makefile.incl for new directory.
Post Reply