# Fix for compiling Ruby with VS2010 express compiler

**URL:** <https://www.ruby-forum.com/t/fix-for-compiling-ruby-with-vs2010-express-compiler/188293>\
**Category:** Rails\
**Created:** [May 9, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/fix-for-compiling-ruby-with-vs2010-express-compiler/188293 "2010-05-09T16:53:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 9, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/fix-for-compiling-ruby-with-vs2010-express-compiler/188293/1 "2010-05-09T16:53:48Z")

</div>

Hi,

The first time I compiled ruby using the VS2010 express compiler for  
the first time and I got an error relating to the  
miniruby.exe.manifest file not being found. I changed the LDFLAGS in  
win32\Makefile.sub from:

LDFLAGS = -incremental:no -debug -opt:ref -opt:icf

to

LDFLAGS = -manifest -incremental:no -debug -opt:ref -opt:icf

And it works now.

All in all, pretty good experience compiling ruby on windows now,  
compared to most other packages I’ve tried to compile.
