Code Monkey home page Code Monkey logo

acidcam-cli's Issues

Trouble building on mac

I'm not too familiar with compiling C++, but I installed the dependencies and ran the build command. It's failing with some errors that suggest syntax issues.

Screen Shot 2019-05-10 at 1 40 10 PM

If I can get this working, I am going to try to compile with webassembly (just for fun, really).

Help compile on linux

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

Compiling error

:~/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

Docker

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

GUI?

Is there a gui for acidcam anywhere? Might be cool to make an electron app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.