# Invalid Search Path - Building IronRuby on Windows

**URL:** <https://www.ruby-forum.com/t/invalid-search-path-building-ironruby-on-windows/139623>\
**Category:** IronRuby\
**Created:** [June 5, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/invalid-search-path-building-ironruby-on-windows/139623 "2008-06-05T16:15:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@Joe\_F](https://www.ruby-forum.com/u/Joe_F)\
**Post date:** [June 5, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/invalid-search-path-building-ironruby-on-windows/139623/1 "2008-06-05T16:15:10Z")

</div>

I get the following error when issuing a Rake compile w/ r113:

error CS1668: Warning as Error: Invalid search path ‘C:\Program Files  
\Microsoft  
SDKs\Windows\v6.0A\lib’ specified in ‘LIB environment  
variable’ – 'The  
system cannot find the path specified. ’  
rake aborted!  
Command failed with status (1): [csc /out:"c:\software development  
\open sou…]  
C:/Software Development/Open Source Projects/IronRuby/trunk/rakefile:159

Anyone have an idea how to fix this?

Thanks!  
Joe F.

---

<div class="post-metadata">

**Author:** ![Joe\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@Joe\_F](https://www.ruby-forum.com/u/Joe_F)\
**Post date:** [June 5, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/invalid-search-path-building-ironruby-on-windows/139623/2 "2008-06-05T16:22:17Z")

</div>

Install the embedded Windows SDK components from VS2008? (Use can use  
the  
express editions:  
[http://blogs.msdn.com/windowssdk/archive/2007/11/30/released-visual-studio-2008-with-embedded-windows-sdk-components.aspx](http://blogs.msdn.com/windowssdk/archive/2007/11/30/released-visual-studio-2008-with-embedded-windows-sdk-components.aspx))  
or remove that directory from the LIB environment variable.

---

<div class="post-metadata">

**Author:** ![Joe\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@Joe\_F](https://www.ruby-forum.com/u/Joe_F)\
**Post date:** [June 5, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/invalid-search-path-building-ironruby-on-windows/139623/3 "2008-06-05T18:04:39Z")

</div>

Thanks for the advice. I took it out of the LIB path. Felt kinda  
stupid that that was it ;). Now I’m getting a syntax error trying to  
run ir.cmd. Any ideas on that?

-Joe

---

<div class="post-metadata">

**Author:** ![Joe\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@Joe\_F](https://www.ruby-forum.com/u/Joe_F)\
**Post date:** [June 5, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/invalid-search-path-building-ironruby-on-windows/139623/4 "2008-06-05T18:00:31Z")

</div>

Or just create the folder it is looking for.

Pete

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Michael  
Letterle  
Sent: Thursday,05 June 05, 2008 15:21  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on  
Windows

Install the embedded Windows SDK components from VS2008? (Use can use  
the  
express editions:  
[http://blogs.msdn.com/windowssdk/archive/2007/11/30/released-visual-studio-2](http://blogs.msdn.com/windowssdk/archive/2007/11/30/released-visual-studio-2)  
008-with-embedded-windows-sdk-components.aspx) or remove that directory  
from  
the LIB environment variable.

On Thu, Jun 5, 2008 at 9:46 AM, Joe F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

I get the following error when issuing a Rake compile w/ r113:

## error CS1668: Warning as Error: Invalid search path ‘C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib’ specified in ‘LIB environment variable’

'The  
system cannot find the path specified. ’  
rake aborted!  
Command failed with status (1): [csc /out:"c:\software development\open  
sou…]  
C:/Software Development/Open Source Projects/IronRuby/trunk/rakefile:159

Anyone have an idea how to fix this?

Thanks!  
Joe F.

---

<div class="post-metadata">

**Author:** ![Joe\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@Joe\_F](https://www.ruby-forum.com/u/Joe_F)\
**Post date:** [June 5, 2008, 6:27pm UTC](https://www.ruby-forum.com/t/invalid-search-path-building-ironruby-on-windows/139623/5 "2008-06-05T18:27:40Z")

</div>

I found that if I typed in ir.cmd then it failed with some  
“\<assembly…”  
kind of message. If I just type in ir it works fine. Is that the  
problem?

Pete

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Joe F.  
Sent: Thursday,05 June 05, 2008 17:04  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on  
Windows

Thanks for the advice. I took it out of the LIB path. Felt kinda  
stupid  
that that was it ;). Now I’m getting a syntax error trying to run  
ir.cmd.  
Any ideas on that?

-Joe

On Jun 5, 2008, at 11:59 AM, Peter Bacon D. wrote:

Or just create the folder it is looking for.

Pete

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Michael  
Letterle  
Sent: Thursday,05 June 05, 2008 15:21  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on  
Windows

Install the embedded Windows SDK components from VS2008? (Use can use  
the  
express  
editions:[http://blogs.msdn.com/windowssdk/archive/2007/11/30/released-visual](http://blogs.msdn.com/windowssdk/archive/2007/11/30/released-visual)  
-studio-2008-with-embedded-windows-sdk-components.aspx) or remove that  
directory from the LIB environment variable.

On Thu, Jun 5, 2008 at 9:46 AM, Joe F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

I get the following error when issuing a Rake compile w/ r113:

## error CS1668: Warning as Error: Invalid search path ‘C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib’ specified in ‘LIB environment variable’

'The  
system cannot find the path specified. ’  
rake aborted!  
Command failed with status (1): [csc /out:"c:\software development\open  
sou…]  
C:/Software Development/Open Source Projects/IronRuby/trunk/rakefile:159

Anyone have an idea how to fix this?

Thanks!  
Joe F.

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

–  
Michael L.  
[Polymath Prokrammer]  
[http://blog.prokrams.com](http://blog.prokrams.com)
