lostjared / acidcam-cli Goto Github PK
View Code? Open in Web Editor NEWCommand line version of Acid Cam for Unix
License: BSD 2-Clause "Simplified" License
Command line version of Acid Cam for Unix
License: BSD 2-Clause "Simplified" License
Hello, I am getting errors when I run make:
make -j4
make all-recursive
make[1]: Entering directory '/home/x/Documents/acidcam-cli'
Making all in acidcam
make[2]: Entering directory '/home/x/Documents/acidcam-cli/acidcam'
g++ -DHAVE_CONFIG_H -I. -I.. -O2 -std=c++11 -I/usr/include/opencv -I@DEST_DIR@/include/acidcam -I@DEST_DIR@/include -g -O2 -MT acidcam-cli.o -MD -MP -MF .deps/acidcam-cli.Tpo -c -o acidcam-cli.o acidcam-cli.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -O2 -std=c++11 -I/usr/include/opencv -I@DEST_DIR@/include/acidcam -I@DEST_DIR@/include -g -O2 -MT acidcam-cli-main.o -MD -MP -MF .deps/acidcam-cli-main.Tpo -c -o acidcam-cli-main.o acidcam-cli-main.cpp
In file included from acidcam-cli.cpp:43:0:
acidcam-cli.hpp:45:9: fatal error: ac.h: No such file or directory
#include"ac.h"
^~~~~~
compilation terminated.
In file included from acidcam-cli-main.cpp:43:0:
acidcam-cli.hpp:45:9: fatal error: ac.h: No such file or directory
#include"ac.h"
^~~~~~
compilation terminated.
Makefile:393: recipe for target 'acidcam-cli.o' failed
make[2]: *** [acidcam-cli.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:393: recipe for target 'acidcam-cli-main.o' failed
make[2]: *** [acidcam-cli-main.o] Error 1
make[2]: Leaving directory '/home/x/Documents/acidcam-cli/acidcam'
Makefile:388: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/x/Documents/acidcam-cli'
Makefile:329: recipe for target 'all' failed
make: *** [all] Error 2
:~/Projectos/Acid_cam/acidcam-cli/build$ make -j4
Scanning dependencies of target acidcam-cli
[ 33%] Building CXX object CMakeFiles/acidcam-cli.dir/acidcam/acidcam-cli-main.cpp.o
[ 66%] Building CXX object CMakeFiles/acidcam-cli.dir/acidcam/acidcam-cli.cpp.o
[100%] Linking CXX executable acidcam-cli
/usr/bin/ld: CMakeFiles/acidcam-cli.dir/acidcam/acidcam-cli.cpp.o: in function cmd::AC_Program::initProgram(cmd::File_Type const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >&, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >&, int)': acidcam-cli.cpp:(.text+0x2096): undefined reference to
open_ffmpeg(char const*, char const*, char const*, char const*, char const*, char const*)'
/usr/bin/ld: CMakeFiles/acidcam-cli.dir/acidcam/acidcam-cli.cpp.o: in function cmd::AC_Program::run()': acidcam-cli.cpp:(.text+0x39cb): undefined reference to
write_ffmpeg(_IO_FILE*, cv::Mat&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/acidcam-cli.dir/build.make:148: acidcam-cli] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/acidcam-cli.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
I have compiled the libacidcam without any apparent problems.
Followed this:
download libacidcam
enter directory:
$ mkdir build && cd build
$ cmake ..
$ make -j4
$ sudo make install
download acidcam-cli:
enter directory
$ mkdir build && cd build
$ cmake ..
$ make -j4
$ sudo make install
acidcam-cli/acidcam/acidcam-cli-main.cpp
Line 63 in a4b0689
Would it be reasonable to make a dockerfile for this? I imagine there might be performance implications, but it would make it so anyone could run it without having to deal with building or installing system dependencies
Is there a gui for acidcam anywhere? Might be cool to make an electron app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.