-
after more diff and such, I have found even more things to rm, including some code that needs to live somewhere, but I am not sure where. test.c is looks like some unit tests, but I don't see any if test() print "pass" else print "fail" - but but test.c is needed for the current Makefile to build, so for now it can stay. eventually I would like to separate it out...
2009-04-13 20:09:19 UTC by carlfk
-
I am trying to make a .deb - the first thing that needs to happen is the sources need to be cleaned up. below is a good start, but more needs to be done, like Makefile needs an install: section. I am thinking of replacing it with automake magic, but I have never done that, so if someone else can do it quick and easy, that would be appreciated.
#!/bin/bash
# fixpdf417enc.sh - fix the...
2009-04-12 16:59:23 UTC by carlfk
-
This patch fixes compiler warnings. It also fixes a wrong free() function call, which can crash the program when reading an image file.
2007-12-23 10:44:42 UTC by doj
-
This patch lets all error and debug messages print to STDERR. This way they don't interfer with the image output on STDOUT.
2007-12-23 10:43:15 UTC by doj
-
This patch compiles the sourcecode without gif support, because many modern unix distributions don't ship with libgif anymore.
2007-12-23 10:42:00 UTC by doj
-
I see this is old but I ran into the same problem so I will answer it so that it is documented. You need to load X11-devel then do a make clean and make.
2007-08-31 13:59:27 UTC by nobody
-
So, I have successfully installed pdf encoder,a dn KBarcode sees it when you do the system check. I create a barcode, and it looks like a pdf417, but it can't be scanned. Gives my reader fits ! Do I need to do more than the text to be incoded in KBarcode ? I was hoping the two packages did the magic, and end users would just need to put in the text to be encoded. Am I wrong ?.
2007-03-07 03:09:06 UTC by kevingf
-
I resolved this by adding a giflib, which was available through YAST in SUSe.
Also, I needed to install X11 development libraries to complete the make.
It's better now, on to new problems !
2007-03-07 03:06:07 UTC by kevingf
-
Using version 4.4, I receive the following error when attempting make
gcc -lgif -L/usr/X11R6/lib -lX11 -o pdf417_enc main.o pdf417_enc.o tests.o
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lgif
collect2: ld returned 1 exit status
make: *** [pdf417_enc] Error 1
I am somewhat new, but I did verify that Makefile specified Linux.
Next steps ?.
2007-03-06 03:03:21 UTC by kevingf
-
Using the program pdf417_dec.c I discovered a couple of problems. One has been solved (see item 1), while the second is still a mistery.
1) Runtime error
I compiled pdf417_dec.c with gcc under Suse 10.1
the compilation was successfully but the program aborted during the runtime.
The problem was due to a bug in the function
int read_pgm_in()
....
vptr = malloc((size_t) (col_size *...
2006-10-24 16:28:26 UTC by gmadox