It is currently Wed Jul 15, 2020 9:35 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Dec 22, 2017 2:48 am 
Offline

Joined: Sun Dec 17, 2017 7:10 pm
Posts: 10
Hi,

I have installed all supporting packages successfully and cmake can detect these packages smoothly. But when I use make to compile galtoolslib-1.0.855-Source I got the following error:

============================================

In file included from /home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/libskymap/BaseSky.cc:3:0:
/home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/libskymap/SparseSky.h: In member function ‘virtual T SM::SparseSky<T>::ApplyFunctionAccumulate(const std::function<T(T&, long unsigned int)>&)’:
/home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/libskymap/SparseSky.h:631:50: error: cannot call member function ‘I T_Healpix_Base<I>::Npix() const [with I = int]’ without object
const auto mapSize = HealpixBaseExtended::Npix();
~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/libskymap/SparseSky.h: In member function ‘virtual T SM::SparseSky<T>::ApplyFunctionAccumulate(const std::function<T(const T&, long unsigned int)>&) const’:
/home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/libskymap/SparseSky.h:660:50: error: cannot call member function ‘I T_Healpix_Base<I>::Npix() const [with I = int]’ without object
const auto mapSize = HealpixBaseExtended::Npix();
~~~~~~~~~~~~~~~~~~~~~~~~~^~
make[2]: *** [libskymap/CMakeFiles/skymap.dir/build.make:183: libskymap/CMakeFiles/skymap.dir/BaseSky.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:196: libskymap/CMakeFiles/skymap.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

============================================

Any idea?


Top
 Profile  
 
PostPosted: Fri Dec 22, 2017 3:03 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 60
Location: Stanford
What compiler are you using? This code has compiled fine with gcc.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
PostPosted: Fri Dec 22, 2017 6:06 am 
Offline

Joined: Sun Dec 17, 2017 7:10 pm
Posts: 10
Seems like c++ since the last part of cmake output is

==========================================

-- Using CXX flags -std=c++11 -fopenmp -g -pipe -O3 -Wall for compiler /usr/bin/c++
-- Using Fortran flags -fopenmp -g -pipe -O3 -Wall for compiler /usr/bin/gfortran
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
compile_result='TRUE'
run_result='0'
compile_output='Change Dir: /home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_34bff/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_34bff.dir/build.make CMakeFiles/cmTC_34bff.dir/build
gmake[1]: Entering directory '/home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_34bff.dir/regex.cxx.o
/usr/bin/c++ -std=c++11 -fopenmp -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_34bff.dir/regex.cxx.o -c /home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/build/CMakeFiles/CMakeTmp/regex.cxx
Linking CXX executable cmTC_34bff
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_34bff.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -fopenmp -O2 -DNDEBUG -rdynamic CMakeFiles/cmTC_34bff.dir/regex.cxx.o -o cmTC_34bff
gmake[1]: Leaving directory '/home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/build/CMakeFiles/CMakeTmp'
'
run_output=''
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gesf/download/CosmicRay/GALPROP/galtoolslib-1.0.855-Source/build

========================

how to tell cmake to modify it?


Top
 Profile  
 
PostPosted: Fri Dec 22, 2017 6:11 am 
Offline

Joined: Sun Dec 17, 2017 7:10 pm
Posts: 10
I used the following for galtoolslib,

cmake ../ -DCMAKE_INSTALL_PREFIX=/home/gesf -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc

But the problem still remains. Problem from the Healpix side?


Top
 Profile  
 
PostPosted: Fri Dec 22, 2017 7:17 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 60
Location: Stanford
What version is the compiler? Run g++ --version. You could also try changing
HealpixBaseExtended::Npix() to Npix().

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
PostPosted: Fri Dec 22, 2017 11:12 pm 
Offline

Joined: Sun Dec 17, 2017 7:10 pm
Posts: 10
I'm using g++ (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2).

After changing HealpixBaseExtended::Npix() to Npix(), it does compile through. Thanks.


Top
 Profile  
 
PostPosted: Sat Dec 23, 2017 4:03 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 60
Location: Stanford
I have never tried to compile with version 7 of the gcc suite. Glad the modifications worked, not sure why it didn't work before because the code should be equivalent.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
PostPosted: Sat Dec 23, 2017 4:08 am 
Offline

Joined: Sun Dec 17, 2017 7:10 pm
Posts: 10
Althought I have compiled through, there is not GALDEF & FITS data files for v56. I have tried with v54 data files, including those in the ISRF folder, but it doesn't work through. Can you prepare some these and make it publicly available? Thanks.


Top
 Profile  
 
PostPosted: Sat Dec 23, 2017 5:34 am 
Offline

Joined: Sun Dec 17, 2017 7:10 pm
Posts: 10
Never mind. I have solved this issue, see

viewtopic.php?f=3&t=239&p=792#p792


Top
 Profile  
 
PostPosted: Sat Dec 23, 2017 7:50 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 60
Location: Stanford
Version 56 should be backwards compatible with v54, but that has not been fully tested.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
PostPosted: Tue Jul 24, 2018 1:37 am 
Offline

Joined: Mon Jun 04, 2018 12:44 am
Posts: 6
hi everyone i when i install galtoolslib in make step, i have met some different problem ,here is the output:

LINUX:/usr/local/src/galtoolslib/build$ sudo make
[ 18%] Built target utils
[ 27%] Built target galstruct
[ 28%] Building CXX object libskymap/CMakeFiles/skymap.dir/HealpixBaseExtended.cc.o
/usr/local/src/galtoolslib/libskymap/HealpixBaseExtended.cc:16:5: error: specializing member ‘T_Healpix_Base<int>::ring_above’ requires ‘template<>’ syntax
int Healpix_Base::ring_above (double z) const
^~~~~~~~~~~~
In file included from /usr/local/src/galtoolslib/libskymap/HealpixBaseExtended.h:10:0,
from /usr/local/src/galtoolslib/libskymap/HealpixBaseExtended.cc:1:
/usr/local/src/galtoolslib/utils/healpix_base.h:60:14: warning: inline function ‘I T_Healpix_Base<I>::ring_above(double) const [with I = int]’ used but never defined
inline I ring_above (double z) const;
^~~~~~~~~~
libskymap/CMakeFiles/skymap.dir/build.make:86: recipe for target 'libskymap/CMakeFiles/skymap.dir/HealpixBaseExtended.cc.o' failed
make[2]: *** [libskymap/CMakeFiles/skymap.dir/HealpixBaseExtended.cc.o] Error 1
CMakeFiles/Makefile2:195: recipe for target 'libskymap/CMakeFiles/skymap.dir/all' failed
make[1]: *** [libskymap/CMakeFiles/skymap.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
can some one help me?
thanks a lot


Top
 Profile  
 
PostPosted: Tue Jul 24, 2018 8:59 pm 
Offline

Joined: Mon Mar 31, 2014 9:14 pm
Posts: 12
I think your path for Healpix is very strange!
Please check where exactly is your healpix_base.h file is located. From the output you posted
'''
/usr/local/src/galtoolslib/utils/healpix_base.h:60:14: warning: inline function ‘I T_Healpix_Base<I>::ring_above(double) const [with I = int]’ used but never defined
inline I ring_above (double z) const;

'''
it seems like the code is looking for healpix_base.h inside the galtoolslib/utils directory. I'm pretty sure if you extract the tarfile available in the GALPROP download section, inside utils (under galtoolslib) you won't have healpix_base.h

I show you a sample output for successful compilation
'''
[ 28%] Building CXX object libskymap/CMakeFiles/skymap.dir/Coordinate.cc.o
[ 30%] Building CXX object libskymap/CMakeFiles/skymap.dir/HealpixBaseExtended.cc.o
In file included from /home/suvo/galprop-56_galactic_center/tarfiles/galtoolslib-1.0.855-Source/libskymap/HealpixBaseExtended.h:10:0,
from /home/suvo/galprop-56_galactic_center/tarfiles/galtoolslib-1.0.855-Source/libskymap/HealpixBaseExtended.cc:1:
/home/suvo/galprop-56_galactic_center/tarfiles/Healpix_3.31/src/cxx/generic_gcc/include/healpix_base.h:60:14: warning: inline function ‘I T_Healpix_Base<I>::ring_above(double) const [with I = int]’ used but never defined [enabled by default]
inline I ring_above (double z) const;
^
[ 32%] Building CXX object libskymap/CMakeFiles/skymap.dir/Region.cc.o

'''
Header files should be located inside the include directory of where you have built Healpix. Either you didn't built it properly or your path for Healpix in the galtoolslib configuration is wrong.

I believe this is the issue.


Top
 Profile  
 
PostPosted: Tue Apr 09, 2019 12:52 am 
Offline

Joined: Mon Jun 04, 2018 12:44 am
Posts: 6
yes, it is the problem about the link to healpix libraries.
I set the part of healpix by hand in my CMakeCache.txt like
Quote:
//Path to a file.
HEALPix_INCLUDE_DIR:PATH=/home/congyanping/Software/healpix/Healpix_311/include

//Location where Healpix is installed
HEALPix_PREFIX:PATH=/home/congyanping/Software/healpix/Healpix_311

//Path to a library.
HEALPix_c_utils:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/c_utils

//Path to a library.
HEALPix_cxxsupport:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/cxxsupport

//Path to a library.
HEALPix_fftpack:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/libfftpack

//Path to a library.
HEALPix_healpix_cxx:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/healpy/healpixcxx

//Path to a library.
HEALPix_psht:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/f90/psht

//Path to a library.
HEALPix_sharp:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/f90/sharp

but i have the warnning,
Quote:
run_output=''
-- Configuring done
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/healpy/healpixcxx". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/f90/sharp". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/c_utils". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/libfftpack". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/cxxsupport". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/healpy/healpixcxx". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/f90/sharp". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/c_utils". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/libfftpack". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "skymap" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/cxxsupport". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testBaseSkyFitsIO" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/healpy/healpixcxx". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testBaseSkyFitsIO" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/f90/sharp". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testBaseSkyFitsIO" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/c_utils". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testBaseSkyFitsIO" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/libfftpack". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testBaseSkyFitsIO" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/cxxsupport". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertWCStoFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/healpy/healpixcxx". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertWCStoFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/f90/sharp". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertWCStoFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/c_utils". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertWCStoFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/libfftpack". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertWCStoFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/cxxsupport". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertToFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/healpy/healpixcxx". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertToFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/f90/sharp". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertToFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/c_utils". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertToFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/libfftpack". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "convertToFullSky" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/cxxsupport". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testInterpolationAndConversion" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/healpy/healpixcxx". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testInterpolationAndConversion" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/f90/sharp". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testInterpolationAndConversion" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/c_utils". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testInterpolationAndConversion" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/libfftpack". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "testInterpolationAndConversion" requests linking to directory "/home/congyanping/Software/healpix/Healpix_311/src/cxx/cxxsupport". Targets may link only to libraries. CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/congyanping/Software/galtoolslib/galtoolslib/build

this lead to the error when i do the make step, beacause it can't link to the right place in skymap dir, so it can't find the right file pointing.h in the dir of /home/congyanping/Software/healpix/Healpix_311/src/cxx/generic_gcc/include/pointing.h
the output of make is
Quote:
[ 18%] Built target utils
[ 27%] Built target galstruct
[ 28%] Building CXX object libskymap/CMakeFiles/skymap.dir/Coordinate.cc.o
In file included from /home/congyanping/Software/galtoolslib/galtoolslib/libskymap/Coordinate.cc:1:0:
/home/congyanping/Software/galtoolslib/galtoolslib/libskymap/Coordinate.h:4:10: fatal error: pointing.h: 没有那个文件或目录
#include "pointing.h"
^~~~~~~~~~~~
compilation terminated.
libskymap/CMakeFiles/skymap.dir/build.make:62: recipe for target 'libskymap/CMakeFiles/skymap.dir/Coordinate.cc.o' failed
make[2]: *** [libskymap/CMakeFiles/skymap.dir/Coordinate.cc.o] Error 1
CMakeFiles/Makefile2:195: recipe for target 'libskymap/CMakeFiles/skymap.dir/all' failed
make[1]: *** [libskymap/CMakeFiles/skymap.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

can someone puts the right link to healpix dir in CMakeCache.txt?
any help would be appreciated.


Top
 Profile  
 
PostPosted: Thu Apr 18, 2019 4:39 am 
Offline

Joined: Mon Mar 31, 2014 9:14 pm
Posts: 12
Sorry to be back late. As you can see from the output that Cmake wants to link to libraries but failed to find them.
It's because your paths for Healpix libraries in the CMakeCache.txt are wrong.

If you go inside ~/src/cxx/cxxsupport you won't find any libraries. The library files end with .a (archived libraries), .la(text files used by GNU libtools package to describe the files for corresponding libraries), .so (dynamic libraries).

You need to configure Healpix, start with ./configure inside the Healpix directory.
I usually configure C++ files (comes up as choice 4). During this you need to link to cfitsio include and lib directory (this will naturally show up as options, so no worries :D )

After you configure, run make and make test. Since You are using galprop-56, Healpix-3.31 works smooth as tennessee whiskey.

Then these libraries (libcxxsupport.a, etc..) will show up in the ~/src/cxx/generic_gcc/lib directory.

Hopefully it helps.
Cheers ! 8)


Top
 Profile  
 
PostPosted: Mon Apr 22, 2019 1:31 am 
Offline

Joined: Mon Jun 04, 2018 12:44 am
Posts: 6
:| Thank you very much, you helped me a lot.
i have re-configured the fourth item about C++ in ./configure of Healpix.
then i have the file in the dir of ~/src/cxx/generic_gcc/lib:

Quote:
libc_utils.a libcxxsupport.a libfftpack.a libhealpix_cxx.a libsharp.a


then I realized that the correct file address that healpix needs to link in the CMakeCache.txt file should look like this

Quote:
//Path to a file.
HEALPix_INCLUDE_DIR:PATH=/home/congyanping/Software/healpix/Healpix_311/include

//Location where Healpix is installed
HEALPix_PREFIX:PATH=/home/congyanping/Software/healpix/Healpix_311

//Path to a library.
HEALPix_c_utils:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/generic_gcc/lib/libc_utils.a

//Path to a library.
HEALPix_cxxsupport:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/generic_gcc/lib/libcxxsupport.a

//Path to a library.
HEALPix_fftpack:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/generic_gcc/lib/libfftpack.a

//Path to a library.
HEALPix_healpix_cxx:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/generic_gcc/lib/libhealpix_cxx.a

//Path to a library.
HEALPix_psht:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/f90/psht

//Path to a library.
HEALPix_sharp:FILEPATH=/home/congyanping/Software/healpix/Healpix_311/src/cxx/generic_gcc/lib/libsharp.a

but i coun't find the .a file for HEALPix_psht:FILEPATH= in the dir of ~/src/cxx/generic_gcc/lib
then i run cmake step, i got the result:
Quote:
-- Using GSL from /usr/local
-- CMAKE_BUILD_TYPE not set, defaulting to RelWithDebInfo.
Set in cache or on command line to override.
-- The configure script will now override the cached CMAKE_CXX_FLAGS_RELWITHDEBINFO variable to a hand crafted value for most compilers.
CMAKE_CXX_FLAGS can be used to add compiler flags. To manually define the build flags a CMAKE_BUILD_TYPE other than RelWithDebInfo (the default) and Release should be used.
-- Using CXX flags -std=c++11 -fopenmp -g -pipe -O3 -Wall for compiler /usr/bin/c++
-- Using Fortran flags -fopenmp -g -pipe -O3 -Wall for compiler /usr/bin/gfortran
compile_result='TRUE'
run_result='0'
compile_output='Change Dir: /home/congyanping/Software/galtoolslib/galtoolslib/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_bbfa4/fast"
/usr/bin/make -f CMakeFiles/cmTC_bbfa4.dir/build.make CMakeFiles/cmTC_bbfa4.dir/build
make[1]: 进入目录“/home/congyanping/Software/galtoolslib/galtoolslib/build/CMakeFiles/CMakeTmp”
Building CXX object CMakeFiles/cmTC_bbfa4.dir/regex.cxx.o
/usr/bin/c++ -std=c++11 -fopenmp -fPIE -o CMakeFiles/cmTC_bbfa4.dir/regex.cxx.o -c /home/congyanping/Software/galtoolslib/galtoolslib/build/CMakeFiles/CMakeTmp/regex.cxx
Linking CXX executable cmTC_bbfa4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bbfa4.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -fopenmp -rdynamic CMakeFiles/cmTC_bbfa4.dir/regex.cxx.o -o cmTC_bbfa4
make[1]: leaving dir“/home/congyanping/Software/galtoolslib/galtoolslib/build/CMakeFiles/CMakeTmp”
'
run_output=''
-- Configuring done
-- Generating done
-- Build files have been written to: /home/congyanping/Software/galtoolslib/galtoolslib/build

then make step, i got the same error,
Quote:
[ 1%] Building CXX object utils/CMakeFiles/utils.dir/ErrorLogger.cc.o
[ 3%] Building CXX object utils/CMakeFiles/utils.dir/Timer.cc.o
[ 5%] Building CXX object utils/CMakeFiles/utils.dir/Parameters.cc.o
[ 6%] Building CXX object utils/CMakeFiles/utils.dir/StatusIndicator.cc.o
[ 8%] Building CXX object utils/CMakeFiles/utils.dir/Interpolation.cc.o
[ 10%] Building CXX object utils/CMakeFiles/utils.dir/ReaderErrorReporter.cc.o
[ 11%] Building CXX object utils/CMakeFiles/utils.dir/Reader.cc.o
[ 13%] Building CXX object utils/CMakeFiles/utils.dir/Variables.cc.o
[ 15%] Building CXX object utils/CMakeFiles/utils.dir/md5.cc.o
[ 16%] Building CXX object utils/CMakeFiles/utils.dir/Malloc.cc.o
[ 18%] Linking CXX static library libutils.a
[ 18%] Built target utils
[ 20%] Building CXX object galstruct/CMakeFiles/galstruct.dir/radialprofiles.cpp.o
[ 22%] Building CXX object galstruct/CMakeFiles/galstruct.dir/spiralarms.cpp.o
[ 23%] Building CXX object galstruct/CMakeFiles/galstruct.dir/planeprofiles.cpp.o
[ 25%] Building CXX object galstruct/CMakeFiles/galstruct.dir/cylindricalprofiles.cpp.o
[ 27%] Linking CXX static library libgalstruct.a
[ 27%] Built target galstruct
[ 28%] Building CXX object libskymap/CMakeFiles/skymap.dir/Coordinate.cc.o
In file included from /home/congyanping/Software/galtoolslib/galtoolslib/libskymap/Coordinate.cc:1:0:
/home/congyanping/Software/galtoolslib/galtoolslib/libskymap/Coordinate.h:4:10: fatal error: pointing.h: There is no such file or directory there.
#include "pointing.h"
^~~~~~~~~~~~
compilation terminated.
libskymap/CMakeFiles/skymap.dir/build.make:62: recipe for target 'libskymap/CMakeFiles/skymap.dir/Coordinate.cc.o' failed
make[2]: *** [libskymap/CMakeFiles/skymap.dir/Coordinate.cc.o] Error 1
CMakeFiles/Makefile2:195: recipe for target 'libskymap/CMakeFiles/skymap.dir/all' failed
make[1]: *** [libskymap/CMakeFiles/skymap.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

any idea? :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group