Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Windows #197

Open
4 tasks
slivingston opened this issue Jun 15, 2018 · 3 comments
Open
4 tasks

support Windows #197

slivingston opened this issue Jun 15, 2018 · 3 comments
Assignees

Comments

@slivingston
Copy link
Member

  • evaluate current status of installing and using TuLiP on Windows
  • decide which versions of Windows should be supported
  • write special instructions or troubleshooting guide for installing on Windows
  • create CI testing for Windows hosts
@slivingston
Copy link
Member Author

for CI, try AppVeyor, which is gratis for open source projects.

@slivingston
Copy link
Member Author

Note that Windows 10 is available for (legal) download at https://www.microsoft.com/en-us/software-download/windows10ISO. Not having an activation key does not appear to be a significant barrier to usage.

@slivingston
Copy link
Member Author

for tulip-control/gr1c#35 I am automating builds of gr1c that can be executed on Windows. Once that work is completed, I will try to expand CI testing of Tulip to Windows hosts provided by AppVeyor.

slivingston added a commit to tulip-control/gr1c that referenced this issue Mar 26, 2020
With this changeset, building gr1c for Windows is operational but not
fully tested. To do it, first install a cross-compiler from the
mingw-w64 project (http://mingw-w64.org/). Major GNU/Linux
distributions have this available in respective package repositories;
e.g., on Fedora or RedHat, `dnf install mingw64-gcc`, and on Ubuntu,
`apt-get install gcc-mingw-w64`. Then,

    export CC=x86_64-w64-mingw32-gcc
    export LD="x86_64-w64-mingw32-ld -r"

Then, for building CUDD,

    ./configure --prefix=`pwd`/../.. --host=x86_64-w64-mingw32

and for gr1c,

    make -e

This is part of work for issue #34
and tulip-control/tulip-control#197

* about _WIN32 and _WIN64 macros, https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=vs-2019
* about _spawnvp(), https://docs.microsoft.com/en-us/cpp/c-runtime-library/spawn-wspawn-functions?view=vs-2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant