Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem compiling rd_depression_hierarchy.cpp #68

Open
jbensabat opened this issue Jun 14, 2023 · 2 comments
Open

problem compiling rd_depression_hierarchy.cpp #68

jbensabat opened this issue Jun 14, 2023 · 2 comments

Comments

@jbensabat
Copy link

hello
I have built the lib and the apps under windows MSVC 2022.
the file rd_depression_hierarchy.cpp does not compile
I just would like to know if anyone has experienced the same problem and if it was solved.
thanks
jac

@Chris-airseed
Copy link

Having the same problem installing on ubuntu. It only gets this far and stalls.

ubuntu@ip-xx-xx-x-xxx:~/richdem/build$ make -j 6
[ 1%] Building CXX object CMakeFiles/richdem.dir/src/random.cpp.o
[ 2%] Building CXX object CMakeFiles/richdem.dir/src/terrain_generation/PerlinNoise.cpp.o
[ 4%] Building CXX object CMakeFiles/richdem.dir/src/terrain_generation/terrain_generation.cpp.o
[ 5%] Building CXX object CMakeFiles/richdem.dir/src/gdal.cpp.o
[ 7%] Building CXX object CMakeFiles/richdem.dir/src/richdem.cpp.o
[ 8%] Linking CXX shared library librichdem.so
[ 8%] Built target richdem
[ 10%] Building CXX object CMakeFiles/richdem_unittests.dir/tests/tests.cpp.o
[ 11%] Building CXX object apps/CMakeFiles/rd_compare.exe.dir/rd_compare.cpp.o
[ 12%] Building CXX object apps/CMakeFiles/rd_d8_flowdirs.exe.dir/rd_d8_flowdirs.cpp.o
[ 14%] Building CXX object apps/CMakeFiles/rd_depression_hierarchy.exe.dir/rd_depression_hierarchy.cpp.o
[ 15%] Building CXX object apps/CMakeFiles/rd_depressions_breach.exe.dir/rd_depressions_breach.cpp.o
[ 17%] Building CXX object apps/CMakeFiles/rd_depressions_flood.exe.dir/rd_depressions_flood.cpp.o

@Chris-airseed
Copy link

changing make -j 6 to make resolved this for me:

cd richdem
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants