Hi Andreas,

What are the arguments you pass to either the compiler or the linker when
you you try and build your executable? You need to have a -L argument that
points to the directory where the RDKit libraries are

Best,
-greg

On Wed, 9 Jan 2019 at 21:40, Andreas Luttens <andreas.lutt...@gmail.com>
wrote:

> Hi,
>
> I have recently installed the RDKit from source for OS X, as described in
> Docs/Book/install.md on the GitHub page. I believe make, and make install
> worked out fine, but I have using trying to compile a basic cpp script. I
> have set the RDBASE env variable and I included the compiler flags for
> include (-I) and where to find the libraries (-L) as $RDBASE/Code and
> $RDBASE/lib. Code contains header files and lib has its static and dynamic
> library files. When I try to compile the example1.cpp code, I set the
> -lGraphMol flag, std=c++11 flag and the verbose flag, but get the following
> errors:
>
> ld: library not found for -lGraphMol
>
> I am not sure why it does not find the library files and I have yet to
> successfully compile a cpp code with these libraries.
>
> Any help would be very appreciated!
>
> Best regards
>
> Andreas Luttens
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to