Skip to content

Instantly share code, notes, and snippets.

In file included from /usr/include/boost/config.hpp:61:0,
from /usr/include/boost/concept/assert.hpp:7,
from /usr/include/boost/concept_check.hpp:20,
from /home/dcoeurjo/DGtal/src/DGtal/base/Common.h:55,
from /home/dcoeurjo/3d-AT/Code/Digital/3d-at-normals-u2-v0.cpp:38:
/usr/include/boost/math/constants/constants.hpp: In static member function ‘static constexpr T boost::math::constants::detail::constant_half<T>::get(const mpl_::int_<5>&)’:
/usr/include/boost/math/constants/constants.hpp:277:3: error: unable to find numeric literal operator ‘operator""Q’
BOOST_DEFINE_MATH_CONSTANT(half, 5.000000000000000000000000000000000000e-01, "5.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e-01")
^
/usr/include/boost/math/constants/constants.hpp:277:3: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
~/Sources/dCpp/build-make/examples   master  barycenter2
x= 50.1 y= 50.1
e = 19683.3
de/dx = 396.8
de/dy = 396.8
x= 10.42 y= 10.42
e = 789.251
de/dx = 79.36
de/dy = 79.36
#include <cstdio>
#include <cstring>
#include <iostream>
#include <cmath>
#include <vector>
#include <dCpp.h>
var energy(const std::vector<double> &pointsx,
#include <cstdio>
#include <cstring>
#include <iostream>
#include <cmath>
#include <vector>
#include<dCpp.h>
var energy(const std::vector<var> &pointsx,
#include <iostream>
#include <random>
#include <complex>
#include <DGtal/base/Common.h>
#include <DGtal/helpers/StdDefs.h>
#define WITH_FFTW3
#include <DGtal/math/RealFFT.h>
#include <DGtal/images/ImageContainerBySTLVector.h>
[ 12%] Building CXX object tests/base/CMakeFiles/testCatch.dir/testCatch.cpp.o
In file included from /home/travis/build/DGtal-team/DGtal/tests/base/testCatch.cpp:33:
In file included from /home/travis/build/DGtal-team/DGtal/tests/DGtalCatch.h:10:
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1643:43: error: no type
named 'underlying_type' in namespace 'std'
static_cast<typename std::underlying_type<T>::type>(v)
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1643:37: error: expected '>'
static_cast<typename std::underlying_type<T>::type>(v)
^
testing CLA
### Keybase proof
I hereby claim:
* I am dcoeurjo on github.
* I am dcoeurjo (https://keybase.io/dcoeurjo) on keybase.
* I have a public key whose fingerprint is D4C2 7859 CB75 CF0B 6C41 DE49 274E 6AF0 FE3A AF25
To claim this, I am signing this object:
@dcoeurjo
dcoeurjo / gist:8443935
Last active January 3, 2016 09:39
build error again
[ 14%] Building CXX object CMakeFiles/benchmark.dir/src/benchmark.cc.o
[ 28%] Building CXX object CMakeFiles/benchmark.dir/src/colorprint.cc.o
[ 42%] Building CXX object CMakeFiles/benchmark.dir/src/commandlineflags.cc.o
[ 57%] Building CXX object CMakeFiles/benchmark.dir/src/sleep.cc.o
[ 71%] Building CXX object CMakeFiles/benchmark.dir/src/sysinfo.cc.o
/Users/davidcoeurjolly/local/src/benchmark/src/sysinfo.cc:256:25: error: use of undeclared identifier 'CTL_HW'
int numcpus_name[] = {CTL_HW, HW_NCPU};
^
/Users/davidcoeurjolly/local/src/benchmark/src/sysinfo.cc:256:33: error: use of undeclared identifier 'HW_NCPU'
int numcpus_name[] = {CTL_HW, HW_NCPU};
@dcoeurjo
dcoeurjo / gist:8443487
Created January 15, 2014 20:05
Build error
make
Scanning dependencies of target benchmark
[ 14%] Building CXX object CMakeFiles/benchmark.dir/src/benchmark.cc.o
In file included from /Users/xxxx/local/src/benchmark/src/benchmark.cc:15:
/Users/xxxx/local/src/benchmark/include/benchmark/benchmark.h:264:3: error: unknown type name 'pthread_t'
pthread_t thread_;
^
/Users/xxxxx/local/src/benchmark/src/benchmark.cc:1090:26: error: 'function_' is a private member of 'benchmark::internal::Benchmark'
shared_->instance->bm->function_(*this);
^