# Re: Calypso: Direct and full interfacing to C++

On Thursday, 16 April 2015 at 06:43:25 UTC, Suliman wrote:

Could anybody wrote very simple tutorial, that show how to use any popular C/C++ lib without binding? I mean step by step manual.


Also it would be nice to get binary builds for Windows to test.


Sorry for the wait.


So Calypso still can't load the MSVC C++ standard lib. I thought Kelly managed to build some STL examples but actually it's not remotely possible yet. The main blocker is that template instances often depend on each other (but not in their entirety) which cause forward reference errors in DMD.


However it works with MinGW-w64, but this wasn't remotely straightforward either, I had to modify Clang to make it detect correctly the MinGW paths (which are hardcoded in Clang and obsolete):


- install mingw-w64, in the installer choose 4.9.2, DWARF exceptions and POSIX threads
 - download http://homo-nebulus.fr/dlang/Calypso_mingw-w64.7z

- extract the archive over the MinGW root directory (where the bin/, etc/, etc. folders lie)
 - correct the paths in /etc/ldc.conf