Building with CMake on Win7 with MSVC 2008

Hi,

I am trying to build the output of CMake, but am getting numerous
errors.
Approximately half of the projects fail to build with what I have now.
Most
of these appear to be an issue with SWIG, or perhaps with what CMake has
told the compiler to feed into SWIG.

In the build log for the offending files I’m getting things like

D:\gnuradio\src\swigwin2.0.8\swig.exe -python -fvirtual -modern
-keyword -w511 -module pmt_swig
-ID:/gnuradio/src/gnuradio-3.3.0/gruel/src/include
-Id:/gnuradio/bin/gruel/src/include -Id:/gnuradio/bin/gruel/src/swig
-ID:/boost -IC:/Python27/include -IC:/Python27/include
-ID:/gnuradio/src/gnuradio-3.3.0/gruel/src/swig
-Id:/gnuradio/bin/gruel/src/swig -outdir
d:/gnuradio/bin/gruel/src/swig -c++
-ID:/gnuradio/src/gnuradio-3.3.0/cmake/msvc
-ID:/gnuradio/src/gnuradio-3.3.0/gruel/src/include
-Id:/gnuradio/bin/gruel/src/include -Id:/gnuradio/bin/gruel/src/swig
-ID:/boost -IC:/Python27/include -IC:/Python27/include
-ID:/gnuradio/src/gnuradio-3.3.0/gruel/src/swig
-Id:/gnuradio/bin/gruel/src/swig -o
d:/gnuradio/bin/gruel/src/swig/pmt_swigPYTHON_wrap.cxx
D:/gnuradio/src/gnuradio-3.3.0/gruel/src/swig/pmt_swig.i

… Some more lines …

echo Project : error PRJ0019: A tool returned an error code from “Swig
source”

And in the output I get

Swig source
The system cannot find the path specified.
Project : error PRJ0019: A tool returned an error code from “Swig
source”

As far as I can tell, all files/folders passed into swig.exe exist
(except the output file) - so why would this be happening?

The other error that seems to crop up fairly often is that several
things depend on linux/if_tun.h, which doesn’t exist on my system. Am
I missing a dependency?

Thanks,

  • Will

The other error that seems to crop up fairly often is that several
things depend on linux/if_tun.h, which doesn’t exist on my system. Am
I missing a dependency?

Its used for tuntap, which is a linux only block, it should be ifdef’d
out.

-josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs