Great.

Cygwin or MSVC is your own personal preference. Cygwin makes it work
like Linux, but the MSVC code will run faster (due to the Cygwin
emulation later). Myself, I find it hard to write C++ without an IDE,
and the Visual Studio IDE seems to work well. A free version (Express)
is available. I wouldn't necessarily say that using MSVC is smooth
though, but we can talk you through the basics.

Finding the DLLs is the same problem for MSVC or Cygwin though; the
location needs to be added to the Windows PATH or else they need to be
copied to the same directory as your example program (along with all
of the DLLs and plugin files). On Linux it's a similar problem; the
SOs need to be added to the LD_LIBRARY_PATH.

- Noel

On 29 October 2012 03:59, Ling Chan <slch...@yahoo.com> wrote:
> Yes, it works now after I have added cygopenbabel-4.dll to the PATH. Many
> thanks Noel!
>
> For a smoother experience moving forward, is it that I should use MSVC++
> when I follow the Quickstart example (or write other C++ programs)? Or
> perhaps I should have changed some settings when making my OpenBabel package
> to make the libraries usable in Cygwin?
>
> Ling
>
>
>
>
> --
> View this message in context: 
> http://forums.openbabel.org/C-API-problem-with-library-linking-tp4655620p4655626.html
> Sent from the General discussion mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> The Windows 8 Center - In partnership with Sourceforge
> Your idea - your app - 30 days.
> Get started!
> http://windows8center.sourceforge.net/
> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to