Closed akihirom2017 closed 6 years ago
Hello @akihirom2017 please see #230
Thanks for your suggestion.
Actually, I have tried both ways: quick and complete installs. But neither of them are not successfully installed gocv.
Any help would be appreacited.
best
On Mon, Jun 18, 2018 at 12:42 PM Ron Evans notifications@github.com wrote:
Hello @akihirom2017 https://github.com/akihirom2017 please see #230 https://github.com/hybridgroup/gocv/issues/230
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hybridgroup/gocv/issues/236#issuecomment-398026852, or mute the thread https://github.com/notifications/unsubscribe-auth/AbZ31SfiwQ0UmuOV5OFfHBQSTQXB2eitks5t95IqgaJpZM4UrkZu .
You will need to be using the dev
branch, not master
for it to work. Hope that helps!
Thanks for your tips.
I have downloaded gocv-dev and follow the make * commands. Unfortunately, the issue still remained and the same error message come out.
The first error message is: [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function 'void google::protobuf::internal::ArenaImpl::Init()': /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:70:48: error: 'threads_' was not declared in this scope google::protobuf::internal::NoBarrierStore(&threads, 0); ^ /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:72:7: error: 'initialblock' was not declared in this scope if (initialblock) { ^ /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:76:75: error: 'InitBlock' was not declared in this scope InitBlock(initialblock, &threadcache(), options.initial_block_size); ^ /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:77:5: error: 'ThreadInfo' was not declared in this scope ThreadInfo info = NewThreadInfo(initialblock); ^ /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:77:17: error: 'info' was not declared in this scope ThreadInfo info = NewThreadInfo(initialblock); ^ /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:77:52: error: 'NewThreadInfo' was not declared in this scope ThreadInfo info = NewThreadInfo(initialblock); ^ /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:82:62: error: invalid conversion from 'google::protobuf::uint64 {aka long unsigned int}' to 'volatile Atomic64 {aka volatile long int}' [-fpermissive] options_.initial_block_size); ^ In file included from /home/amori/miniconda3/include/google/protobuf/stubs/atomicops.h:200:0, from /home/amori/miniconda3/include/google/protobuf/stubs/atomic_sequence_num.h:33, from /home/amori/miniconda3/include/google/protobuf/arena_impl.h:38, from /home/amori/miniconda3/include/google/protobuf/arena.h:54, from /tmp/opencv/opencv-3.4.1/3rdparty/protobuf/src/google/protobuf/arena.cc:31: /home/amori/miniconda3/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h:222:13: note: initializing argument 1 of 'void google::protobuf::internal::NoBarrier_Store(volatile Atomic64, google::protobuf::internal::Atomic64)' inline void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value) {
this type of error is so weired because I am pretty sure that you have checked those basic issues before releasing this package.
I wonder this issue related to my miniconda3, which I used openCV for different purpose?
Please let me know. Thanks
Best
On Mon, Jun 18, 2018 at 1:00 PM Ron Evans notifications@github.com wrote:
You will need to be using the dev branch, not master for it to work. Hope that helps!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hybridgroup/gocv/issues/236#issuecomment-398030739, or mute the thread https://github.com/notifications/unsubscribe-auth/AbZ31VIRBaO7J3ROV2LiXtXOpc_WPZndks5t95ZKgaJpZM4UrkZu .
I have no experience with that package manager, but it is not supported in the current Makefile:
https://github.com/hybridgroup/gocv/blob/dev/Makefile#L31-L39
You might want to look over the Makefile and try to install the dependencies yourself using miniconda3 or whatever package manager you are using.
Thanks, finally, it could install.
OK, glad you got it working.
Now closing, please reopen if needed.
Description
I am trying to install gocv (opencv-3.4.1) into my server (running on Ubuntu 16.04). Although I have followed the instruction, I have got error messages while I am in "make build" section.
Steps to Reproduce
Here is the result:
Your Environment
env.sh
orenv.cmd
script before trying togo run
orgo build
? neither. even I have tried, I have got "command not found".