Comments (16)
You copied the message that says that make failed, but you failed to copy the error message that must have been printed before that. What is the actual error you are getting?
from darkmark.
My apologies...this is the error that occurred:
/home/skynet/DarkMark/src-launcher/VideoImportWindow.cpp: In constructor ‘dm::VideoImportWindow::VideoImportWindow(const string&, const VStr&)’:
/home/skynet/DarkMark/src-launcher/VideoImportWindow.cpp:150:65: error: ‘CAP_PROP_CODEC_PIXEL_FORMAT’ is not a member of ‘cv::VideoCaptureProperties’
const uint32_t format = cap.get(cv::VideoCaptureProperties::CAP_PROP_CODEC_PIXEL_FORMAT );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/skynet/DarkMark/src-launcher/VideoImportWindow.cpp:172:25: error: ‘class cv::VideoCapture’ has no member named ‘getBackendName’
ss << "Using " << cap.getBackendName() << " to read the video file "" << shortname << ""." << std::endl
^~~~~~~~~~~~~~
from darkmark.
Just guessing:
have you installed darkhelp and darknet prior to the installation of darkmark?
https://github.com/stephanecharette/DarkHelp/#building-darknet
from darkmark.
I have both darkhelp and darknet installed.
from darkmark.
The error you report is from something that is part of OpenCV, not something in DarkMark. So you must not have installed OpenCV correctly, or you must be using a different operating system. Please share the exact installation steps you are using, including the version number, how it was installed, as well as the operating system including the version number.
from darkmark.
For C++: pkg-config --modversion opencv
3.2.0
For python: >>> cv2.version
'4.4.0'
I'm using Ubuntu 18.04.
I have DarkHelp installed, because I used it with my own application for yolo detection.
And I have Darknet installed (Alexey's latest Yolo V4)
Should I try to update my opencv-dev for the system?
from darkmark.
Something is not right. Did you build OpenCV by hand, or with the sudo apt-get install libopencv-dev
command?
from darkmark.
from darkmark.
I booted up my old Ubuntu 18.04 VM and immediately ran into the same issues.
/home/stephane/src/DarkMark/src-launcher/VideoImportWindow.cpp:150:65: error: ‘CAP_PROP_CODEC_PIXEL_FORMAT’ is not a member of ‘cv::VideoCaptureProperties’
const uint32_t format = cap.get(cv::VideoCaptureProperties::CAP_PROP_CODEC_PIXEL_FORMAT );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/stephane/src/DarkMark/src-launcher/VideoImportWindow.cpp:172:25: error: ‘class cv::VideoCapture’ has no member named ‘getBackendName’
ss << "Using " << cap.getBackendName() << " to read the video file \"" << shortname << "\"." << std::endl
^~~~~~~~~~~~~~
So this is specific to the old version of OpenCV in Ubuntu 18.04 versus OpenCV in Ubuntu 20.04.
- Ubuntu 18.04 uses OpenCV v3.2.0
- Ubuntu 20.04 uses OpenCV v4.2.0
I will come up with a fix so DarkMark can be built cleanly on Ubuntu 18.04 and update this ticket once that is done.
from darkmark.
@robotwhispering Scott, please try the latest version and see if that fixes the problem. v1.4.10-1 is now building correctly for me on Ubuntu 18.04.
from darkmark.
No update in 2 months. Closing.
from darkmark.
Sorry for bringing this up, but i have same issue. Tried to build DarkMark on Jetson nano, ubuntu 18.04. Darknet and DarkHelp works fine
from darkmark.
You are trying to build DarkMark on a Jetson nano?
from darkmark.
Yes, that's correct
from darkmark.
Pushed a change tonight to get DarkMark building with the old version of OpenCV installed on Jetson Nano devices. Please run git pull
to get the latest changes and let me know if that fixed it.
from darkmark.
Works fine now, thanks
from darkmark.
Related Issues (20)
- DarkMark for Windows HOT 2
- load 5W data, DarkMark crash HOT 5
- segmentation fault when using "flip" or "rotate"
- Automatically accept all darknet predictions? HOT 4
- Error in build HOT 4
- DarkMark on Google Colaboratory - Segmentation fault HOT 2
- Keyboard Shortcut Question HOT 2
- Deleting a class HOT 1
- Configuring Incomplete, Errors occured! HOT 1
- Darkmark - Error- HOT 3
- Filter option HOT 1
- Create project from CLI in remote desktop HOT 17
- Install Problem HOT 3
- GUI error after build on Arch Linux HOT 2
- DarkMark GUI Missing Text in Docker Container HOT 2
- error: ‘exchange’ is not a member of ‘std’ HOT 4
- error: ‘void (* std::set_unexpected(unexpected_handler))()’ is deprecated [-Werror=deprecated-declarations] HOT 6
- launcher needs to update quicker for excessively large project
- DarkMark crashes HOT 11
- nevermind HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darkmark.