Have you contacted MyChem?

- Noel

On 13 July 2011 04:35, yuecaili <yueca...@gmail.com> wrote:
> Hi,Geoff
> This time,when I run cmake,I use "-DENABLE_SYMBOL_VISIBILITY=ON"
> cmake .. -DENABLE_SYMBOL_VISIBILITY=ON
> the compilation of Mychem fails with the following error:
> [  3%] Building C object src/CMakeFiles/mychem-lib.dir/conversion.c.o
> [  7%] Building CXX object
> src/CMakeFiles/mychem-lib.dir/conversion_wrapper.cpp.o
> [ 11%] Building C object src/CMakeFiles/mychem-lib.dir/helper.c.o
> [ 14%] Building CXX object
> src/CMakeFiles/mychem-lib.dir/helper_wrapper.cpp.o
> [ 18%] Building C object src/CMakeFiles/mychem-lib.dir/modification.c.o
> [ 22%] Building CXX object
> src/CMakeFiles/mychem-lib.dir/modification_wrapper.cpp.o
> [ 25%] Building C object src/CMakeFiles/mychem-lib.dir/molmatch.c.o
> [ 29%] Building CXX object
> src/CMakeFiles/mychem-lib.dir/molmatch_wrapper.cpp.o
> [ 33%] Building C object src/CMakeFiles/mychem-lib.dir/property.c.o
> [ 37%] Building CXX object
> src/CMakeFiles/mychem-lib.dir/property_wrapper.cpp.o
> [ 40%] Building CXX object src/CMakeFiles/mychem-lib.dir/serialization.cpp.o
> [ 44%] Building CXX object
> src/CMakeFiles/mychem-lib.dir/dlhandler_unix.cpp.o
> Linking CXX shared library libmychem.so
> CMakeFiles/mychem-lib.dir/conversion_wrapper.cpp.o: In function
> `OpenBabel::OBFingerprint::FindType(char const*)':
> /usr/local/include/openbabel-2.0/openbabel/fingerprint.h:43: undefined
> reference to `OpenBabel::OBFingerprint::Map()'
> CMakeFiles/mychem-lib.dir/property_wrapper.cpp.o: In function
> `OBGroupContrib':
> /usr/local/include/openbabel-2.0/openbabel/groupcontrib.h:56: undefined
> reference to `vtable for OpenBabel::OBGroupContrib'
> /usr/local/include/openbabel-2.0/openbabel/groupcontrib.h:56: undefined
> reference to `vtable for OpenBabel::OBGroupContrib'
> /usr/local/include/openbabel-2.0/openbabel/groupcontrib.h:56: undefined
> reference to `vtable for OpenBabel::OBGroupContrib'
> CMakeFiles/mychem-lib.dir/property_wrapper.cpp.o: In function
> `~OBGroupContrib':
> /usr/local/include/openbabel-2.0/openbabel/groupcontrib.h:46: undefined
> reference to `vtable for OpenBabel::OBGroupContrib'
> collect2: ld returned 1 exit status
> make[2]: *** [src/libmychem.so.0.8.2] error 1
> make[1]: *** [src/CMakeFiles/mychem-lib.dir/all] error 2
> make: *** [all] error 2
>
> should I use any other flags when I use cmake?
>
> Best regards,
> yuecaili
>
> --
> View this message in context: 
> http://forums.openbabel.org/virtual-function-visibility-tp3213533p3664136.html
> Sent from the openbabel-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> OpenBabel-Devel mailing list
> OpenBabel-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-devel
>

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to