libftdi Archives

Subject: Python-devel, was:Re: libftdi-0: Add -Wall flag for CMake compilation

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 29 Sep 2011 18:41:52 +0200
>>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:

    Thomas> On Thursday, 29. September 2011 17:29:08 Uwe Bonnes wrote: Any
    Thomas> luck with the python wrapper in libftdi 1.x yet?
    >>  I am at a dead end with -- Found SWIG: /usr/bin/swig (found version
    >> "1.3.40") -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES
    >> PYTHON_INCLUDE_DIRS)
    >> 
    >> I don't know what I should install/upgrade. Any hints welcome!

    Thomas> Like I suggested earlier (even if it sounds dumb) is something
    Thomas> like "python-devel" installed?

That did the trick. Sorry, I missed your proposal the first time...

However now I have a warning:
/spare/bon/ftdi/libftdi-1.0/src/ftdi.h:514: Warning(451): \
Setting a const char * variable may leak memory.
/spare/bon/ftdi/libftdi-1.0/src/ftdi.h:515: Warning(451): \
Setting a const char * variable may leak memory.

with ftdi.h:
  509 struct ftdi_version_info
    510 {
    511     int major;
    512     int minor;
    513     int micro;
    514     const char *version_str;
    515     const char *snapshot_str;
    516 };
   
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread