Closed sir-chaos closed 3 years ago
Thanks! I don't have an easy way to test on windows, so that's helpful. The automated testing on Travis-CI is down right now, but I'll test it on OSX and Linux and push this assuming there are no problems!
I'm actually not sure anyone has even successfully used REBOUND itself on Windows. Did you manage to compile REBOUND? Just as Dan, I also don't have access to a Windows machine to run tests on...
Thanks for the reply!
The REBOUND itself seems to successfully compile and run on Windows (via cygwin as well), although i had some issues with one of my examples (other one ran fine). Probably I should run your official tests to tell you if it really works or not.
There's actually another issue with reboundx and rebound integration, since you're both here: the https://github.com/hannorein/rebound/blob/master/rebound/rebound.h rebound.h header file softlink doesn't work in any way on Windows since it's Unix softlink. I easily fixed it by copy-pasting the original header file, but probably you can think of some more elegant way (I didnt dive into the build or C code very deeply to give any suggestions yet).
Added this, thanks @sir-chaos
Under cygwin platform, the following code breaks (https://github.com/dtamayo/reboundx/blob/master/setup.py#L69):
as the suffix has '.dll' on the end, not '.so' as expected.
To promote cross-platform development, I suggest to replace it with the following: