Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
STIR
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Using CMake on Windows with special requirements
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Using SWIG compiled with Cygwin while using Visual Studio for compilation of STIR === ''STIR'' can use ''SWIG'' to generate an interface to Python (or soon MATLAB). You can download ''SWIG'' executables for Windows from its website. However, in case you want to use a brand-new version of ''SWIG'', you will need to build it yourself. At present (end 2014), ''SWIG'' can only be build on Linux-type systems. You could try to use ''MSYS'' (after downloading a number of packages), but it is easier with ''Cygwin'' (after installing autoconf, bison etc). However, now you need to point CMake to the swig executable, which will only run if CMake will find your ''cygwin1.dll''. In addition, when building STIR, Visual Studio will need to run swig, so the recommended method is to add the location of the cygwin dll (which could be ''c:\cygwin64\bin'') to your system path ''before'' starting CMake.
Summary:
Please note that all contributions to STIR may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
STIR:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width