<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"thiemo theile" <thiemo.theile@slf.ch><br><b>To: </b>python-win32@python.org<br><b>Sent: </b>Friday, February 8, 2019 6:49:07 PM<br><b>Subject: </b>[python-win32] problem with cython on windows<br></div><br><div data-marker="__QUOTED_TEXT__"><span data-mce-style="font-family: sans-serif; font-size: small;" style="font-family: sans-serif; font-size: small;" size="2" face="sans-serif">I try to write a python wrapper for a c++-library
( </span><a href="https://models.slf.ch/p/meteoio/" target="_blank"><span data-mce-style="color: blue; font-family: sans-serif; font-size: small;" style="color: blue; font-family: sans-serif; font-size: small;" size="2" face="sans-serif" color="blue">https://models.slf.ch/p/meteoio/</span></a><span data-mce-style="font-family: sans-serif; font-size: small;" style="font-family: sans-serif; font-size: small;" size="2" face="sans-serif">
) using cython. Everything works fine on linux. Also with python </span><span data-mce-style="font-size: xx-small;" style="font-size: xx-small;" size="1"><b>"Microsoft
Visual C++ Compiler for Python 2.7"</b></span><span data-mce-style="font-family: sans-serif; font-size: small;" style="font-family: sans-serif; font-size: small;" size="2" face="sans-serif">
it works fine. The trouble starts with Visual Studio 2017 and python 3.x.
The module builds fine. But when running the module I get strange crashes.
Some functions form the module are working, some are not.</span>
<br><span data-mce-style="font-family: sans-serif; font-size: small;" style="font-family: sans-serif; font-size: small;" size="2" face="sans-serif">Did someone experience similar problems
or has an idea what could be wrong? </span><br><br></div><div data-marker="__QUOTED_TEXT__">With C++ mixing compilers is almost impossible. Do you compule *ALL* sources with same compiler?<br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__"><br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__">HTH<br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__">Niki<br data-mce-bogus="1"></div></div></body></html>