# Can't use RDF/Raptor on Windows

**URL:** <https://www.ruby-forum.com/t/cant-use-rdf-raptor-on-windows/188217>\
**Category:** Ruby\
**Created:** [May 7, 2010, 8:42pm UTC](https://www.ruby-forum.com/t/cant-use-rdf-raptor-on-windows/188217 "2010-05-07T20:42:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![denommus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@denommus](https://www.ruby-forum.com/u/denommus)\
**Post date:** [May 7, 2010, 8:42pm UTC](https://www.ruby-forum.com/t/cant-use-rdf-raptor-on-windows/188217/1 "2010-05-07T20:42:56Z")

</div>

I have compiled Raptor on Windows with cygwin, now I don’t know where to  
put the files, so the rdf-raptor gem should work.

What shall I do?

---

<div class="post-metadata">

**Author:** ![denommus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@denommus](https://www.ruby-forum.com/u/denommus)\
**Post date:** [May 7, 2010, 11:12pm UTC](https://www.ruby-forum.com/t/cant-use-rdf-raptor-on-windows/188217/2 "2010-05-07T23:12:40Z")

</div>

> I have compiled Raptor on Windows with cygwin, now I don’t know where to  
> put the files, so the rdf-raptor gem should work.

Unfortunately you can’t mix and match cygwin libraries with your windows  
native ruby.

Your options:

1. install libxml/raptor using mingw devkit (might be easy, might be  
hard).
2. install rdf-raptor gem using cygwin version of ruby, since you have  
cygwin raptor libraries installed.

There might be other options, too, dunno.  
-rp

---

<div class="post-metadata">

**Author:** ![denommus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@denommus](https://www.ruby-forum.com/u/denommus)\
**Post date:** [May 7, 2010, 11:18pm UTC](https://www.ruby-forum.com/t/cant-use-rdf-raptor-on-windows/188217/3 "2010-05-07T23:18:54Z")

</div>

Roger P. wrote:

> > I have compiled Raptor on Windows with cygwin, now I don’t know where to  
> > put the files, so the rdf-raptor gem should work.
> 
> Unfortunately you can’t mix and match cygwin libraries with your windows  
> native ruby.
> 
> Your options:
> 
> 1. install libxml/raptor using mingw devkit (might be easy, might be  
> hard).
> 2. install rdf-raptor gem using cygwin version of ruby, since you have  
> cygwin raptor libraries installed.
> 
> There might be other options, too, dunno.  
> -rp

I’m trying to use RDF.rb on a Rails project, and almost everything is  
ready, only RDF.rb is missing.  
So, I think I’ll install MingW to try to compile libxml and raptor.

I already tried on Visual Studio, but didn’t work (I don’t know why).

Thank you for the tip. If I succeed, I’ll tell you.
