From: Stefan M. <ste...@oe...> - 2006-05-12 09:37:31
|
hi! i would like to use the SOSlib in a c++ program. using #include <sbmlsolver/odeSolver.h> works fine with the compiler, but not with the linker. Using extern "C" { #include <sbmlsolver/odeSolver.h> } the compiler gives the error: template with C linkage does anybody know what i can do about this? cheers, stefan. p.s. the exact error message: In file included from /usr/include/c++/3.3.5/iosfwd:46, from /usr/local/include/sbml/SBMLDocument.h:62, from /usr/local/include/sbml/SBMLTypes.h:56, from /home/stefan/local/include/sbmlsolver/odeSolver.h:40, from adj_sensitivity.cpp:43: /usr/include/c++/3.3.5/x86_64-suse-linux/bits/c++locale.h:70: error: template with C linkage |