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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: dxp-3-2 in windows7-x64 |
From: | Mark Rivers <[email protected]> |
To: | "'LiuP'" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Wed, 9 Sep 2015 14:57:55 +0000 |
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 From: [email protected] [mailto:[email protected]]
On Behalf Of LiuP 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 |