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

Successful build on Windows using Windows Sublayer for Linux #6

Open
alexpawlowski opened this issue Dec 3, 2018 · 2 comments
Open

Comments

@alexpawlowski
Copy link

Not sure if I should send a PR or an email for this addition, but users of Windows 10 devices might find this better than rigging through Cygwin or a Virtualization. I was able to get OOF2 running well on WSL, which is a feature that can be enabled on Windows 10 devices.

Getting OOF2 to run on Windows Sublayer for Linux

  1. Make sure WSL on Windows 10 is enabled
  2. Install Ubuntu 18.04 from the Microsoft Store
  3. Follow instructions under Ubuntu on OOF2's installation page.
  4. Note that you need to install gperftools-2.5 from source. highly recommend using checkinstall package (sudo apt-get update && sudo apt-get install checkinstall )
    1. look at the Install file BEFORE installing
    2. for 64 bit systems (all of the systems capable of using WSL), you need to sudo apt-get install libunwind-dev BEFORE installing gperftools
    3. for gperftools make sure to ./configure --enable-frame-pointers it fails otherwise.
  5. Install VcXsrv and make sure to configure the bash shell (for ubuntu on bash) to add that export statement (make sure you are at the base of your terminal) cd
  6. You will need to sudo python setup.py install for the magic compilation to happen
@snarkhunter
Copy link
Member

Hi Alex --

Thanks for letting us know. This is useful information, since we don't actually have a Windows machine to test on.

Does it work if you don't install gperftools at all? gperftools isn't actually necessary in the Linux and Mac builds, and I'm not sure it's even useful.

I don't know why github didn't notify me about your comment earlier.

-- Steve

@alexpawlowski
Copy link
Author

hmmm that's interesting, i can set up a new WSL instance and see if i can do it without gperftools, I'll try to investigate this weekend.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants