Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 16 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |