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

building Issue #14

Open
RichardBaoRepo opened this issue Nov 6, 2024 · 2 comments
Open

building Issue #14

RichardBaoRepo opened this issue Nov 6, 2024 · 2 comments

Comments

@RichardBaoRepo
Copy link

RichardBaoRepo commented Nov 6, 2024

I run into problems while exexuting ./install.sh
the default installed protobuf version seems to be 25.3 and the lib version was 3.6.1,
so i tried to manually build protobuf 3.6.x from source, then everything look fine
-- GCC detected, adding compile flags -- GCC detected, adding compile flags -- Building with CUDA. -- CUDA detected: 11.8 -- Added CUDA NVCC flags for: sm_89 -- cuDNN not found -- Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so) -- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so) -- Caffe will be downloaded from source now. NOTE: This process might take several minutes depending on your internet connection. -- Caffe has already been downloaded. HEAD is now at 1807aada Added Ampere arch's (CUDA11) M CMakeLists.txt -- Caffe will be built from source now. -- Download the models. -- Downloading BODY_25 model... -- Model already exists. -- Not downloading body (COCO) model -- Not downloading body (MPI) model -- Downloading face model... -- Model already exists. -- Downloading hand model... -- Model already exists. -- Models Downloaded. -- Configuring done -- Generating done -- Build files have been written to: /home/nio/projects/GaussianHaircut/ext/openpose/build

then i tried
make -j8, i kept getting this error

error: #error "C++ versions less than C++14 are not supported." 79 | #error "C++ versions less than C++14 are not supported." | ^~~~~

I tried add the following lines in root CMakeLists.txt,

Set C++ standard for host code
set(CMAKE_CXX_STANDARD 14)

Set C++14 for CUDA code
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -std=c++14")

still got no luck making it work, any help

i am working on UBuntu 20.04 with Nvidia 4090

@localhost-server
Copy link

localhost-server commented Nov 7, 2024

For installing the Repo I can help you live, I have done the installation multiple times, but You should have the video in acceptable format to run the script successfully + It would be better if you use ubuntu 22.04 due to drivers availability. You can reach me up at email anshqwertyuiop1234567890@gmail.com or https://t.me/ZionaSyrus at telegram.

@RichardBaoRepo
Copy link
Author

I reinstall ubuntu and everything works fine

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