Closed rajhlinux closed 1 year ago
Alright, was able to fix this problem by doing the following below:
Access to edit the file at line 280:
/home/user/caffe/src/caffe/backend/device.cpp
Change and edit:
if (*lock_id < buffer_flags_.size() && lock_id > 0)
To the correct code:
if (*lock_id < buffer_flags_.size() && lock_id != nullptr)
Save and exit.
Issue summary
I get the following error:
Here is the Full Error displayed from terminal: https://pastebin.com/VWFXNumJ
Here is the Cmake Error Log: https://pastebin.com/fEeDFcBX
Steps to produce: (Note: I am not building with python, do not need it since I am trying to build Caffe so that it can be used by another project called "OpenPose", also I program in C/C++)
How I config and generate with cmake:
Here is the cmake config and generate info:
How I compile/build:
make all -j 7
System configuration
Thanks for any advice.