Hi Liu Ping,
The problem is that you are building for the windows-x64 architecture. That is not supported, the XIA drivers and Handel library currently only support 32-bit architectures on both Windows and Linux. You
should build for the win32-x86 architecture instead. The documentation (http://cars9.uchicago.edu/software/epics/dxpDoc.html) states that the only supported architectures are win32-x86 and
cygwin-x86.
Mark
Hello, everyone
Hi, Mr. Mark Rivers
Everything is ok excepting dxp-3-2 when I built the base-3.14.12.4 and synApps-5-7 in windows7 pro (64Bit) with Visual Studio 2008 64bit compiler. The error messages of “make” command has been attached
in this email.
I have set:
CROSS_COMPILER_HOST_ARCHS=windows-x64
CROSS_COMPILER_TARGET_ARCHS=windows-x64
Also set:
Call “C:\Program Files\VS9.0\VC\vcvarsall.bat” x86_amd64
First, use the default Makefile in the dxp-3-2\dxpApp\src\. There are no errors, but no dxpApp.exe in the dxp-3-2\bin\windows-x64\.
Then, I delete these lines (below) in Makefile, and change to “PROD_IOC += dxpApp”
or “PROD_IOC_WIN32 += dxpApp”.
#=============================
# build an ioc application
# tmm: for support only (no example), disable the App
PROD_IOC_vxWorks += dxpApp
ifeq ($(LINUX_USB_INSTALLED), YES)
PROD_IOC_Linux += dxpApp
endif
PROD_IOC_cygwin32 += dxpApp
ifeq (win32-x86, $(findstring win32-x86, $(T_A)))
PROD_IOC_WIN32 += dxpApp
Endif
#=============================
Now, Open “Visual Studio 2008 x64 Cross Tools Command Prompt” and run the win32.bat in this DOS window.
Finaly, rebuild dxp-3-2 but failed due to the errors in the attached file. It seems something wrong in xia_epp.c and xia_plx.c. Please help!
By the way, I have successfully installed and applied the dxp-3-2 in windows7 x86-32 on Vortex hardware last year.
LIU Ping
Beamline Contrl Group, SSRF
No. 239 Zhangheng Road, Pudong, Shanghai