Skip to content

Instantly share code, notes, and snippets.

@Siddharthk
Siddharthk / gist:7752389
Last active December 30, 2015 00:49
Error while using eigen
In file included from /usr/local/include/eigen3/Eigen/SparseCholesky:39,
from /usr/local/include/eigen3/Eigen/Sparse:21,
from main.cpp:4:
/usr/local/include/eigen3/Eigen/src/Core/util/Meta.h: In copy constructor ‘Eigen::SimplicialCholeskyBase<Eigen::SimplicialLDLT<Eigen::SparseMatrix<double, 0, int>, 1> >::SimplicialCholeskyBase(const Eigen::SimplicialCholeskyBase<Eigen::SimplicialLDLT<Eigen::SparseMatrix<double, 0, int>, 1> >&)’:
/usr/local/include/eigen3/Eigen/src/Core/util/Meta.h:98: error: ‘Eigen::internal::noncopyable::noncopyable(const Eigen::internal::noncopyable&)’ is private
/usr/local/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h:37: error: within this context
In file included from /usr/local/include/eigen3/Eigen/SparseCholesky:39,
from /usr/local/include/eigen3/Eigen/Sparse:21,
from main.cpp:4:
/usr/local/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h: In copy constructor ‘Eigen::SimplicialLDLT<Eigen::S
@Siddharthk
Siddharthk / gist:7545566
Created November 19, 2013 13:44
'git rebase -i HEAD~91' output
pick 4ebbf69 switched to Input/Output Array in gpu::add
pick 5330faf switched to Input/Output Array in gpu::subtract
pick ffa25be added arithm_op function to reduce code duplication
pick 4595e3a switched to Input/Output Array in gpu::multiply
pick 3ee12cb switched to Input/Output Array in gpu::divide
pick 5ec8c51 switched to Input/Output Array in gpu::absdiff
pick b866890 switched to Input/Output Array in abs, sqr, sqrt, exp, log, pow
pick 04a1a6d switched to Input/Output Array in gpu::compare
pick d81f54d switched to Input/Output Array in bitwise logical operations
pick f2aa6eb switched to Input/Output Array in shift operations
/usr/local/include/glib-2.0/glib/gbase64.h:32: error: ‘gsize’ does not name a type
/usr/local/include/glib-2.0/glib/gbase64.h:38: error: ‘gsize’ does not name a type
/usr/local/include/glib-2.0/glib/gbase64.h:43: error: ‘gsize’ has not been declared
/usr/local/include/glib-2.0/glib/gbase64.h:44: error: ‘gsize’ does not name a type
/usr/local/include/glib-2.0/glib/gbase64.h:50: error: ‘gsize’ has not been declared
/usr/local/include/glib-2.0/glib/gbase64.h:52: error: ‘gsize’ has not been declared
In file included from /usr/local/include/glib-2.0/glib.h:39,
from /usr/local/include/glib-2.0/gobject/gbinding.h:30,
from /usr/local/include/glib-2.0/glib-object.h:25,
from /usr/local/include/glib-2.0/gio/gioenums.h:30,
@Siddharthk
Siddharthk / gist:7373556
Created November 8, 2013 16:21
Make error
[ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window.cpp.o
[ 15%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_gtk.cpp.o
/home/siddharth/opencv/modules/highgui/src/window_gtk.cpp:48:21: error: gtk/gtk.h: No such file or directory
/home/siddharth/opencv/modules/highgui/src/window_gtk.cpp:49:28: error: gdk/gdkkeysyms.h: No such file or directory
/home/siddharth/opencv/modules/highgui/src/window_gtk.cpp:50:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
/home/siddharth/opencv/modules/highgui/src/window_gtk.cpp:73: error: ‘GtkWidget’ does not name a type
/home/siddharth/opencv/modules/highgui/src/window_gtk.cpp:81: error: ‘GtkWidgetClass’ does not name a type
/home/siddharth/opencv/modules/highgui/src/window_gtk.cpp:86: error: expected constructor, destructor, or type conversion before ‘*’ token
/home/siddharth/opencv/modules/highgui/src/window_gtk.cpp:99: error: ‘GType’ does not name a type
/home/siddharth/opencv/modules/highgui/src/win
@Siddharthk
Siddharthk / gist:7372347
Created November 8, 2013 15:10
After applying patch output of cmake
-- Detected version of GNU GCC: 44 (404)
-- Found ZLIB: /usr/lib/libz.so (found suitable version "1.2.3.3", required is "1.2.3")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.3.3")
-- Found OpenEXR: /usr/lib/libIlmImf.so
check_module gtk+-2.0 PKG_CONFIG_FOUND
check_module gthread-2.0 PKG_CONFIG_FOUND
check_module gstreamer-base-0.10 PKG_CONFIG_FOUND
check_module gstreamer-video-0.10 PKG_CONFIG_FOUND
check_module gstreamer-app-0.10 PKG_CONFIG_FOUND
check_module gstreamer-riff-0.10 PKG_CONFIG_FOUND
@Siddharthk
Siddharthk / gist:7372291
Created November 8, 2013 15:05
After applying patch
# This is the CMakeCache file.
# For build in directory: /home/siddharth/opencv_temp/opencv
# It was generated by CMake: /home/siddharth/cmake-2.8.8-Linux-i386/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
@Siddharthk
Siddharthk / gist:7371380
Created November 8, 2013 13:57
CMakeCache.txt after update
# This is the CMakeCache file.
# For build in directory: /home/siddharth/opencv
# It was generated by CMake: /home/siddharth/cmake-2.8.8-Linux-i386/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
@Siddharthk
Siddharthk / gist:7371352
Created November 8, 2013 13:55
CMakeCache.txt before update
# This is the CMakeCache file.
# For build in directory: /home/siddharth/Desktop/opencv
# It was generated by CMake: /home/siddharth/cmake-2.8.8-Linux-i386/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
@Siddharthk
Siddharthk / gist:7276470
Last active December 27, 2015 05:49
Cmake able to find both gtk and ffmpeg before update
-- The CXX compiler identification is GNU 4.4.3
-- The C compiler identification is GNU 4.4.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
@Siddharthk
Siddharthk / gist:7142572
Last active December 26, 2015 11:19
Cmake not able to find gtk-2.0 after update
-- The CXX compiler identification is GNU 4.4.3
-- The C compiler identification is GNU 4.4.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done