Giter Site home page Giter Site logo

hlrs-vis / covise Goto Github PK

View Code? Open in Web Editor NEW
187.0 37.0 88.0 359.55 MB

Collaborative Visualization and Simulation Environment, OpenCOVER and OddLOT

Home Page: http://www.hlrs.de/covise/

Makefile 0.31% Python 1.79% Shell 0.20% QMake 0.01% CSS 0.25% HTML 0.07% Inno Setup 0.17% CMake 0.95% C 10.59% AGS Script 0.01% Max 1.96% GLSL 1.29% C++ 78.93% OpenEdge ABL 0.13% JavaScript 0.69% Gnuplot 0.01% Cuda 1.65% Objective-C 0.04% C# 0.84% Perl 0.13%
scientific-visualization visualization virtual-reality collaboration unix c-plus-plus cmake openscenegraph macos windows

covise's Introduction

Table of Contents

Software in This Repository

COVISE and OpenCOVER

COVISE, the collaborative visualization and simulation environment, is a modular distributed visualization system. As its focus is on visualization of scientific data in virtual environments, it comprises the VR renderer OpenCOVER. COVISE development is headed by HLRS. It is portable to Windows and UNIX. We do regular builds on x86_64 Windows, Linux and macOS.

Other Software

Also included in this repository are OddLOT, an OpenDRIVE editor, as well as vrmlExp, a VRML97 and X3D exporter for Autodesk 3ds Max.

License

If not stated otherwise, the source code in this repository is licensed under the LGPL v2.1. See lgpl-2.1.txt for details.

Support & Mailing Lists

As a user of COVISE, you might get answers to your questions on the covise-users mailing list. Please direct any questions related to installing/building/using COVISE there.

You can receive notifications of changes to COVISE on the covise-commits list.

Getting Binaries and Automated Installation

If you need OddLOT only, please have a look at https://github.com/hbanzhaf/docker_covise.

macOS

There is a Homebrew formula for COVISE. If you have it on your system, then you can simply

  brew install hlrs-vis/tap/covise

This will install COVISE, OpenCOVER, and OddLOT with all their dependencies.

Windows

Windows binaries, which include COVISE, OpenCOVER and OddLOT, can be found on the COVISE download page. A separate installer for the VRML exporter vrmlExp is also available on the same webpage.

Getting the Source Code

UNIX and Command Line

Getting COVISE is as easy as

  git clone https://github.com/hlrs-vis/covise.git --recursive

Update your existing copy to the current version by

  git pull -r
  git submodule sync --recursive
  git submodule update --init --recursive # update submodules to latest required version

Working with Git

UNIX

  cd covise
  git pull -r #-r requests a rebase of your changes to avoid trivial branching
  git submodule update --init --recursive # update submodules to latest required version

Building COVISE and OpenCOVER

Build Requirements

The script scripts/install-deps.sh will help you to install the dependencies provided by your Linux distribution (Debian/Ubuntu and RHEL/CentOS).

  • C++ compiler: C++11

    On Windows, we currently use Visual Studio 2022 (VC17). GCC 5.3 and newer should work.

  • CMake: 3.1 or newer is required, but currently we suggest CMake 3.7 or newer

  • XercesC:

  • Qt: Qt 5 or 6 is required by the graphical user interface. Not everything, most importantly OddLOT, works with Qt 6 yet.

    For Qt5, you need the following modules:

    • Qt5Core
    • Qt5Network
    • Qt5Xml
    • Qt5Widgets
    • Qt5OpenGL
    • Qt5WebKit
    • Qt5WebKitWidgets
    • Qt5Gui
    • Qt5Svg
    • Qt5PrintSupport
    • Qt5UiTools
    • Qt5Script
    • Qt5ScriptTools

    On Ubuntu 14.04, you should be able to install the required packages with this command: sudo apt-get install qttools5-dev qtscript5-dev libqt5scripttools5 libqt5svg5-dev libqt5opengl5-dev libqt5webkit5-dev

  • Boost: 1.52 and newer should work, following boost libraries are required:

    • chrono
    • date-time
    • filesystem
    • iostreams
    • locale
    • program-options
    • regex
    • serialization
    • system
    • thread When any of these are missing, you will only get a generic message, that "Boost" is missing. Thus beware! Ubuntu 14.04: sudo apt-get install libboost-all-dev
  • Python: Python 3 is required for the GUI vr-prepare and for the scripting interface

  • GLEW: Used for OpenGL extension handling in Virvo (direct volume rendering) and OpenCOVER

  • OpenSceneGraph: 3.2 or newer is required, 3.4 or newer highly recommended for the VR and desktop renderer OpenCOVER

Optional Dependencies

  • JPEG Turbo
  • VTK Version 6 or newer is required.
  • Flex and Bison Lexer/Parser generators, required to build VRML plugin.

dependencies on Redhat8: dnf -y install xerces-c dnf -y install xerces-c-devel

dnf -y install glibc-static

dnf -y install libXi-devel dnf -y install glibc-utils

dnf -y install glut dnf -y install glut-devel dnf -y install boost dnf -y install boost-devel

dnf -y install cmake
dnf -y install cmake3

dnf -y install qt5-qttools-devel dnf -y install qt5-qtscript-devel dnf -y install qt5-qtsvg-devel dnf -y install qt5-qttools-static dnf -y install glew-devel dnf -y install libtiff-devel dnf -y install qt5-qtquickcontrols dnf -y install qt5-qtdeclarative-devel dnf -y install qt5-qtlocation qt5-qtlocation-devel

dnf -y install boost-chrono dnf -y install boost-date-time dnf -y install boost-filesystem dnf -y install boost-iostreams dnf -y install boost-locale dnf -y install boost-program-options dnf -y install boost-regex dnf -y install boost-serialization dnf -y install boost-system dnf -y install boost-thread dnf --enablerepo=PowerTools install qt5-qttools-static dnf --enablerepo=PowerTools install libGLEW dnf --enablerepo=PowerTools install glew-devel

dnf install http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-1.noarch.rpm dnf install gcc-gfortran dnf --enablerepo=PowerTools install libstdc++-static dnf --enablerepo=PowerTools install boost-static dnf install python3-pyqt5-sip dnf install fuse-devel

Tracking Dependencies

CMake will show lists of met and unmet optional and required dependencies. You should check those and install additional prerequisites as needed.

Directory for Third Party Dependencies

COVISE is set up to automatically search for third party libraries in subdirectories of a directory pointed to by the environment variable EXTERNLIBS. You should install e.g. OpenSceneGraph into $EXTERNLIBS/openscenegraph, and it will be discovered during the build process.

Building on UNIX

  cd covise
  source .covise.sh #set environment variables
  make #invoke cmake followed by make

This command sequence sets environment variables necessary while building COVISE, invokes cmake for the COVISE project, and builds COVISE with OpenCOVER.

After an initial build, it is possible to invoke make from within subdirectories of covise/src.

No installation is required: you can use COVISE directly from the build tree.

Building only OpenCOVER

  cd covise
  source .covise.sh #set environment variables
  COVISE_CMAKE_OPTIONS=-DCOVISE_BUILD_ONLY_COVER=ON make #invoke cmake with provided options followed by make

Building only OddLOT

  cd covise
  source .covise.sh #set environment variables
  COVISE_CMAKE_OPTIONS=-DCOVISE_BUILD_ONLY_ODDLOT=ON make #invoke cmake with provided options followed by make

Building on Windows

Also on Windows, you should work from a command prompt:

   REM set COVISEDIR to location of your COVISE checkout
   set COVISEDIR=c:/src/covise
   REM set EXTERNLIBS to correct location of all your dependancies
   set EXTERNLIBSROOT=c:\src\externlibs
   cd %COVISEDIR%
   REM call winenv.bat with appropriate archsuffix for debug or release (tamarau for Visual Studio 2012 and zebu for 2015)
   call %COVISEDIR%\winenv.bat zebuopt
   mkdir build.covise
   cd build.covise
   cmake-gui ..
   REM open Visual Studio - either directly or with the button from CMake GUI
   devenv

To create a permanent link to a covise command prompt edit and execute Scripts/installCoviseCommandPrompt.bat

Building with VS Code

This is an experimental alternative to Visual Studio. You need VS Code with the C/C++ Extension Pack and the CMake Tools expansions installed. You also need the MSVC compiler and one of the supported generators (Ninja, Visual Studio). An additional dependency is https://github.com/nlohmann/json which should be installed like COVISE's other dependencies in the EXTERNLIBS directory. To configure and build COVISE:

open the COVISE directory with VS Code
use the command palette (ctrl + shift + p) -> Tasks: Run Task -> Configure COVISE
fill in requested information
select a compiler via the CMake extension (button in the bottom bar or via the command pallete -> CMake: Select a Kit)
run CMake with a build configuration (button in the bottom bar or via the command pallete -> CMake: Configure)
build (button in the bottom bar or via the command pallete -> CMake: Build)

After this setup VS Code's default integrated terminal is configured to load the environment required to work with COVISE.
Additionally debug configurations to launch COVISE and OpenCOVIER or to attach to a process are provided under VS Code's debug section. InteliSense should be enabled if you are using a generator that can export compile commands (Ninja).

Changing CMake Settings

You can influence which parts of COVISE are built by editing CMake settings in ${COVISEDIR}/${ARCHSUFFIX}/build.covise/CMakeCache.txt. This might help you work around build problems.

cd ${COVISEDIR}/${ARCHSUFFIX}/build.covise
ccmake ../..
  • COVISE_BUILD_ONLY_COVER: build only the OpenCOVER VR/desktop renderer without the COVISE visualization pipeline
  • COVISE_BUILD_ONLY_ODDLOT: build only the road editor OddLOT
  • COVISE_BUILD_DRIVINGSIM: enable the driving simulator components of OpenCOVER
  • COVISE_USE_VIRVO: disable support for direct volume rendering
  • COVISE_USE_CUDA: disable use of CUDA
  • COVISE_CPU_ARCH: set optimization for the CPU in your computer

After changing any of these settings, you have to restart the build process.

You can also provide initial CMake options by adding them to the environment COVISE_CMAKE_OPTIONS before calling make.

Building Documentation

COVISE retrieves documentation from the web server at HLRS. But you also can build the documentation locally. You need the following tools:

  • pdflatex
  • latex2html
  • doxygen
  • graphviz
  • epstopdf

Then you can:

cd ${COVISEDIR}/doc
make

Invoking COVISE

UNIX

Add .../covise/bin to your PATH.

  covise

Windows

COVISE can be used without installation, provided you take the same steps as for building:

   REM set COVISEDIR to location of your COVISE checkout
   set COVISEDIR=c:/src/covise
   REM set EXTERNLIBS to correct location of all your dependancies
   set EXTERNLIBSROOT=c:\src\externlibs
   cd %COVISEDIR%
   REM call winenv.bat with appropriate archsuffix for debug or release (tamarau for Visual Studio 2012 and zebu for 2015 Update 3, 2017 or 2019)
   call %COVISEDIR%\winenv.bat zebuopt
   covise
   opencover

Source Code Organization

  • cmake: cmake files

  • doc: documentation and tools for creating documentation

  • config: configuration examples

  • scripts: support scripts for building COVISE

  • share: architecture independent files: textures, shaders, example data, ...

  • src: source code

    • src/3rdparty: 3rd party source code

    • src/tools: various programs related to building or using COVISE

    • src/kernel: COVISE core libraries

    • src/sys: COVISE core executables

    • src/module: COVISE visualization modules (algorithms)

    • src/OpenCOVER: VR renderer with its plug-ins

    • src/oddlot: OpenDRIVE road editor OddLOT

covise's People

Contributors

aknepple avatar aleppert avatar andreasgrimm1 avatar annarrrr avatar aumuell avatar chrismkirsch avatar dermassen avatar devasconcelos avatar dwickeroth avatar flabowski avatar ghaffner avatar hpcdgrie avatar hpcfloh avatar hpcpiwan avatar hpcralf avatar iblackxfalconi avatar joremy avatar kgranz avatar lskern avatar maeppl avatar mattkue avatar mdjur avatar schrist2 avatar schroederdaniel avatar szellmann avatar tgudat avatar tobst avatar uwewoessner avatar woscho avatar wsy1229rose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

covise's Issues

where to find the compiled lib and h files?

Hi,

I've spent 2 weeks building the covise project. It seems too hard to do the right conifiguring to build it due to the long list of dependencies and tools.

Could you provide a compiled version of this project, with complete necessary .lib and .h files?

Thank you.

Qt 4 compatibility

The Qt UI files

$COVISEDIR/src/tools/vrcw/vrcwstart.ui and
$COVISEDIR/src/tools/vrcw/vrcwhsensbindex.ui

break compatibility with Qt4.

The compiler errors below relate to properties that were introduced in Qt 5.2 and that are used in vrcwstart.ui:335 - vrcwstart.ui:337 as well as vrcwhsensbindex.ui:318 - vrcwhsensbindex.ui:320

Not sure what is the preferred way to fix this.

1.)

In file included from /Users/stefan/covise/src/tools/vrcw/vrconfwizard.cpp:8:
In file included from /Users/stefan/covise/src/tools/vrcw/vrcwstart.h:5:
/Users/stefan/covise/libc++/build.covise/src/tools/vrcw/ui_vrcwstart.h:250:30: error: no member named 'setSizeAdjustPolicy' in 'QTextEdit'
hintStorLocTextEdit->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
~~~~~~~~~~~~~~~~~~~ ^
/Users/stefan/covise/libc++/build.covise/src/tools/vrcw/ui_vrcwstart.h:250:71: error: no member named 'AdjustToContents' in 'QAbstractScrollArea'
hintStorLocTextEdit->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);

2.)

In file included from /Users/stefan/covise/src/tools/vrcw/vrcwhsensbindex.cpp:1:
In file included from /Users/stefan/covise/src/tools/vrcw/vrcwhsensbindex.h:5:
/Users/stefan/covise/libc++/build.covise/src/tools/vrcw/ui_vrcwhsensbindex.h:307:28: error: no member named 'setCurrentText' in 'QComboBox'
buttonDrvComboBox->setCurrentText(QApplication::translate("VRCWHSensBIndexClass", "mousebuttons", 0, QApplication::UnicodeUTF8));
~~~~~~~~~~~~~~~~~ ^

Interactor crash

On viscluster80 load net/exapmles/MakeOctTree.net
Execute, enable interactor for tracer in cover, turning the interactor results in "Access error for coDataShmArray"

oddlot opendrive editing tutorial

Hi
Is there an english version documentation on the usage of oddlot ? For example, how shall we edit lane properties, length, change lane curve etc. Also what are the keyboard hot key to move the loaded map in the screen. Thank you,

libpng required dependency

On a system where libpng is not installed, cmake will configure and generate successfully, but linking will fail later. For someone w/o knowledge of the covise source code, I find this type of error kind of hard to track down, especially because the error messages don't relate to png. Not sure what's the best way to fix this..

-- The following OPTIONAL packages have not been found:

 * ...
 * PNG
 * ...
make[3]: Entering directory `/home/xxxx/covise/tahr/build.covise'
/usr/bin/ld: cannot find -lcoImage
collect2: error: ld returned 1 exit status
make[3]: *** [../bin/IO/ExtractTexCoords] Error 1
make[3]: Leaving directory `/home/xxxx/covise/tahr/build.covise'
make[2]: *** [src/module/hlrs/ExtractTexCoords/CMakeFiles/ExtractTexCoords.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 83%] [ 83%] make[3]: Entering directory `/home/xxxx/covise/tahr/build.covise'

Is there a bug in the glxext.h file?

Dear all,

i would appreciate a response to the following error message I get after typing 'make'. It seems to be something wrong in the glxext.h file. Is there an elegant solution to this?

[ 13%] Building CXX object src/3rdparty/deskvox/virvo/virvo/CMakeFiles/virvo.dir/vvbsptree.cpp.o
In file included from /usr/include/GL/glx.h:333:0,
from /home/konstantin/Workspace/covise/src/3rdparty/deskvox/virvo/virvo/vvopengl.h:42,
from /home/konstantin/Workspace/covise/src/3rdparty/deskvox/virvo/virvo/vvbsptree.cpp:27:
/usr/include/GL/glxext.h:480:143: error: ‘GLintptr’ has not been declared
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
^

Just for the record I'm on Ubuntu 14.10 (Utopic Unicorn)

Best regards,

KI

Oddlot Import Map issue

Hi all

I tried to import google/bing map, I encountered SSL issue :
"one or more SSL errors has occurred,The issuer certificate...."

Anyone has idea regarding this ?

Warnings from 3rdparty headers and -Werror

I keep getting warnings like the following on Ubuntu 15.04 and 15.10:

In file included from /usr/lib/openmpi/include/mpi.h:253:0,
                 from /home/zellmans/covise/src/OpenCOVER/cover/coVRMSController.h:25,
                 from /home/zellmans/covise/src/OpenCOVER/cover/coVRPluginList.cpp:17:
/usr/lib/openmpi/include/mpi_portable_platform.h:374:34: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
              _STRINGIFY(__GNUC__)"."_STRINGIFY(__GNUC_MINOR__)"."_STRINGIFY(__GNUC_PATCHLEVEL__)
                                  ^
/usr/lib/openmpi/include/mpi_portable_platform.h:374:63: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
              _STRINGIFY(__GNUC__)"."_STRINGIFY(__GNUC_MINOR__)"."_STRINGIFY(__GNUC_PATCHLEVEL__)

I think this has to do with C++11 raw string literals that can optionally be pre- and suffixed with some token for disambiguation.

Unfortunately, with -Werror activated, I need to care about this. It is only clear on second sight that errors like these are actually warnings - I mean, gcc reports *error: invalid suffix on literal", and only appends the warning code as the only means for clarification.

I personally think that treating warnings as errors is only viable for compilation units that don't include 3rdparty headers and would argue that we generally deactivate this GCC option.

Oddlot

Hi,

I built COVISE project and I would like to run Oddlot. However, I couldn't manage to run oddlot bash script under the bin directory. How can I run Oddlot?

oddlot does not exist

I complied from source and I am getting this error, does this project requires CUDA or Nvidia?

OpenCOVER display issues

Hello,

I can open up and display basic X11 apps like xterm but when I launch opencover, I get these errors about the display. ( I assume not finding that one plugin is not a show stopper ). Any advice ? Thanks again in advance!

502] [hxgpu0] $opencover
_exec_for_covise
OpenCOVER: Starting up

Compiled with OpenMP support, using a maximum of 1 threads
Input: Persons must be configured!
plugins: const
devices:
buttons: Mouse
bodies:
persons: num=1, active=default, head=0, hand=0
Loading plugins: SGBrowser Vrml97 ClipPlane PLMXML ALVAR/hx/u/legts/covise/pangolin/lib/OpenCOVER/plugins/libALVAR.so: cannot open shared object file: No such file or directory

libALVAR.so: cannot open shared object file: No such file or directory
ERROR: could not load shared Library libALVAR.so
.
Plugins which failed to load: ALVAR.
Error: Unable to open display ":0.0".
No valid Pixel Format found, trying without multisample Buffer
Error: Unable to open display ":0.0".
No valid Pixel Format found, trying without stencil
Error: Unable to open display ":0.0".
No valid Pixel Format found, trying without alpha
Error: Unable to open display ":0.0".
VRWindow::createWin 0 --- finished
window 0 of screen 0 not defined
A Unable to open display ":0.-1"
Viewer::realize() - failed to set up any windows
PLMXMLPlugin::PLMXMLPlugin
host: localhost, port: 31231
connecting to audio server "localhost" at port 31231...connecting socket failed: Connection refused
OpenCOVER: Shutting down

Unloading plugins: ClipPlane PLMXML SGBrowser Vrml97destruction of 0 sources

OSG Header issue

Hi,

I am trying to build COVISE on Linux Mint 19.1,
I get this build error:

[ 50%] Building CXX object src/OpenCOVER/plugins/general/Vrml97/CMakeFiles/Vrml97Cover.dir/coMLB.cpp.o
In file included from /home/ravishankar/Downloads/covise/src/OpenCOVER/plugins/general/Vrml97/VrmlNodePhotometricLight.cpp:44:0:
/home/ravishankar/Downloads/covise/src/OpenCOVER/plugins/general/Vrml97/VrmlNodePhotometricLight.h:40:10: fatal error: osg/ComputeDispatch: No such file or directory
#include <osg/ComputeDispatch>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/OpenCOVER/plugins/general/Vrml97/CMakeFiles/Vrml97Cover.dir/build.make:422: recipe for target 'src/OpenCOVER/plugins/general/Vrml97/CMakeFiles/Vrml97Cover.dir/VrmlNodePhotometricLight.cpp.o' failed

Strangely that OSG header is not present.

I have the correct version of OSG installed also:

#define OPENSCENEGRAPH_MAJOR_VERSION 3
#define OPENSCENEGRAPH_MINOR_VERSION 4
#define OPENSCENEGRAPH_PATCH_VERSION 1

CUDA related compile errors

Compiling on Ubuntu 12.04 results in the following error log:

[120] [hxgpu0] $make
cd /hx/u/legts/covise/pangolin/build.covise//src && make -f /hx/u/legts/covise/pangolin/build.covise//src/Makefile
make[1]: Entering directory /hx/u/legts/covise/pangolin/build.covise/src' make[2]: Entering directory/hx/u/legts/covise/pangolin/build.covise'
make[3]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'
[ 0%] Building NVCC (Device) object src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: identifier "nullptr" is undefined

/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: expected a ";"

/usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h(190): error: expected a ";"

/usr/include/c++/4.8/exception(63): error: expected a ";"

/usr/include/c++/4.8/exception(68): error: expected a ";"

/usr/include/c++/4.8/exception(76): error: expected a ";"

/usr/include/c++/4.8/exception(83): error: expected a ";"

/usr/include/c++/4.8/exception(93): error: expected a "{"

/usr/include/c++/4.8/bits/exception_ptr.h(64): error: function "std::current_exception" returns incomplete type "std::__exception_ptr::exception_ptr"

/usr/include/c++/4.8/bits/exception_ptr.h(64): error: expected a "{"

/usr/include/c++/4.8/bits/exception_ptr.h(79): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(81): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(82): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(84): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: declaration is incompatible with previous "std::current_exception"
(64): here

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(87): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(90): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(92): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(95): error: incomplete type is not allowed

/usr/include/c++/4.8/bits/exception_ptr.h(95): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a ")"

/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(126): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(143): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(144): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(147): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(152): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(153): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(156): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(157): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(160): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(161): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(169): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(57): error: incomplete type is not allowed

/usr/include/c++/4.8/bits/nested_exception.h(60): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(64): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(66): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(70): error: identifier "rethrow_exception" is undefined

/usr/include/c++/4.8/bits/nested_exception.h(73): error: function "std::nested_exception::nested_ptr" returns incomplete type "std::__exception_ptr::exception_ptr"

/usr/include/c++/4.8/bits/nested_exception.h(80): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(108): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(113): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(120): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(125): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(125): error: function template "std::__throw_with_nested" has already been defined

/usr/include/c++/4.8/new(95): error: expected a "{"

/usr/include/c++/4.8/new(110): error: identifier "__p" is undefined

/usr/include/c++/4.8/new(111): error: expected a "{"

/usr/include/c++/4.8/new(115): error: expected a "{"

/usr/include/c++/4.8/new(116): error: expected a "{"

/usr/include/c++/4.8/bits/cpp_type_traits.h(184): error: identifier "char16_t" is undefined

/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: identifier "char32_t" is undefined

/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: class "std::__is_integer<>" has already been defined

/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: namespace "std::__gnu_cxx" has no member "__normal_iterator"

/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: expected a ">"

Segmentation fault
CMake Error at cuda_compile_generated_vvcudatransfunc.cu.o.cmake:264 (message):
Error generating file
/hx/u/legts/covise/pangolin/build.covise/src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o

make[3]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir/./cuda_compile_generated_vvcudatransfunc.cu.o] Error 1
make[3]: Leaving directory /hx/u/legts/covise/pangolin/build.covise' make[2]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/virvo.dir/all] Error 2 make[2]: Leaving directory/hx/u/legts/covise/pangolin/build.covise'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise/src'
make: *** [first] Error 2
[121] [hxgpu0] $

[120] [hxgpu0] $make
cd /hx/u/legts/covise/pangolin/build.covise//src && make -f /hx/u/legts/covise/pangolin/build.covise//src/Makefile
make[1]: Entering directory /hx/u/legts/covise/pangolin/build.covise/src' make[2]: Entering directory/hx/u/legts/covise/pangolin/build.covise'
make[3]: Entering directory `/hx/u/legts/covise/pangolin/build.covise'
[ 0%] Building NVCC (Device) object src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: identifier "nullptr" is undefined

/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: expected a ";"

/usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h(190): error: expected a ";"

/usr/include/c++/4.8/exception(63): error: expected a ";"

/usr/include/c++/4.8/exception(68): error: expected a ";"

/usr/include/c++/4.8/exception(76): error: expected a ";"

/usr/include/c++/4.8/exception(83): error: expected a ";"

/usr/include/c++/4.8/exception(93): error: expected a "{"

/usr/include/c++/4.8/bits/exception_ptr.h(64): error: function "std::current_exception" returns incomplete type "std::__exception_ptr::exception_ptr"

/usr/include/c++/4.8/bits/exception_ptr.h(64): error: expected a "{"

/usr/include/c++/4.8/bits/exception_ptr.h(79): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(81): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(82): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(84): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: declaration is incompatible with previous "std::current_exception"
(64): here

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(87): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(90): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(92): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(95): error: incomplete type is not allowed

/usr/include/c++/4.8/bits/exception_ptr.h(95): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a ")"

/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(126): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(143): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(144): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(147): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(152): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(153): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(156): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(157): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(160): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(161): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(169): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(57): error: incomplete type is not allowed

/usr/include/c++/4.8/bits/nested_exception.h(60): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(64): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(66): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(70): error: identifier "rethrow_exception" is undefined

/usr/include/c++/4.8/bits/nested_exception.h(73): error: function "std::nested_exception::nested_ptr" returns incomplete type "std::__exception_ptr::exception_ptr"

/usr/include/c++/4.8/bits/nested_exception.h(80): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(108): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(113): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(120): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(125): error: expected a ")"

/usr/include/c++/4.8/bits/nested_exception.h(125): error: function template "std::__throw_with_nested" has already been defined

/usr/include/c++/4.8/new(95): error: expected a "{"

/usr/include/c++/4.8/new(110): error: identifier "__p" is undefined

/usr/include/c++/4.8/new(111): error: expected a "{"

/usr/include/c++/4.8/new(115): error: expected a "{"

/usr/include/c++/4.8/new(116): error: expected a "{"

/usr/include/c++/4.8/bits/cpp_type_traits.h(184): error: identifier "char16_t" is undefined

/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: identifier "char32_t" is undefined

/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: class "std::__is_integer<>" has already been defined

/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: namespace "std::__gnu_cxx" has no member "__normal_iterator"

/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: expected a ">"

Segmentation fault
CMake Error at cuda_compile_generated_vvcudatransfunc.cu.o.cmake:264 (message):
Error generating file
/hx/u/legts/covise/pangolin/build.covise/src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_vvcudatransfunc.cu.o

make[3]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/cuda_compile.dir/./cuda_compile_generated_vvcudatransfunc.cu.o] Error 1
make[3]: Leaving directory /hx/u/legts/covise/pangolin/build.covise' make[2]: *** [src/3rdparty/deskvox/virvo/virvo/CMakeFiles/virvo.dir/all] Error 2 make[2]: Leaving directory/hx/u/legts/covise/pangolin/build.covise'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/hx/u/legts/covise/pangolin/build.covise/src'
make: *** [first] Error 2

Any idea what is going on and how to fix it?

Thanks

ODDLot import or load a heightmap

@aumuell I may be missing something here. There appears to be a Wizard that can set the elevation values based on a height map. I cannot find a way to import or reference a heightmap in ODDlot. Looking at the tree view there Aerial and heightmap in the scenery system. The Load map option will only load an Aerial map for the background. Without this feature Oddlot lacks the ability to create a georeferenced road.

There is no documentation on the Wizards

error: oddlot does not exist

After the successful compilation tool oddlot, I refer to https://github.com/hbanzhaf/docker_covise to execute oddlot, prompting /home/uisee/Downloads/covise/xerusopt/bin/oddlot does not exist.
If you execute ~/Downloads/covise/bin/_exec_for_covise, it prompts /home/uisee/Downloads/covise/bin/_exec_for_covise: line 149: /home/uisee/Downloads/covise/xerusopt/bin/: Is a directory
/home/uisee/Downloads/covise/bin/_exec_for_covise: line 149: exec: /home/uisee/Downloads/covise/xerusopt/bin/: cannot execute: Is a directory.
Excuse me, is there a release version of oddlot that can be used directly?
My operating system is ubuntu16.04

Module id after restart

Restarting a module for the first time keeps the original id while additional restarts increment the module id

feature request ViewPoint.cpp : flightTime between two viewpoints proportional to flight path length beween them

die flightTime ist bisher immer konstant zwischen 2 viewpoints.

als zusätzlich feature wäre es fein, wenn man auch die flightTime proportional zur flight path length haben könnte. Auf diese Weise könnte man alle viewpoints mit der gleichen Geschwindigkeit durchfliegen.


   double thisTime = tp.tv_sec + ((float)tp.tv_usec) / 1000000.0; 

1822

1823 float lambda = (thisTime - initTime) / flightTime;
1824 //fprintf(stderr,"flyingStatus thisTime=%f initTime=%f lambda=%f\n", thisTime,initTime,lambda);
1825 if (lambda < 0)
1826 lambda = 0;

when I run the oddlot, it is always inform me that Could not load prototypes.odd

`project/covise-master/linux64opt/bin$ ./oddlot

Starting...
ODDlot: The OpenDRIVE Designer for Lanes, Objects and Tracks.

Loading file: /share/covise/prototypes/prototypes.odd
Loading file failed: /share/covise/prototypes/prototypes.odd
Loading file: /src/OpenCOVER/DrivingSim/oddlot/prototypes/prototypes.odd
Loading file failed: /src/OpenCOVER/DrivingSim/oddlot/prototypes/prototypes.odd
Loading file: prototypes/prototypes.odd
Loading file failed: prototypes/prototypes.odd
Could not load prototypes.odd
`

Isosurface

Isosurface Module does not interpolate the second dataset to the isosurface if it was executed without a second dataset first.

Configure ODDlot issue

When I try to configure ODDlot by using CMake,it comes to some problems,saying that Unknown CMake command "covise_find_package".

Covise Build Issue

I am getting the following error when trying to make on my local Ubuntu 18.04 machine and using the docker_covise build.

~/Downloads/covise/src/3rdparty/visionaray/include/visionaray/math/simd/detail/avx512/mask16.inl:63:17: error: no matching function for call to 'store(int [16], const mask16&)'
     store(arr, a);

Any ideas on what the build issue could be?

Separate OddLOT from remaining repo/tools

Have you considered developing OddLOT separately from the remaining tools? Or maybe at least releasing a standalone version of it? That would be quite useful since otherwise people often have to install multiple GB of stuff they don't require.

Error while installing ODDLOT using the docker build

I tried to install the ODDLOT on my Ubuntu 18.04 using the Docker image here: https://github.com/hbanzhaf/docker_covise
I am getting the following error. Please help me to fix this error.

-- The imported target "gdcmpap3" references the file
"/usr/bin/gdcmpap3"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/x86_64-linux-gnu/gdcm-2.8/GDCMTargets.cmake"
    but not all the files it references.

-- The imported target "gdcmpdf" references the file
"/usr/bin/gdcmpdf"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/x86_64-linux-gnu/gdcm-2.8/GDCMTargets.cmake"
    but not all the files it references.

-- Could NOT find CGNS (missing: CGNS_LIBRARY CGNS_INCLUDE_DIR)
-- Could NOT find CGNS (missing: CGNS_LIBRARY CGNS_INCLUDE_DIR)
-- Could NOT find Cg (missing: CG_LIBRARY CG_GL_LIBRARY CG_INCLUDE_DIR CG_COMPILER)
-- Could NOT find ARTOOLKIT (missing: ARTOOLKIT_AR_LIBRARY ARTOOLKIT_ARGSUB_LIBRARY ARTOOLKIT_ARVIDEO_LIBRARY ARTOOLKIT_INCLUDE_DIR ARTOOLKIT_DC1394_LIBRARY ARTOOLKIT_RAW1394_LIBRARY ARTOOLKIT_DV_LIBRARY)
-- Could NOT find JPEGTURBO (missing: TURBOJPEG_LIBRARY JPEGTURBO_INCLUDE_DIR)
-- Could NOT find VRPN (missing: VRPN_VRPN_LIBRARY VRPN_QUAT_LIBRARY VRPN_INCLUDE_DIR)
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
-- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
-- Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR)
-- Could NOT find osgParticle (missing: OSGPARTICLE_LIBRARY OSGPARTICLE_INCLUDE_DIR)
-- Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
-- Could NOT find osgSim (missing: OSGSIM_LIBRARY OSGSIM_INCLUDE_DIR)
-- Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
-- Could NOT find osgFX (missing: OSGFX_LIBRARY OSGFX_INCLUDE_DIR)
-- Could NOT find osgTerrain (missing: OSGTERRAIN_LIBRARY OSGTERRAIN_INCLUDE_DIR)
-- Could NOT find osgShadow (missing: OSGSHADOW_LIBRARY OSGSHADOW_INCLUDE_DIR)
-- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
-- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OPENSCENEGRAPH_INCLUDE_DIR OSGDB_FOUND OSGUTIL_FOUND OSGVIEWER_FOUND
OSGPARTICLE_FOUND OSGTEXT_FOUND OSGSIM_FOUND OSGGA_FOUND OSGFX_FOUND
OSGTERRAIN_FOUND OSGSHADOW_FOUND OSG_FOUND OPENTHREADS_FOUND) (Required is
at least version "3.2.0")
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindOpenSceneGraph.cmake:223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/CoviseHelperMacros.cmake:938 (FIND_PACKAGE)
src/OpenCOVER/CMakeLists.txt:122 (covise_find_package)

-- Configuring incomplete, errors occurred!
See also "/home/sl-ubuntu/Downloads/covise/bionicopt/build.covise/CMakeFiles/CMakeOutput.log".
See also "/home/sl-ubuntu/Downloads/covise/bionicopt/build.covise/CMakeFiles/CMakeError.log".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.