Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Downloading and opening VRUI package #9

Open
MarieCooper369 opened this issue Feb 28, 2020 · 0 comments
Open

Error Downloading and opening VRUI package #9

MarieCooper369 opened this issue Feb 28, 2020 · 0 comments

Comments

@MarieCooper369
Copy link

When I try
pamac build vrui-git
I get the following readout followed by error:

Building vrui-git...
==> Making package: vrui-git 4.6_005_42_g0490920-1 (Fri 28 Feb 2020 03:53:06 AM MST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating Vrui git repo...
Fetching origin
==> Validating source files with md5sums...
    Vrui ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of Vrui git repo...
Cloning into 'Vrui'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
---- Vrui configuration options: ----
Run-time library search paths disabled
Realtime library uses POSIX clocks
Realtime library uses POSIX timers
Threads library has built-in thread-local storage
Threads library uses built-in atomics
Threads library uses POSIX spinlocks
Local pthread implements pthread_cancel
Libusb library version 1.0 exists on host system
Libusb library supports bus topology queries
Libusb library has libusb_strerror function
Libudev library exists on host system
RawHID library enabled
Multithreaded rendering disabled
Default GL font directory: /usr/share/Vrui/GLFonts
PNG image file format enabled
JPG image file format enabled
TIFF image file format enabled
ALSA sound device support enabled
SPEEX speech compression support enabled
Video4Linux2 video device support enabled
FireWire DC1394 video device support enabled
Theora video codec support enabled
Spatial sound using OpenAL enabled
Swapgroup support for Vrui windows disabled
Support for screen saver inhibition via DBus enabled
Vrui will save screenshots in PNG format
Support for spatial audio enabled
Support to save screen captures in Ogg/Theora format enabled
Support for multitouch screens enabled
Support for named video outputs enabled
LatencyTester vislet for Oculus DK1 latency tester enabled
Using global per-user configuration file .config/Vrui/Vrui.cfg
Event device support for joysticks disabled
Bluetooth support (for Nintendo Wii controller) enabled
USB support (for Razer Hydra and Oculus Rift tracker) enabled
OpenVR SDK or SteamVR run-time do not exist on host system; support for HTC Vive disabled
---- Vrui installation configuration ----
System-level installation requested
Root installation directory               : 
Header installation root directory        : /usr/include/Vrui
Library installation root directory       : /usr/lib/Vrui
Executable installation directory         : /usr/bin
Plug-in installation root directory       : /usr/lib/Vrui
Configuration file installation directory : /etc/Vrui
Shared file installation root directory   : /usr/share/Vrui
Makefile fragment installation directory  : /usr/share/Vrui
Build system installation directory       : /usr/share/Vrui/make
pkg-config metafile installation directory: /usr/lib/pkgconfig
Documentation installation directory      : /usr/share/doc/Vrui
---- End of Vrui configuration options ----
Creating application makefile fragment...
Creating configuration makefile fragment...
Creating pkg-config meta data file...
Configuring template makefile...
Configuring makefile in ExamplePrograms...
Configuring makefile in ExamplePrograms/MeshEditor...
Configuring makefile in ExamplePrograms/VRMLViewer...
Compiling Misc/CallbackList.cpp...
Compiling Misc/ConfigurationFile.cpp...
Compiling Misc/CreateNumberedFileName.cpp...
Compiling Misc/Directory.cpp...
Compiling Misc/FdSet.cpp...
Compiling Misc/FileLocator.cpp...
Compiling Misc/FileNameExtensions.cpp...
Compiling Misc/FileTests.cpp...
Compiling Misc/GetCurrentDirectory.cpp...
Compiling Misc/MessageLogger.cpp...
Compiling Misc/Pipe.cpp...
Compiling Misc/PrintfTemplateTests.cpp...
Compiling Misc/ReadBuffer.cpp...
Compiling Misc/StandardValueCoders.cpp...
Compiling Misc/StringPrintf.cpp...
Compiling Misc/ThrowStdErr.cpp...
Compiling Misc/Timer.cpp...
Compiling Misc/TimerEventScheduler.cpp...
Compiling Misc/ValueCoder.cpp...
Compiling Realtime/AlarmTimer.cpp...
Compiling Threads/EventDispatcher.cpp...
Compiling Threads/Thread.cpp...
Compiling USB/ConfigDescriptor.cpp...
Compiling USB/Context.cpp...
Compiling USB/Device.cpp...
Compiling USB/DeviceList.cpp...
Compiling USB/TransferPool.cpp...
Compiling RawHID/Device.cpp...
USB/Context.cpp: In member function ‘void USB::Context::setDebugLevel(int)’:
USB/Context.cpp:117:40: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  117 |  libusb_set_debug(context,newDebugLevel);
      |                                        ^
In file included from USB/Context.cpp:24:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
USB/Context.cpp:117:40: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  117 |  libusb_set_debug(context,newDebugLevel);
      |                                        ^
In file included from USB/Context.cpp:24:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
Compiling RawHID/DeviceMonitor.cpp...
Compiling RawHID/Internal/UdevContext.cpp...
Compiling RawHID/Internal/UdevDevice.cpp...
Compiling RawHID/Internal/UdevEnumerator.cpp...
Compiling RawHID/Internal/UdevListIterator.cpp...
Compiling RawHID/Internal/UdevMonitor.cpp...
Compiling IO/CSVSource.cpp...
Compiling IO/Directory.cpp...
Compiling IO/File.cpp...
Compiling IO/FileMonitor.cpp...
Compiling IO/FixedMemoryFile.cpp...
Compiling IO/GzipFilter.cpp...
Compiling IO/GzippedFile.cpp...
Compiling IO/IFFChunk.cpp...
Compiling IO/MemMappedFile.cpp...
Compiling IO/OpenFile.cpp...
Compiling IO/OStream.cpp...
Compiling IO/ReadAheadFilter.cpp...
Compiling IO/SeekableFile.cpp...
Compiling IO/SeekableFilter.cpp...
Compiling IO/StandardDirectory.cpp...
Compiling IO/StandardFile.cpp...
Compiling IO/TokenSource.cpp...
Compiling IO/ValueSource.cpp...
Compiling IO/VariableMemoryFile.cpp...
Compiling IO/XBaseTable.cpp...
Compiling IO/XMLDocument.cpp...
Compiling IO/XMLSource.cpp...
Compiling IO/ZipArchive.cpp...
Compiling Plugins/Factory.cpp...
Compiling Comm/HttpFile.cpp...
Compiling Comm/IPv4Address.cpp...
Compiling Comm/ListeningTCPSocket.cpp...
Compiling Comm/OpenFile.cpp...
Compiling Comm/Pipe.cpp...
Compiling Comm/SerialPort.cpp...
Compiling Comm/TCPPipe.cpp...
Compiling Comm/TCPSocket.cpp...
Compiling Comm/UDPSocket.cpp...
Compiling Cluster/Clusterize.cpp...
Compiling Cluster/ClusterPipe.cpp...
Compiling Cluster/MulticastPipe.cpp...
Compiling Cluster/Multiplexer.cpp...
Compiling Cluster/OpenFile.cpp...
Compiling Cluster/OpenPipe.cpp...
Compiling Cluster/StandardDirectory.cpp...
Compiling Cluster/StandardFile.cpp...
Compiling Cluster/TCPPipe.cpp...
Compiling Cluster/ThreadSynchronizer.cpp...
Compiling Math/Algorithms.cpp...
Compiling Math/Complex.cpp...
Compiling Math/Constants.cpp...
Compiling Math/Interval.cpp...
Compiling Math/MathValueCoders.cpp...
Compiling Math/Matrix.cpp...
Compiling Math/Noise.cpp...
Compiling Math/Random.cpp...
Compiling Geometry/AffineTransformation.cpp...
Compiling Geometry/AlbersEqualAreaProjection.cpp...
Compiling Geometry/AlignPoints.cpp...
Compiling Geometry/Box.cpp...
Compiling Geometry/BSpline.cpp...
Compiling Geometry/ComponentArray.cpp...
Compiling Geometry/ElevationGrid.cpp...
Compiling Geometry/GeoCoordinateSystem.cpp...
Compiling Geometry/Geoid.cpp...
Compiling Geometry/GeometryValueCoders.cpp...
Compiling Geometry/HVector.cpp...
Compiling Geometry/IntersectionTests.cpp...
Compiling Geometry/LambertConformalProjection.cpp...
Compiling Geometry/LinearUnit.cpp...
Compiling Geometry/Matrix.cpp...
Compiling Geometry/OrthogonalTransformation.cpp...
Compiling Geometry/OrthonormalTransformation.cpp...
Compiling Geometry/OutputOperators.cpp...
Compiling Geometry/PCACalculator.cpp...
Compiling Geometry/Point.cpp...
Compiling Geometry/Polygon.cpp...
Compiling Geometry/ProjectiveTransformation.cpp...
Compiling Geometry/Random.cpp...
Compiling Geometry/Rotation.cpp...
Compiling Geometry/RotationTransformation.cpp...
Compiling Geometry/ScalingTransformation.cpp...
Compiling Geometry/SplineCurve.cpp...
Compiling Geometry/SplineFitter.cpp...
Compiling Geometry/SplinePatch.cpp...
Compiling Geometry/TranslationTransformation.cpp...
Compiling Geometry/TransverseMercatorProjection.cpp...
Compiling Geometry/UniformScalingTransformation.cpp...
Compiling Geometry/UTMProjection.cpp...
Compiling Geometry/Vector.cpp...
Compiling GL/GLScalarLimits.cpp...
Compiling GL/GLColor.cpp...
Compiling GL/GLVertex.cpp...
Compiling GL/GLFog.cpp...
Compiling GL/GLLight.cpp...
Compiling GL/GLMaterial.cpp...
Compiling GL/GLPrintError.cpp...
Compiling GL/GLMarshallers.cpp...
Compiling GL/GLValueCoders.cpp...
Compiling GL/GLLightTracker.cpp...
Compiling GL/GLClipPlaneTracker.cpp...
Compiling GL/GLObject.cpp...
Compiling GL/Internal/GLThingManager.cpp...
Compiling GL/GLContextData.cpp...
Compiling GL/GLExtensions.cpp...
Compiling GL/GLExtensionManager.cpp...
Compiling GL/Extensions/GLARBDebugOutput.cpp...
Compiling GL/Extensions/GLARBDepthTexture.cpp...
Compiling GL/Extensions/GLARBDrawBuffers.cpp...
Compiling GL/Extensions/GLARBDrawInstanced.cpp...
Compiling GL/Extensions/GLARBFragmentProgram.cpp...
Compiling GL/Extensions/GLARBFragmentShader.cpp...
Compiling GL/Extensions/GLARBGeometryShader4.cpp...
Compiling GL/Extensions/GLARBInstancedArrays.cpp...
Compiling GL/Extensions/GLARBMultitexture.cpp...
Compiling GL/Extensions/GLARBPointParameters.cpp...
Compiling GL/Extensions/GLARBPointSprite.cpp...
Compiling GL/Extensions/GLARBShaderObjects.cpp...
Compiling GL/Extensions/GLARBShadow.cpp...
Compiling GL/Extensions/GLARBTextureCompression.cpp...
Compiling GL/Extensions/GLARBTextureFloat.cpp...
Compiling GL/Extensions/GLARBTextureMultisample.cpp...
Compiling GL/Extensions/GLARBTextureNonPowerOfTwo.cpp...
Compiling GL/Extensions/GLARBTextureRectangle.cpp...
Compiling GL/Extensions/GLARBTextureRg.cpp...
Compiling GL/Extensions/GLARBVertexArrayObject.cpp...
Compiling GL/Extensions/GLARBVertexBufferObject.cpp...
Compiling GL/Extensions/GLARBVertexProgram.cpp...
Compiling GL/Extensions/GLARBVertexShader.cpp...
Compiling GL/Extensions/GLEXTFogCoord.cpp...
Compiling GL/Extensions/GLEXTFramebufferBlit.cpp...
Compiling GL/Extensions/GLEXTFramebufferMultisample.cpp...
Compiling GL/Extensions/GLEXTFramebufferObject.cpp...
Compiling GL/Extensions/GLEXTGeometryShader4.cpp...
Compiling GL/Extensions/GLEXTGpuShader4.cpp...
Compiling GL/Extensions/GLEXTPackedDepthStencil.cpp...
Compiling GL/Extensions/GLEXTPalettedTexture.cpp...
Compiling GL/Extensions/GLEXTRescaleNormal.cpp...
Compiling GL/Extensions/GLEXTTexture3D.cpp...
Compiling GL/Extensions/GLEXTTextureArray.cpp...
Compiling GL/Extensions/GLEXTTextureCompressionS3TC.cpp...
Compiling GL/Extensions/GLEXTTextureCubeMap.cpp...
Compiling GL/Extensions/GLEXTTextureInteger.cpp...
Compiling GL/Extensions/GLNVFogDistance.cpp...
Compiling GL/Extensions/GLNVOcclusionQuery.cpp...
Compiling GL/Extensions/GLNVPointSprite.cpp...
Compiling GL/Extensions/GLNVTextureShader.cpp...
Compiling GL/GLTextureObject.cpp...
Compiling GL/GLShader.cpp...
Compiling GL/GLGeometryShader.cpp...
Compiling GL/GLAutomaticShader.cpp...
Compiling GL/GLLineLightingShader.cpp...
Compiling GL/GLFrameBuffer.cpp...
Compiling GL/GLColorMap.cpp...
Compiling GL/GLNumberRenderer.cpp...
Compiling GL/GLFont.cpp...
Compiling GL/GLString.cpp...
Compiling GL/GLLabel.cpp...
Compiling GL/GLLineIlluminator.cpp...
Compiling GL/GLModels.cpp...
Compiling GL/GLContext.cpp...
Compiling GL/GLWindow.cpp...
Compiling GL/GLGeometryVertex.cpp...
Compiling GL/GLTransformationWrappers.cpp...
Compiling GL/GLFrustum.cpp...
Compiling GL/GLPolylineTube.cpp...
Compiling Images/BaseImage.cpp...
Compiling Images/GetImageFileSize.cpp...
Compiling Images/Image.cpp...
In file included from Images/BaseImage.cpp:24:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:157:2: error: ‘ptrdiff_t’ does not name a type
  157 |  ptrdiff_t getRowStride(void) const // Returns the offset between adjacent pixel rows in bytes
      |  ^~~~~~~~~
In file included from Images/BaseImage.cpp:24:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:29:1: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   28 | #include <GL/gl.h>
  +++ |+#include <cstddef>
   29 | 
In file included from Images/BaseImage.cpp:24:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h: In member function ‘const void* Images::BaseImage::getPixelRow(unsigned int) const’:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:177:47: error: ‘ptrdiff_t’ was not declared in this scope
  177 |   return static_cast<const char*>(rep->image)+ptrdiff_t(y)*getRowStride();
      |                                               ^~~~~~~~~
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:177:47: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:177:60: error: ‘getRowStride’ was not declared in this scope
  177 |   return static_cast<const char*>(rep->image)+ptrdiff_t(y)*getRowStride();
      |                                                            ^~~~~~~~~~~~
Compiling Images/ImageReader.cpp...
Compiling Images/ImageReaderPNM.cpp...
In file included from /var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/Image.h:30,
                 from Images/Image.cpp:24:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:157:2: error: ‘ptrdiff_t’ does not name a type
  157 |  ptrdiff_t getRowStride(void) const // Returns the offset between adjacent pixel rows in bytes
      |  ^~~~~~~~~
In file included from /var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/Image.h:30,
                 from Images/Image.cpp:24:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:28:1: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   27 | #include <Threads/Atomic.h>
  +++ |+#include <cstddef>
   28 | #include <GL/gl.h>
In file included from /var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/Image.h:30,
                 from Images/Image.cpp:24:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h: In member function ‘const void* Images::BaseImage::getPixelRow(unsigned int) const’:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:177:47: error: ‘ptrdiff_t’ was not declared in this scope; did you mean ‘std::ptrdiff_t’?
  177 |   return static_cast<const char*>(rep->image)+ptrdiff_t(y)*getRowStride();
      |                                               ^~~~~~~~~
      |                                               std::ptrdiff_t
In file included from /usr/include/c++/9.2.1/cmath:41,
                 from /usr/include/c++/9.2.1/math.h:36,
                 from /var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Math/Math.h:25,
                 from /var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/GL/GLScalarLimits.h:27,
                 from /var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/Image.h:28,
                 from Images/Image.cpp:24:
/usr/include/c++/9.2.1/x86_64-pc-linux-gnu/bits/c++config.h:255:28: note: ‘std::ptrdiff_t’ declared here
  255 |   typedef __PTRDIFF_TYPE__ ptrdiff_t;
      |                            ^~~~~~~~~
In file included from /var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/Image.h:30,
                 from Images/Image.cpp:24:
/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/Images/BaseImage.h:177:60: error: ‘getRowStride’ was not declared in this scope
  177 |   return static_cast<const char*>(rep->image)+ptrdiff_t(y)*getRowStride();
      |                                                            ^~~~~~~~~~~~
Compiling Images/ReadBILImage.cpp...
Compiling Images/ReadImageFile.cpp...
Compiling Images/ReadJPEGImage.cpp...
make: *** [/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/BuildRoot/BasicMakefile:133: o/g++-3.g0.O3/Images/BaseImage.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/var/tmp/pamac-build-sandbox/vrui-git/src/Vrui/BuildRoot/BasicMakefile:131: o/g++-3.g0.O3/Images/Image.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Any ideas on a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant