openbarcode
openbarcode copied to clipboard
How to compile this.
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.
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 accept PRs!! :-)
On Thu, 28 Sep 2017 at 12:50, Jacob Abrams [email protected] wrote:
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...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TimZaman/openbarcode/issues/1#issuecomment-332945210, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXSRKHMBLxkD0zIqUcSoqTgNs6m-KMJks5sm_iagaJpZM4ODxyf .
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? [email protected] Thank you very much