You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checking for gcc... gcc
checking whether the C compiler (gcc -L/usr/local/cuda/lib64) works... yes
checking whether the C compiler (gcc -L/usr/local/cuda/lib64) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
jconfig.h is unchanged
After typing make I got the following response:
gcc -O0 -I/usr/local/cuda/include -I. -c -o jcapimin.o jcapimin.c
jcapimin.c: In function ‘jpeg_CreateCompress’:
jcapimin.c:81: error: ‘struct jpeg_compress_struct’ has no member named ‘decoded_mcus_base’
jcapimin.c:82: error: ‘struct jpeg_compress_struct’ has no member named ‘decoded_mcus_current’
make: *** [jcapimin.o] Error 1
I read install.doc and tried compiling and executing ckconfig.c. I did it successfully using the commands gcc -c ckconfig.c and then gcc ckconfig -o ckconfig.o. This produced the following output:
Configuration check for Independent JPEG Group's software done.
I have written the jconfig.h file for you.
I then copied and pasted the contents of makefile.unix into Makefile. The parts I changed are as follows:
# Makefile for Independent JPEG Group's software
# This makefile is suitable for Unix-like systems with ANSI-capable compilers.
# If you have a non-ANSI compiler, makefile.unix is a better starting point.
# Read installation instructions before saying "make" !!
# The name of your C compiler:
CC= cc
# You may need to adjust these cc options:
CFLAGS= -O -I/usr/local/cuda/include -I$(srcdir)
# Generally, we recommend defining any configuration symbols in jconfig.h,
# NOT via -D switches here.
# Link-time cc options:
LDFLAGS= -L/usr/local/cuda/lib64
# To link any special libraries, add the necessary -l commands here.
LDLIBS= -lOpenCL
# Put here the object file name for the correct system-dependent memory
# manager file. For Unix this is usually jmemnobs.o, but you may want
# to use jmemansi.o or jmemname.o if you have limited swap space.
SYSDEPMEM= jmemnobs.o
# miscellaneous OS-dependent stuff
# linker
LN= $(CC)
# file deletion command
RM= rm -f
# library (.a) file creation command
AR= ar rc
# second step in .a creation (use "touch" if not needed)
AR2= ranlib
# End of configurable options.
I typed make again on the command line and I got this response:
root@gksrv001 jpeg-opencl]# make
cc -O -I/usr/local/cuda/include -I -c -o jcapimin.o jcapimin.c
jcapimin.c: In function ‘jpeg_CreateCompress’:
jcapimin.c:81: error: ‘struct jpeg_compress_struct’ has no member named ‘decoded_mcus_base’
jcapimin.c:82: error: ‘struct jpeg_compress_struct’ has no member named ‘decoded_mcus_current’
make: *** [jcapimin.o] Error 1
How can I fix this problem?
Waiting eagerly for your response.
The text was updated successfully, but these errors were encountered:
Hello.
I ran the configure command in the following way:
./configure CPPFLAGS="-I/usr/local/cuda/include" LDFLAGS="-L/usr/local/cuda/lib64"
It produced the following output:
After typing make I got the following response:
I read install.doc and tried compiling and executing ckconfig.c. I did it successfully using the commands gcc -c ckconfig.c and then gcc ckconfig -o ckconfig.o. This produced the following output:
I then copied and pasted the contents of makefile.unix into Makefile. The parts I changed are as follows:
I typed make again on the command line and I got this response:
How can I fix this problem?
Waiting eagerly for your response.
The text was updated successfully, but these errors were encountered: