cogenda / Genius-TCAD-Open

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

Error "Genius is not compiled with XML VTK support, skip VTK export..." despite VTK being found #26

Open tcaduser80 opened 8 years ago

tcaduser80 commented 8 years ago

I have installed Genius under Linux (Debian). Although the VTK libraries have been found during installation, i.e. both "Checking for header vtk.Configure.h" and "Checking for libraries for VTK" gave "yes", I still get the message "Genius is not compiled with XML VTK support, skip VTK export..." when running the diode example (Step 7 in the INSTALL file).

I have added the path /usr/local/lib/vtk-5.4 to LD_LIBRARY_PATH. In fact, Genius-TCAD-Open seems to be working... except for the vtk output. I tried installing vtk both with BUILD_SHARED_LIBS ON and OFF, this does not seem to make a difference. The version of vtk I am using is 5.4.2.

I would appreciate any help. Thanks!

gdiso commented 8 years ago

Please check the config log of waf in build/default/config.log to see what happened for VTK library check. If VTK library is successfully configured, build/default/config.h will have a define

define HAVE_VTK 1

tcaduser80 commented 8 years ago

Thank you for the reply. According to the config.log the VTK library check was successful and config.h does contain the line

define HAVE_VTK 1.

tcaduser80 commented 8 years ago

... just for the sake of completeness, the corresponding parts of the config.log are:

Checking for header vtkConfigure.h ==>

include

int main() { return 0; }

<== [1/2] cxx: build/default/.conf_check_88d98434060fefd94317a6af93ffbe90/test.cpp -> build/default/.conf_check_88d98434060fefd94317a6af93ffbe90/testbuild/test.cpp.0.o  ['/usr/bin/g++', '-fPIC', '-pipe', '-I/usr/local/include/vtk-5.4', '-DLINUX=1', '-DDLLHOOK=1', '-DSIZEOF_DOUBLE=8', '-DSIZEOF_FLOAT=4', '-DSIZEOF_INT=4', '-DSIZEOF_LONG_INT=8', '-DSIZEOF_LONG_LONG_INT=8', '-DSIZEOF_SHORT_INT=2', '-DSIZEOF_VOID_P=8', '-DHAVE_FCNTL_H=1', '-DHAVE_FLOAT_H=1', '-DHAVE_FENV_H=1', '-DHAVE_LIMITS_H=1', '-DHAVE_STDDEF_H=1', '-DHAVE_STDIO_H=1', '-DHAVE_ASSERT_H=1', '-DHAVE_SYS_TIME_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_STRING_H=1', '-DHAVE_MEMORY_H=1', '-DHAVE_STRINGS_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_UNISTD_H=1', '-DHAVE_TR1_UNORDERED_MAP=1', '-DHAVE_TR1_UNORDERED_SET=1', '-DHAVE_STD_LIMITS=1', '-DHAVE_NAMESPACES=1', '-DHAVE_SSTREAM=1', '-DHAVE_PETSC=1', '-DWITH_PETSCSCALAR_DOUBLE=1', '-DHAVE_MPI=1', '-DHAVE_CGNSLIB_H=1', '-DHAVE_CGNS=1', '../test.cpp', '-c', '-o', 'test.cpp.0.o'] [2/2] cxxprogram: build/default/.conf_check_88d98434060fefd94317a6af93ffbe90/testbuild/test.cpp.0.o -> build/default/.conf_check_88d98434060fefd94317a6af93ffbe90/testbuild/testprog  ['/usr/bin/g++', 'test.cpp.0.o', '-o', '/home/tcadsim/TCAD/Genius-TCAD-Open-master/build/default/.conf_check_88d98434060fefd94317a6af93ffbe90/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl', '-Wl,--export-dynamic']

yes

Checking for libraries for VTK ==>

int main() { return 0; }

<== [1/2] cxx: build/default/.conf_check_473d45e96488774a92a25ca3f2991d26/test.cpp -> build/default/.conf_check_473d45e96488774a92a25ca3f2991d26/testbuild/test.cpp.0.o  ['/usr/bin/g++', '-fPIC', '-pipe', '-DLINUX=1', '-DDLLHOOK=1', '-DSIZEOF_DOUBLE=8', '-DSIZEOF_FLOAT=4', '-DSIZEOF_INT=4', '-DSIZEOF_LONG_INT=8', '-DSIZEOF_LONG_LONG_INT=8', '-DSIZEOF_SHORT_INT=2', '-DSIZEOF_VOID_P=8', '-DHAVE_FCNTL_H=1', '-DHAVE_FLOAT_H=1', '-DHAVE_FENV_H=1', '-DHAVE_LIMITS_H=1', '-DHAVE_STDDEF_H=1', '-DHAVE_STDIO_H=1', '-DHAVE_ASSERT_H=1', '-DHAVE_SYS_TIME_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_STRING_H=1', '-DHAVE_MEMORY_H=1', '-DHAVE_STRINGS_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_UNISTD_H=1', '-DHAVE_TR1_UNORDERED_MAP=1', '-DHAVE_TR1_UNORDERED_SET=1', '-DHAVE_STD_LIMITS=1', '-DHAVE_NAMESPACES=1', '-DHAVE_SSTREAM=1', '-DHAVE_PETSC=1', '-DWITH_PETSCSCALAR_DOUBLE=1', '-DHAVE_MPI=1', '-DHAVE_CGNSLIB_H=1', '-DHAVE_CGNS=1', '-DHAVE_VTKCONFIGURE_H=1', '../test.cpp', '-c', '-o', 'test.cpp.0.o'] [2/2] cxxprogram: build/default/.conf_check_473d45e96488774a92a25ca3f2991d26/testbuild/test.cpp.0.o -> build/default/.conf_check_473d45e96488774a92a25ca3f2991d26/testbuild/testprog  ['/usr/bin/g++', 'test.cpp.0.o', '-o', '/home/tcadsim/TCAD/Genius-TCAD-Open-master/build/default/.conf_check_473d45e96488774a92a25ca3f2991d26/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lvtkRendering', '-lvtkGraphics', '-lvtkImaging', '-lvtkIO', '-lvtkFiltering', '-lvtkCommon', '-lvtksys', '-lvtkDICOMParser', '-lvtkpng', '-lvtktiff', '-lvtkzlib', '-lvtkjpeg', '-lvtkexpat', '-lvtkftgl', '-lvtkfreetype', '-lpthread', '-ldl', '-Wl,--export-dynamic', '-L/usr/local/lib/vtk-5.4'] yes