You are not actually building with Cygwin, since your error message says it is in directory O.windows-x64.
How have you set EPICS_HOST_ARCH?
Mark
Sent from my iPhone
On Jul 17, 2015, at 2:04 PM, Alireza Panna <[email protected]<mailto:[email protected]>> wrote:
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
- References:
- Problems with building adPython plugin for area detector Alireza Panna
- Navigate by Date:
- Prev:
Problems with building adPython plugin for area detector Alireza Panna
- Next:
xspress3 Matthew D. Moore
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Problems with building adPython plugin for area detector Alireza Panna
- Next:
xspress3 Matthew D. Moore
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|