Closed GoogleCodeExporter closed 9 years ago
What compiler are you using? What O/S? Do you need x64 or x86 binaries?
I use gcc for compilation and the make file is built around it. If you use
Eclipse you can create an empty C make project and copy the source in and just
run build.
BTW, I am currently working on a new update with many enhancements. I could
include FZ_LINK_GOTOR enhancement.
Thanks,
Pedro
Original comment by pedro.ri...@gmail.com
on 14 Feb 2012 at 4:31
hi,,
its windows xp. have installed MinMG. Tried the comment mingw32-make.exe over
the Make file.. But does not work for me..
Original comment by jeba.ride@gmail.com
on 14 Feb 2012 at 7:02
You also have to install MSYS in order to get the make stuff to work as well.
Here is the link to the install:
http://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.11/MSYS
-1.0.11.exe/download
Also, here is the link to the latest MinGW compilers:
http://www.mingw.org
and
http://www.mingw.org/wiki/MSYS
Make sure to install MinGW in "c:\mingw" and MSYS to "c:\mingw\msys\". Once you
have installed these two programs make sure your PATH settings include the
following:
"C:\MinGW\msys\1.0\bin;C:\MinGW\bin"
You can update them under "System Properties", "Advanced" tab, then
"Environment Variables". Lookup the PATH setting under "System Variables". I
think it's similar in XP as I have WIN 7.
Once you have that all installed go to the command prompt and make sure it all
works.
type make. You should get:
make: *** No targets specified and no makefile found. Stop.
type gcc. You should get:
gcc: fatal error: no input files
compilation terminated.
Now you should be able to execute build from Eclipse.
Hope this helps.
Pedro
Original comment by pedro.ri...@gmail.com
on 14 Feb 2012 at 7:18
below error message i got in compiling in windows
Building file: ../thirdparty/tifflib/tif_acorn.c
Invoking: GCC C Compiler
gcc -I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\fitz"
-I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\thirdparty\zli
b-1.2.5" -I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\thirdparty\ope
njpeg-1.4\libopenjpeg" -I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\thirdparty\tif
flib" -I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\thirdparty\bmp
lib" -I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\thirdparty\jbi
g2dec" -I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\thirdparty\jpe
g-8c" -I"C:\Documents and
Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\jmupdf\mupdf\thirdparty\fre
etype-2.4.4\include" -O2 -g -Wall -c -fmessage-length=0 -MMD -MP
-MF"thirdparty/tifflib/tif_acorn.d" -MT"thirdparty/tifflib/tif_acorn.d" -o
"thirdparty/tifflib/tif_acorn.o" "../thirdparty/tifflib/tif_acorn.c"
../thirdparty/tifflib/tif_acorn.c:64:20: fatal error: kernel.h: No such file or
directory
compilation terminated.
make: *** [thirdparty/tifflib/tif_acorn.o] Error 1
Original comment by jeba.ride@gmail.com
on 14 Feb 2012 at 7:44
That program should not be getting compiled as it is not required. Make sure
that the "make" command is actually using the Makefile as input.
There is a "MakeThird" file that specifies what programs should be compiled.
All of it though is auto configured in the Makefile.
If you go to the command prompt and go to the directory where Makefile is found
you should be able to do something like:
cd C:\Documents and Settings\clement\Desktop\2012-01-24-src-jmupdf-0.3.0\
then
make Makefile
Pedro
Original comment by pedro.ri...@gmail.com
on 14 Feb 2012 at 7:54
I expanded the LINK types returned to java. The code is in the "pedro-work"
branch. I will be merging my work to the master branch this week.
Pedro
Original comment by pedro.ri...@gmail.com
on 14 Feb 2012 at 10:40
Original comment by pedro.ri...@gmail.com
on 14 Feb 2012 at 10:55
Original comment by pedro.ri...@gmail.com
on 14 Feb 2012 at 10:55
New binaries and source available. PageLink class has been expanded to include
users request. Closing issue.
Original comment by pedro.ri...@gmail.com
on 20 Feb 2012 at 1:46
Original issue reported on code.google.com by
jeba.ride@gmail.com
on 14 Feb 2012 at 3:32