GithubHelp home page GithubHelp logo

eyescale / vmmlib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmml/vmmlib

5.0 5.0 14.0 6.06 MB

A templatized C++ vector and matrix math library

Home Page: http://vmml.github.io/vmmlib/

License: Other

CMake 1.64% C++ 98.36%

vmmlib's People

Contributors

adevress avatar biddisco avatar chevtche avatar cstalder avatar dardok avatar delalond avatar delyas avatar eile avatar favreau avatar l3m avatar marwan-abdellah avatar maxmah avatar ptoharia avatar purplekarrot avatar rballester avatar seifertm avatar steiner- avatar susuter avatar tmarrinan avatar tribal-tec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vmmlib's Issues

Release taball for 1.11.0

I see from git log that 1.11.0 was released 30/6/2016. However there is no 1.11.0 tarball available from Releases tab, where latest available is 1.10.0.

compilation error vector.hpp

Brion does not compile with GCC 4.9.4 due to a missing header on vmmlib.

The Vector template in vmmlib/vector.hpp use std::runtime_error without including explicitely stdexcept

[  7%] Building CXX object vmmlib/tests/CMakeFiles/matrix.dir/matrix.cpp.o
In file included from /tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/aabb.hpp:35:0,
                 from /tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/tests/aabb.cpp:29:
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp: In member function 'T& vmml::vector<M, T>::at(size_t)':
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp:612:15: error: 'runtime_error' is not a member of 'std'
         throw std::runtime_error( "at() - index out of bounds" );
               ^
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp: In member function 'const T& vmml::vector<M, T>::at(size_t) const':
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp:621:15: error: 'runtime_error' is not a member of 'std'
         throw std::runtime_error( "at() - index out of bounds" );
               ^
In file included from /tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/quaternion.hpp:39:0,
                 from /tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/tests/quaternion.cpp:29:
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp: In member function 'T& vmml::vector<M, T>::at(size_t)':
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp:612:15: error: 'runtime_error' is not a member of 'std'
         throw std::runtime_error( "at() - index out of bounds" );
               ^
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp: In member function 'const T& vmml::vector<M, T>::at(size_t) const':
/tmp/nix-build-brion-1.6.0-DEV.drv-0/Brion-f936a45/vmmlib/vmmlib/vector.hpp:621:15: error: 'runtime_error' is not a member of 'std'
         throw std::runtime_error( "at() - index out of bounds" );
           ^

vmmlib lacks of find_package

Vmmlib is the only component in the BBP/viz stack that does not install a cmake Target file by default.

Due to this it cannot be discovered automatically through common_package and is downloaded systematically, even if already installed or present inside the CMAKE_PREFIX_PATH

As vmmlib is an header only library and the target generation for header only library is buggy under cmake 2.8, would it be possible to include directly a find_package module file for vmmlib in CMake / Common ?

Adev

CMake/common submodule "no such remote ref" error

Hello,

A recursive git clone of vmmlib appears to emit a "no such remote ref" error:

error: no such remote ref e1a5560e7d1dee3156f4bf988a40ffa025ddacbc

This behaviour seems to be a relatively recent development. Here is a simple repro:

/tmp $ git clone https://github.com/Eyescale/vmmlib.git --recursive
Cloning into 'vmmlib'...
remote: Counting objects: 9743, done.
remote: Total 9743 (delta 0), reused 0 (delta 0), pack-reused 9743
Receiving objects: 100% (9743/9743), 6.05 MiB | 1.32 MiB/s, done.
Resolving deltas: 100% (5455/5455), done.
Submodule 'CMake/common' (https://github.com/Eyescale/CMake) registered for path 'CMake/common'
Cloning into '/tmp/vmmlib/CMake/common'...
error: no such remote ref e1a5560e7d1dee3156f4bf988a40ffa025ddacbc
Fetched in submodule path 'CMake/common', but it did not contain e1a5560e7d1dee3156f4bf988a40ffa025ddacbc. Direct fetching of that commit failed
/tmp $ cd vmmlib/CMake
/tmp/vmmlib/CMake $ git ls-tree master
100644 blob afca553b3bd7aaedba1d8d7b397673ccbf425188    CPackConfig.cmake
160000 commit e1a5560e7d1dee3156f4bf988a40ffa025ddacbc  common
/tmp/vmmlib/CMake $

Is there something I should do on my side to resolve this error?

Thank you.

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.