Skip to content

Commit

Permalink
Tutorial should work for both x86_64 and i686 on Windows now
Browse files Browse the repository at this point in the history
  • Loading branch information
tedsta committed Jan 25, 2015
1 parent 2a6b2e5 commit 2e90854
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Cargo.lock
sample_project/*.dll
target/*
sample_project/target/*
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ Unfortunately, Windows is the toughest platform to develop on. The Windows versi

Luckily for you crazy kids, C has a stable ABI, so you can simply plug in the binaries I have produced!

Copy the \*.a files in the `$TUTORIAL_ROOT/windows_clibs` folder to `$RUST_ROOT\bin\rustlib\$CPU_ARCH-pc-windows-gnu\lib`, which is most likely `C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib` on your machine.
Copy the \*.a files in the `$TUTORIAL_ROOT/windows_clibs/$CPU_ARCH` folder to `$RUST_ROOT\bin\rustlib\$CPU_ARCH-pc-windows-gnu\lib`, which is most likely one of the following:

Copy the \*.dll files in `$TUTORIAL_ROOT/windows_clibs` to `$TUTORIAL_ROOT/sample_project`.
`C:\Rust\bin\rustlib\x86_64-pc-windows-gnu\lib`
`C:\Rust\bin\rustlib\i686-pc-windows-gnu\lib`

Copy the \*.dll files in `$TUTORIAL_ROOT/windows_clibs/$CPU_ARCH` to `$TUTORIAL_ROOT/sample_project`.


### Installing SDL2 and FreeType on Linux
Expand Down
Binary file added windows_clibs/i686/SDL2.dll
Binary file not shown.
Binary file added windows_clibs/i686/libSDL2.dll.a
Binary file not shown.
Binary file added windows_clibs/i686/libfreetype-6.a
Binary file not shown.
Binary file removed windows_clibs/libfreetype-6.dll
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2e90854

Please sign in to comment.