EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problems with building adPython plugin for area detector
From: Alireza Panna <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 17 Jul 2015 15:04:08 -0400
Hello tech-talkers,

I am having issues compiling adPython-0-2 for AreaDetector (2-1) on windows 7 (x64). I am using WinPython2.7.9.3. In the release file I  set PYTHON_PREFIX=C:/WinPython-32bit-2.7.9.3/python-2.7.9 and changed the following in src/makefile:
ifneq ($(PYTHON_PREFIX),)
    PYTHON = $(PYTHON_PREFIX)/python to find the python.exe
# link against python
ifneq ($(PYTHON_PREFIX),)
    # user defined prefix, add it explicitly
USR_INCLUDES += -I$(PYTHON_PREFIX)/include/
USR_INCLUDES += -I$(PYTHON_PREFIX)/Lib/site-packages/numpy/core/include/numpy/

I get the following error when i compile:

make[3]: Entering directory '/cygdrive/c/Epics/iplApps_1_0/support/adPython-0-2/adPythonApp/src/O.windows-x64'
cl /nologo /EHsc /GR -c            -isystem C:/Epics/base-3.14.12.5/include   /favor:blend   /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE   /Ox /GL   /W3 /w44355     -Werror -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wredundant-decls -Wmissing-declarations -DDATADIR=\"/cygdrive/c/Epics/iplApps_1_0/support/adPython-0-2/adPythonApp/src\"    /MD  /TP   -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include    -IC:\\Epics\\support\\asyn-4-26\\include    -IC:\\WinPython-32bit-2.7.9.3\\python-2.7.9\\include -IC:\\Epics\\base-3.14.12.5\\include\\os\\WIN32 -IC:\\Epics\\base-3.14.12.5\\include     -IC:\\WinPython-32bit-2.7.9.3\\python-2.7.9\\include\\ -IC:\\WinPython-32bit-2.7.9.3\\python-2.7.9\\Lib\\site-packages\\numpy\\core\\include\\numpy\\ -IC:\WinPython-32bit-2.7.9.3\python-2.7.9\lib\site-packages\numpy\core\include    ..\\adPythonPlugin.cpp
make[3]: cl: Command not found
C:/Epics/base-3.14.12.5/configure/RULES_BUILD:218: recipe for target 'adPythonPlugin.obj' failed
make[3]: *** [adPythonPlugin.obj] Error 127
make[3]: Leaving directory '/cygdrive/c/Epics/iplApps_1_0/support/adPython-0-2/adPythonApp/src/O.windows-x64'
C:/Epics/base-3.14.12.5/configure/RULES_ARCHS:64: recipe for target 'install.windows-x64' failed
make[2]: *** [install.windows-x64] Error 2
make[2]: Leaving directory '/cygdrive/c/Epics/iplApps_1_0/support/adPython-0-2/adPythonApp/src'
C:/Epics/base-3.14.12.5/configure/RULES_DIRS:87: recipe for target 'src.install' failed
make[1]: *** [src.install] Error 2
make[1]: Leaving directory '/cygdrive/c/Epics/iplApps_1_0/support/adPython-0-2/adPythonApp'
C:/Epics/base-3.14.12.5/configure/RULES_DIRS:87: recipe for target 'adPythonApp.install' failed
make: *** [adPythonApp.install] Error 2

I am compiling under cygwin environment. (I also tried not setting the python paths and still get the same error)

By the way I noticed that adpython doesn't compile with ms visual c compiler, since the src uses libgen.h. Is there a way around this?

Any help is appreciated as always. Thank you 

Best,
Ali





--
Alireza Panna
University of Maryland, College Park

Replies:
Re: Problems with building adPython plugin for area detector Mark Rivers

Navigate by Date:
Prev: Re: JCA 2.1.2 on 64 bit Ubuntu J. Lewis Muir
Next: Re: Problems with building adPython plugin for area detector Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: how NOT to update the record [SOLVED] Tasaddaq Khan
Next: Re: Problems with building adPython plugin for area detector Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·