Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile this. #1

Open
mdavis777 opened this issue Jun 23, 2017 · 3 comments
Open

How to compile this. #1

mdavis777 opened this issue Jun 23, 2017 · 3 comments

Comments

@mdavis777
Copy link

It seems to have a dependency on getgit.cmake.
I found a few getgit.cmakes on the web and in each case it just leads to another build error farther down the line.

@satur9nine
Copy link

I had a similar problem, I found https://raw.githubusercontent.com/tora-tool/tora/master/cmake/modules/getgit.cmake and threw it in the libopenbarcode directory, then I had to fix the toolkit link, then I had to make the file openbarcode_version.h and put the following defines in it:

#define OPENBARCODE_VERSION "1"
#define OPENBARCODE_BUILDDATE "today"

And then it compiles and generates a commandline app that can run. I had to fix the hardcoded path directory "/Users/tzaman/Dropbox/code/openbarcode/sample_images/C39/" but looking closer at the code it appears this is really not ready at all...

@TimZaman
Copy link
Owner

TimZaman commented Sep 28, 2017 via email

@jeacwen
Copy link

jeacwen commented Jul 27, 2022

I had a similar problem, I found https://raw.githubusercontent.com/tora-tool/tora/master/cmake/modules/getgit.cmake and threw it in the libopenbarcode directory, then I had to fix the toolkit link, then I had to make the file openbarcode_version.h and put the following defines in it:

#define OPENBARCODE_VERSION "1"
#define OPENBARCODE_BUILDDATE "today"

And then it compiles and generates a commandline app that can run. I had to fix the hardcoded path directory "/Users/tzaman/Dropbox/code/openbarcode/sample_images/C39/" but looking closer at the code it appears this is really not ready at all...

I have a similar problem,Could you please email me the project you solved? jeacwen@163.com Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants