Closed GoogleCodeExporter closed 9 years ago
Sorry, I needed to install the mentioned Windows SDK, then it seems to
function. How can I remove the issue from the forum again?
Original comment by Termope...@gmail.com
on 17 Apr 2012 at 12:05
Original comment by yarmond
on 17 Apr 2012 at 1:26
It needs the erf function, that appearently not exist in the Windows compiler,
so you need also to install Boost I guess. Do you need to compile the whole of
Boost (more than 20K files), or could you maybe help in what packages are
needed from the installer at http://www.boostpro.com/download/
regards
Rasmus
Original comment by Termope...@gmail.com
on 18 Apr 2012 at 12:00
Finnaly figured out why scons couldn't find the
boot/math/special_functions/erf.hpp, the boost_inc_dir should be:
boost_inc_dir = "C:/Program Files/boost/boost_1_47"
NOT
boost_inc_dir = "C:\Program Files\boost\boost_1_47"
as is elsewhere common windows terminology...
Original comment by Termope...@gmail.com
on 18 Apr 2012 at 12:51
now it compiled most of it, but ended with a:
running build_ext
building '_spam' extension
error: Unable to find vcvarsall.bat
Any ideas??
Original comment by Termope...@gmail.com
on 18 Apr 2012 at 12:57
I don't know why the file is not there in my install of Microsoft Windows SDK.
Anyhow found the file at:
http://social.msdn.microsoft.com/Forums/ar-SA/vcgeneral/thread/342185bd-f35d-481
c-8429-4fc97239a78f
and now it compiled to the end and works...
Original comment by Termope...@gmail.com
on 18 Apr 2012 at 1:49
I'm experiencing the same issue building the Python extension with 32-bit
Python 2.7 and the Windows SDK. However, these combos seem to work:
- 64-bit python, Windows SDK
- 32-bit python, Visual Studio 2008
Original comment by yarmond
on 18 Apr 2012 at 4:42
a quick hack could be to check if vcvarsall.bat exist, and if not copy it from
somewhere provided in the trunk...
Also I think to avoid confusion of Windows users maybe to split the "[sudo]
scons install" into to two or just "scons install" and then a comment for nix
users to run this command as root.
Original comment by Termope...@gmail.com
on 18 Apr 2012 at 5:18
Most of these problems should be addressed as of r1421.
Original comment by yarmond
on 19 Apr 2012 at 5:42
Thanks for the work, seems to work fine now. Then tried the msi build function,
it fails here with a AttributeError: 'SConsEnviroment' object has no attribute
'WiX'
Line 1287: msi_target = end.WiX('cantera.msi,
Do I need to install Wix from http://wix.codeplex.com/ ??
Original comment by Termope...@gmail.com
on 19 Apr 2012 at 7:01
Yes, you need WiX installed to build the MSI.
Original comment by yarmond
on 19 Apr 2012 at 7:30
WiX dependency is now mentioned in the docs in r1427. Are there any remaining
issues here?
Original comment by yarmond
on 26 Apr 2012 at 9:21
As my small SSD laptop is dual booting (Ubuntu and Win7) and mainly running
Ubuntu I have space issues with Win7 partition... So I decided that for now the
easiest solution is to just let my colleague putty/ssh into my Ubuntu Server
and use my latest compiled cantera from there...
Instead of me needing to download and install Windows SDK, Boost, Sundials
(gave up on finding out how to compile on Windows, as no installer), and then
also WiX. That is simply to much work for me. So my final step on windows was
to compile with no sundials, which seems to work fine now :)
Regards
Termo
Original comment by Termope...@gmail.com
on 27 Apr 2012 at 7:55
Setting up a software development environment on Windows does require
installing a lot of software. When Cantera 2.0 is released, there will be
binary installers available, so you won't need to install all of these build
dependencies.
Original comment by yarmond
on 27 Apr 2012 at 2:55
Original issue reported on code.google.com by
Termope...@gmail.com
on 17 Apr 2012 at 11:51