Giter Club home page Giter Club logo

medical-image-3d-visualisation-software's People

Contributors

rthomas96 avatar thibaulltt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wghou

medical-image-3d-visualisation-software's Issues

runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'

Hi,

I download and compile the source code sucessfully. But when i run the software, i got the follwoing error:

Allocating 1.79769e+308 elements for vis ...
/home/wghou/github/Medical-Image-3D-Visualisation-Software/qt/widgets/src/double_slider.cpp:158:39: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
/home/wghou/github/Medical-Image-3D-Visualisation-Software/qt/widgets/src/double_slider.cpp:159:42: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
terminate called after throwing an instance of 'std::runtime_error'
  what():  Could not initialize OpenGL functions.
Aborted (core dumped)

How to fix this error? Could you please help me. Thanks a lot!

Wenguo Hou

runtime_error: Could not initialize OpenGL functions.

Hi, everyone!

I clone the source code and install external libraries according to the BUILD2.md, I build the project secussfully. But when i run the sofrware, i got this error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Could not initialize OpenGL functions.
Aborted (core dumped)

I check the code and also my system setup, i found that this error arised from mismatch of the version of OpenGL. In the source code, the opengl 3.2 is used, but in my computer system, the opengl 3.1 is installed. So the error raised.

There may be two solutions of this error: update OpenGL to v3.2, or change the source code.

my system is Ubuntu 20.04 and i install OpenGL using the following cmd:

sudo apt-update
sudo apt-get install mesa-utils

Wenguo Hou

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.