Skip to content

Instantly share code, notes, and snippets.

@baoilleach
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baoilleach/10967118 to your computer and use it in GitHub Desktop.
Save baoilleach/10967118 to your computer and use it in GitHub Desktop.
Compiling a 64-bit .NET version of Open Babel
x86 version
===========
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /target:library /platform:x86 /keyfile:C:/Tools/openbabel/nextmoveob/windows-vc2008/Distribution/obdotnet.snk /optimize /out:C:/Tools/openbabel/nextmoveob/scripts/csharp/OBDotNet.dll *.cs
giving...
C:\Tools\openbabel\nextmoveob\scripts\csharp>file OBDotNet.dll
OBDotNet.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
x64 version
===========
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /target:library /platform:x64 /keyfile:C:/Tools/openbabel/nextmoveob/windows-vc2008/Distribution/obdotnet.snk /optimize /out:C:/Tools/openbabel/nextmoveob/scripts/csharp/OBDotNet.dll *.cs
giving...
C:\Tools\openbabel\nextmoveob\scripts\csharp>file OBDotNet.dll
OBDotNet.dll: PE32+ executable (DLL) (console) x86-64 Mono/.Net assembly, for MS Windows
Note that I could not get IronPython to work with it as IronPython is somehow stuck on x86 (even ipy64).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment