[pdal] PDAL Vagrant/VirtualBox Install Failed at points2grid

Robert Dzur rdzur at bhinc.com
Tue Jan 20 13:42:00 PST 2015


Thanks Howard;

Refreshing pushed the pts2grd further to 50% at which point I got some additional error messaging:

==> default: Building CXX object CMakeFiles/pts2grd.dir/src/GridMap.cpp.o
==> default: [ 50%] 
==> default: Building CXX object CMakeFiles/pts2grd.dir/src/InCoreInterp.cpp.o
==> default: /home/vagrant/points2grid/src/InCoreInterp.cpp: In member function ‘int InCoreInterp::outputFile(char*, int, unsigned int, double*, const char*)’:
==> default: /home/vagrant/points2grid/src/InCoreInterp.cpp:782:21: warning: name lookup of ‘j’ changed [enabled by default]
==> default:                  for(j = GRID_SIZE_Y - 1; j >= 0; j--)
==> default:                      ^
==> default: /home/vagrant/points2grid/src/InCoreInterp.cpp:463:11: warning:   matches this ‘j’ under ISO standard rules [enabled by default]
==> default:      int i,j,k;
==> default:            ^
==> default: /home/vagrant/points2grid/src/InCoreInterp.cpp:777:26: warning:   matches this ‘j’ under old rules [enabled by default]
==> default:                  for (int j = 0; j < GRID_SIZE_X*GRID_SIZE_Y; j++)
==> default:                           ^
==> default: [ 66%] 

This messaging continues for some time and until the install dies again.

c_ostream<char, std::char_traits<char> >&, char 
==> default: const*, long)'
==> default: OutCoreInterp.cpp:(.text+0x38e9): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<
==> default: char, std::char_traits<char> >(std::basic_ostream<
==> default: char, std::char_traits<char> >&, char const*, long)'
==> default: /usr/bin/ld: CMakeFiles/pts2grd.dir/src/GridFile.cpp.o: file class ELFCLASS64 incompatible with ELFCLASS32
==> default: /usr/bin/ld: final link failed:
==> default:  File in wrong format
==> default: collect2: error: ld returned 1 exit status
==> default: make[2]: *** [libpts2grd.so] Error 1
==> default: make[1]: *** [CMakeFiles/pts2grd.dir/all] Error 2
==> default: make: *** [all] Error 2
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Thanks again for your help with this issue.

Best,

Rob
--


________________________________________
From: Howard Butler [howard at hobu.co]
Sent: Tuesday, January 20, 2015 1:53 PM
To: Robert Dzur
Cc: pdal at lists.osgeo.org
Subject: Re: [pdal] PDAL Vagrant/VirtualBox Install Failed at points2grid

> On Jan 20, 2015, at 2:40 PM, Robert Dzur <rdzur at bhinc.com> wrote:
>
> I’m not certain what I might be doing wrong, but any help would be most appreciated.

You're doing nothing wrong.

The nice thing about the Vagrant config is that it promises to get you a working installation after waiting around for a while.

The bad thing about the Vagrant config is all of the pieces vibrate at their own development and packaging paces, and the config ends up being a moving target.

I think one or some Ubuntu package on which the Vagrant config uses now requires gcc-multilib and g++-multilib packages, but they didn't before for some reason.

I have added these to the latest PDAL master branch. Please try refreshing again, and let us know if you're still stuck.

> $ vagrant destroy
> $ git pull origin master
> $ vagrant up


Howard


More information about the pdal mailing list