cmake/MSVC build error (Windows XP)

While attempting to build GNU Radio (from git/master) on Windows XP with
cmake and Visual C++ 2010 Express, I am getting:

4>------ Build started: Project: gengen_generated_index, Configuration:
Release Win32 ------
[…]
4> Generating gengen/gengen_generated.i
4>
4> The input line is too long.
4>
C:\home\Don\gnuradio\build-msvc\gnuradio-core\src\lib>C:\Python27\python.exe
-B
C:/home/Don/gnuradio/build-msvc/gnuradio-core/src/lib/gengen/gengen_generated.py
C:/home/Don/gnuradio/build-msvc/gnuradio-core/src/lib/gengen/gengen_generated.i
C:/home/Don/gnuradio/build-msvc/gnuradio-core/src/lib/gengen/gr_vector_source_b.i
[… most of single long line removed …]
C:/home/Don/gnuradio/build-msvc/gnuradio-core/src/lib/gengen/gr_peak
4>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):
error
MSB6006: “cmd.exe” exited with code 255.

This line appears in the file gengen_generated_index.vcxproj. I suppose
it
was put there by cmake. Any ideas on how to fix or work around this? I
can
shorten the path names by building in another directory, but that seems
like
an unappealing and temporary workaround at best.

Thanks,

– Don W.

On 11/06/2011 06:16 AM, Don W. wrote:

C:\home\Don\gnuradio\build-msvc\gnuradio-core\src\lib>C:\Python27\python.exe
This line appears in the file gengen_generated_index.vcxproj. I suppose
it was put there by cmake. Any ideas on how to fix or work around
this? I can shorten the path names by building in another directory,
but that seems like an unappealing and temporary workaround at best.

Can you pull master and try again? I actually way of generating it and
merged the work. This was the make -j8 thread.

-Josh

----- Original Message -----
From: “Josh B.” [email protected]
To: [email protected]
Sent: Sunday, November 06, 2011 10:39 AM
Subject: Re: [Discuss-gnuradio] cmake/MSVC build error (Windows XP)

4>
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):
error MSB6006: “cmd.exe” exited with code 255.

This line appears in the file gengen_generated_index.vcxproj. I suppose
it was put there by cmake. Any ideas on how to fix or work around
this? I can shorten the path names by building in another directory,
but that seems like an unappealing and temporary workaround at best.

Can you pull master and try again? I actually way of generating it and
merged the work. This was the make -j8 thread.

That seems to fix it. Thanks (again!) for the amazing support.

– Don W.

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