techoe / ceres-solver

Automatically exported from code.google.com/p/ceres-solver
Other
0 stars 0 forks source link

PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND: not found #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 
Thank you very much for open sourcing Ceres. I'm currently attempting 
to build the library. All external libraries have been correctly 
detected. However the build fails (please see below). Thank you in 
advance for any suggestions! 

cmake ../ceres_solver/ -DEIGEN_INCLUDE=/usr/include/eigen3 - 
DGFLAGS_INCLUDE=/project/sean/code/gflags/include/gflags/ - 
DGFLAGS_LIB=/project/sean/code/gflags/lib/ -DGLOG_INCLUDE=/project/ 
sean/code/glog/include/glog/ -DGLOG_LIB=/project/sean/code/glog/lib/ 
-- Found AMD library: /usr/lib/libamd.so 
-- Found AMD header in: /usr/include/suitesparse 
-- Check for CAMD 
-- Found CAMD library: /usr/lib/libcamd.so 
-- Found CAMD header in: /usr/include/suitesparse 
-- Check for COLAMD 
-- Found COLAMD library: /usr/lib/libcolamd.so 
-- Found COLAMD header in: /usr/include/suitesparse 
-- Check for CCOLAMD 
-- Found CCOLAMD library: /usr/lib/libccolamd.so 
-- Found CCOLAMD header in: /usr/include/suitesparse 
-- Check for CHOLMOD 
-- Found CHOLMOD library: /usr/lib/libcholmod.so 
-- Found CHOLMOD header in: /usr/include/suitesparse 
-- Check for METIS (optional) 
   Can't find METIS; disabling. (part of suitesparse.) 
-- Check for LAPACK 
-- Found LAPACK library: /usr/lib/liblapack.so 
-- Google Flags disabled; no tests or tools will be built! 
-- Check for Google Log 
-- Found Google Log library: /project/sean/code/glog/lib 
-- Found Google Log header in: /project/sean/code/glog/include/glog 
-- Check for Eigen 3.0 
-- Found Eigen 3.0: /usr/include/eigen3 
-- Found OpenMP. 
-- Configuring done 
make -j3 
[  1%] Running C++ protocol buffer compiler on matrix.proto 
[  2%] [  3%] /bin/sh: PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND: not found 
make[2]: *** [internal/ceres/matrix.pb.cc] Error 127 
make[1]: *** [internal/ceres/CMakeFiles/ceres.dir/all] Error 2 
make[1]: *** Waiting for unfinished jobs.... 
Building CXX object internal/ceres/CMakeFiles/test_util.dir/ 
test_util.o 
Building CXX object internal/ceres/CMakeFiles/gtest.dir/gmock_main.o 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc:34:26: 
error: glog/logging.h: No such file or directory 
/project/sean/code/ceres_solver/internal/ceres/gmock_main.cc:33:27: 
error: gflags/gflags.h: No such file or directory 
/project/sean/code/ceres_solver/internal/ceres/gmock_main.cc:34:26: 
error: glog/logging.h: No such file or directory 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc: In 
function ‘bool ceres::internal::ExpectClose(double, double, double)’: 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc:50: error: 
‘VLOG’ was not declared in this scope 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc: In 
function ‘void ceres::internal::ExpectArraysCloseUptoScale(int, const 
double*, const double*, double)’: 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc:62: error: 
‘CHECK_GT’ was not declared in this scope 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc:63: error: 
‘CHECK’ was not declared in this scope 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc:85: error: 
‘CHECK_NE’ was not declared in this scope 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc: In 
function ‘void ceres::internal::ExpectArraysClose(int, const double*, 
const double*, double)’: 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc:100: 
error: ‘CHECK_GT’ was not declared in this scope 
/project/sean/code/ceres_solver/internal/ceres/test_util.cc:101: 
error: ‘CHECK’ was not declared in this scope 
make[2]: *** [internal/ceres/CMakeFiles/test_util.dir/test_util.o] 
Error 1 
make[1]: *** [internal/ceres/CMakeFiles/test_util.dir/all] Error 2 
/project/sean/code/ceres_solver/internal/ceres/gmock_main.cc:41: 
error: expected constructor, destructor, or type conversion before ‘(’ 
token 
/project/sean/code/ceres_solver/internal/ceres/gmock_main.cc: In 
function ‘int main(int, char**)’: 
/project/sean/code/ceres_solver/internal/ceres/gmock_main.cc:55: 
error: ‘google’ has not been declared 
/project/sean/code/ceres_solver/internal/ceres/gmock_main.cc:56: 
error: ‘google’ has not been declared 
make[2]: *** [internal/ceres/CMakeFiles/gtest.dir/gmock_main.o] Error 
1 
make[1]: *** [internal/ceres/CMakeFiles/gtest.dir/all] Error 2 
make: *** [all] Error 2

Original issue reported on code.google.com by sean.j.m...@gmail.com on 2 May 2012 at 4:23

GoogleCodeExporter commented 9 years ago
I am able to replicate this bug. Looking at it now.

Original comment by sameerag...@google.com on 3 May 2012 at 4:15

GoogleCodeExporter commented 9 years ago
So there is something odd going on here. On linux things work, on macos I get 
similar problems. This looks like a cmake issue.

Original comment by sameerag...@google.com on 9 May 2012 at 3:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi 
I'am facing problem installing the library

root@ajay-desktop:~/ceres-bin\>cmake ../ceres-solver -DGFLAGS_LIB=/usr/lib 
-DGFLAGS_INCLUDE=/usr/include -DGLOG_LIB=/usr/local/lib
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- 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 AMD
-- Found AMD library: /usr/lib/libamd.so
-- Found AMD header in: /usr/include/suitesparse
-- Check for CAMD
-- Found CAMD library: /usr/lib/libcamd.so
-- Found CAMD header in: /usr/include/suitesparse
-- Check for COLAMD
-- Found COLAMD library: /usr/lib/libcolamd.so
-- Found COLAMD header in: /usr/include/suitesparse
-- Check for CCOLAMD
-- Found CCOLAMD library: /usr/lib/libccolamd.so
-- Found CCOLAMD header in: /usr/include/suitesparse
-- Check for CHOLMOD
-- Found CHOLMOD library: /usr/lib/libcholmod.so
-- Found CHOLMOD header in: /usr/include/suitesparse
-- Check for METIS (optional)
-- Found METIS library: /usr/lib/libmetis.so
-- Found BLAS library: /usr/lib/libblas.so
-- Found LAPACK library: /usr/lib/liblapack.so
-- Found all SuiteSparse dependencies. Building with SuiteSparse
-- Check for Google Flags
-- Found Google Flags library: /usr/lib
-- Found Google Flags header in: /usr/include
-- Check for Google Log
-- Found Google Log library: /usr/local/lib
-- Found Google Log header in: /usr/local/include
-- Check for Eigen 3.0
-- Found Eigen 3.0: /usr/include/eigen3
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Found OpenMP.
-- Found PROTOBUF: /usr/lib/libprotobuf.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
WARNING: Target "array_utils_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "array_utils_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "autodiff_cost_function_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "autodiff_cost_function_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "autodiff_test" requests linking to directory "/usr/local/lib". 
 Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "autodiff_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "block_random_access_dense_matrix_test" requests linking to 
directory "/usr/local/lib".  Targets may link only to libraries.  CMake is 
dropping the item.
WARNING: Target "block_random_access_dense_matrix_test" requests linking to 
directory "/usr/lib".  Targets may link only to libraries.  CMake is dropping 
the item.
WARNING: Target "block_random_access_sparse_matrix_test" requests linking to 
directory "/usr/local/lib".  Targets may link only to libraries.  CMake is 
dropping the item.
WARNING: Target "block_random_access_sparse_matrix_test" requests linking to 
directory "/usr/lib".  Targets may link only to libraries.  CMake is dropping 
the item.
WARNING: Target "block_sparse_matrix_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "block_sparse_matrix_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "canonical_views_clustering_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "canonical_views_clustering_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "ceres" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "ceres" requests linking to directory "/usr/lib".  Targets may 
link only to libraries.  CMake is dropping the item.
WARNING: Target "compressed_row_sparse_matrix_test" requests linking to 
directory "/usr/local/lib".  Targets may link only to libraries.  CMake is 
dropping the item.
WARNING: Target "compressed_row_sparse_matrix_test" requests linking to 
directory "/usr/lib".  Targets may link only to libraries.  CMake is dropping 
the item.
WARNING: Target "conditioned_cost_function_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "conditioned_cost_function_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "corrector_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "corrector_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "dense_sparse_matrix_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "dense_sparse_matrix_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "evaluator_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "evaluator_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "gradient_checking_cost_function_test" requests linking to 
directory "/usr/local/lib".  Targets may link only to libraries.  CMake is 
dropping the item.
WARNING: Target "gradient_checking_cost_function_test" requests linking to 
directory "/usr/lib".  Targets may link only to libraries.  CMake is dropping 
the item.
WARNING: Target "graph_algorithms_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "graph_algorithms_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "graph_test" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "graph_test" requests linking to directory "/usr/lib".  Targets 
may link only to libraries.  CMake is dropping the item.
WARNING: Target "gtest" requests linking to directory "/usr/lib".  Targets may 
link only to libraries.  CMake is dropping the item.
WARNING: Target "gtest" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "implicit_schur_complement_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "implicit_schur_complement_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "iterative_schur_complement_solver_test" requests linking to 
directory "/usr/local/lib".  Targets may link only to libraries.  CMake is 
dropping the item.
WARNING: Target "iterative_schur_complement_solver_test" requests linking to 
directory "/usr/lib".  Targets may link only to libraries.  CMake is dropping 
the item.
WARNING: Target "jet_test" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "jet_test" requests linking to directory "/usr/lib".  Targets 
may link only to libraries.  CMake is dropping the item.
WARNING: Target "levenberg_marquardt_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "levenberg_marquardt_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "local_parameterization_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "local_parameterization_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "loss_function_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "loss_function_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "normal_prior_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "normal_prior_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "numeric_diff_cost_function_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "numeric_diff_cost_function_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "parameter_block_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "parameter_block_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "partitioned_matrix_view_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "partitioned_matrix_view_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "problem_test" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "problem_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "residual_block_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "residual_block_test" requests linking to directory "/usr/lib". 
 Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "residual_block_utils_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "residual_block_utils_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "rotation_test" requests linking to directory "/usr/local/lib". 
 Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "rotation_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "runtime_numeric_diff_cost_function_test" requests linking to 
directory "/usr/local/lib".  Targets may link only to libraries.  CMake is 
dropping the item.
WARNING: Target "runtime_numeric_diff_cost_function_test" requests linking to 
directory "/usr/lib".  Targets may link only to libraries.  CMake is dropping 
the item.
WARNING: Target "schur_complement_solver_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "schur_complement_solver_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "schur_eliminator_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "schur_eliminator_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "schur_ordering_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "schur_ordering_test" requests linking to directory "/usr/lib". 
 Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "solver_impl_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "solver_impl_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "symmetric_linear_solver_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "symmetric_linear_solver_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "system_test" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "system_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "triplet_sparse_matrix_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "triplet_sparse_matrix_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "unsymmetric_linear_solver_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "unsymmetric_linear_solver_test" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "visibility_based_preconditioner_test" requests linking to 
directory "/usr/local/lib".  Targets may link only to libraries.  CMake is 
dropping the item.
WARNING: Target "visibility_based_preconditioner_test" requests linking to 
directory "/usr/lib".  Targets may link only to libraries.  CMake is dropping 
the item.
WARNING: Target "visibility_test" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "visibility_test" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "bundle_adjuster" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "bundle_adjuster" requests linking to directory "/usr/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "circle_fit" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "circle_fit" requests linking to directory "/usr/lib".  Targets 
may link only to libraries.  CMake is dropping the item.
WARNING: Target "powell" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "powell" requests linking to directory "/usr/lib".  Targets may 
link only to libraries.  CMake is dropping the item.
WARNING: Target "quadratic" requests linking to directory "/usr/local/lib".  
Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "quadratic" requests linking to directory "/usr/lib".  Targets 
may link only to libraries.  CMake is dropping the item.
WARNING: Target "quadratic_auto_diff" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "quadratic_auto_diff" requests linking to directory "/usr/lib". 
 Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "quadratic_numeric_diff" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "quadratic_numeric_diff" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "simple_bundle_adjuster" requests linking to directory 
"/usr/local/lib".  Targets may link only to libraries.  CMake is dropping the 
item.
WARNING: Target "simple_bundle_adjuster" requests linking to directory 
"/usr/lib".  Targets may link only to libraries.  CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/ajay/ceres-bin
root@ajay-desktop:~/ceres-bin\>make all
Scanning dependencies of target test_util
[  1%] Building CXX object internal/ceres/CMakeFiles/test_util.dir/test_util.o
Linking CXX static library libtest_util.a
[  1%] Built target test_util
Scanning dependencies of target gtest
[  2%] Building CXX object internal/ceres/CMakeFiles/gtest.dir/gmock_gtest_all.o
[  3%] Building CXX object internal/ceres/CMakeFiles/gtest.dir/gmock_main.o
/home/ajay/ceres-solver/internal/ceres/gmock_main.cc:33:27: error: 
gflags/gflags.h: No such file or directory
/home/ajay/ceres-solver/internal/ceres/gmock_main.cc:41: error: expected 
constructor, destructor, or type conversion before ‘(’ token
/home/ajay/ceres-solver/internal/ceres/gmock_main.cc: In function ‘int 
main(int, char**)’:
/home/ajay/ceres-solver/internal/ceres/gmock_main.cc:55: error: 
‘ParseCommandLineFlags’ is not a member of ‘google’
make[2]: *** [internal/ceres/CMakeFiles/gtest.dir/gmock_main.o] Error 1
make[1]: *** [internal/ceres/CMakeFiles/gtest.dir/all] Error 2
make: *** [all] Error 2

Original comment by ajay.raw...@gmail.com on 22 May 2012 at 4:30

GoogleCodeExporter commented 9 years ago
Ajay,
this is the wrong issue thread. 

your -DGLOG_LIB and -DGFLAG_LIB flags need to point to the actual library (.a) 
file. Also if they are actually in /usr/lib, cmake should be able to find them.

Original comment by sameerag...@google.com on 22 May 2012 at 5:25

GoogleCodeExporter commented 9 years ago
Sean,
could you try the latest release to see if you are still getting this problem? 
I believe the latest cmake updates should fix this.
Sameer

Original comment by sameerag...@google.com on 10 Jun 2012 at 6:27

GoogleCodeExporter commented 9 years ago
Closing this as linking on linux and macos works fine.

Original comment by sameerag...@google.com on 17 Aug 2012 at 9:33