# Basis Universal Executable Build

**URL:** <https://forum.babylonjs.com/t/basis-universal-executable-build/7348>\
**Category:** Questions\
**Created:** [December 2, 2019, 11:20pm UTC](https://forum.babylonjs.com/t/basis-universal-executable-build/7348 "2019-12-02T23:20:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [December 2, 2019, 11:20pm UTC](https://forum.babylonjs.com/t/basis-universal-executable-build/7348/1 "2019-12-02T23:20:48Z")

</div>

Yo yo… Can anyone tell me how they got [basis universal](https://github.com/BinomialLLC/basis_universal) to build on windows.

I got it to build on MacOSX but not Windows ☹

How are you running:

```auto
cmake CMakeLists.txt
make

```

Do you need MinGW ???

Can **anyone** please send me a **pre-built** basisu.exe for windows … Please 🙂

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 3, 2019, 10:25am UTC](https://forum.babylonjs.com/t/basis-universal-executable-build/7348/2 "2019-12-03T10:25:32Z")

</div>

You need to have Microsoft Visual Studio installed on your computer.

If not, install MSVS2019, the community version is free: [Download Visual Studio 2019 for Windows & Mac](https://visualstudio.microsoft.com/downloads/)

Download the Basis project as a zip file from Github ([GitHub - BinomialLLC/basis\_universal: Basis Universal GPU Texture Codec](https://github.com/BinomialLLC/basis_universal)).

Uncompress on local computer and double-click on `basisu.sln`, which will open the solution in MSVS.

Compile the project (`F7` or menu `Build => Build solution`). The .exe file is in the `bin/` folder.

=\> You may want to switch to the `Release` configuration before compiling:  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/5/542cbb919a283d023a7893a6dc252873d2096c28.png)

If however you are like me and have MSVS2017 installed and not MSVS2019, you need to change the Platform Toolset before being able to compile:

- right click on the project `basisu` in the `Solution explorer` pane:  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/7/74f5ffaa66d6f9ac93ef91a93d7de16b1b0caf80.png)
- change the Platform Toolset to `Visual Studio 2017 (v141):  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/2/2aac3939bf516e48c5bba0bd2c748899786cf3bc.png)

(do this also for the `Release` configuration!).

Compile
