Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kasemir
committed
Jun 30, 2010
1 parent
6ba7e59
commit a8353fe
Showing
7 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// Version string | ||
#define MCA_VERSION "4.1.2" | ||
#define MCA_VERSION "4.1.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Provided by Vladimir Poucki (vladimir@i-tech.si), Hinko Kocevar (hinko.kocevar@i-tech.si), Instrumentation Technologies Slovenia, June 2010 | ||
|
||
|
||
We have compiled the EPICS base on Windows following the instructions: http://www.aps.anl.gov/epics/tech-talk/2010/msg00595.php | ||
We have used "Microsoft Visual C++ 2005 Express Edition" instead of the "Microsoft Visual C++ 2010 Express Edition"; it worked well. | ||
|
||
============================================================================================================= | ||
Changes for WIN32 compilation: | ||
- mca.cpp | ||
- MCAError.h | ||
- timereval.cpp | ||
- /alt_compile/mcacompile_win32_mscc.m | ||
(instead of "mcacompile.win32.mscc.m", since Matlab is not recognizinig files with multiple dots in the name) | ||
============================================================================================================= | ||
|
||
Matlab release used is "Matlab R2007a (7.4.0)". Operating system is Windows XP with SP3. | ||
Everything was successfully compiled with "Microsoft Visual C++ 2005 Express Edition" installed in "C:\Program Files\Microsoft Visual Studio 8", with Microsoft SDK 6.1 installed in "c:\Program Files\Microsoft SDKs\Windows\v6.1\". | ||
|
||
Some 'tweaking' was required for the following: | ||
- Include the proper above mentioned SDK to Matlab 'mex' environment. Also needs to be set as a global environment variable of Windows XP. | ||
Add environment variable to Windows XP: variable name is "MSSdk", variable value is "c:\Program Files\Microsoft SDKs\Windows\v6.1\" | ||
- Compiler options: c:\MATLAB2007a\bin\win32\mexopts\msvc80freeopts.bat | ||
Adding new values to PATH and INCLUDE variables in "General parameters"; proper SDK path and libs. | ||
This consequently changes the: "C:\Documents and Settings\user\Application Data\MathWorks\MATLAB\R2007a\mexopts.bat" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletions
11
alt_compile/mcacompile.win32.mscc.m → alt_compile/mcacompile_win32_mscc.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
%MEXCOMMAND Make mca.dll and timereval.dll | ||
% | ||
cd C:\MATLAB6p5\toolbox\mcanew\mca | ||
mex mca.cpp MCAError.cpp Channel.cpp ChannelAccess.cpp ... | ||
|
||
cd C:\Matlab2007a\toolbox\mca\ | ||
|
||
mex mca.cpp MCAError.cpp Channel.cpp ... | ||
C:\epics\base\lib\win32-x86\Com.lib ... | ||
C:\epics\base\lib\win32-x86\ca.lib ... | ||
-DDB_TEXT_GLBLSOURCE -DMSCC -DEPICS_DLL_NO ... | ||
-DDB_TEXT_GLBLSOURCE -DMSCC -DEPICS_DLL_NO ... | ||
-DWIN32 ... | ||
-IC:\epics\base\include ... | ||
-IC:\epics\base\include\os\WIN32 ... | ||
-v | ||
|
||
mex timereval.cpp -v | ||
mex timereval.cpp -v -DWIN32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters