ijg 라이브러리 설치

servent77의 이미지

안녕하세요

jpeg라이브러리를 찾는 도중 ijg 라이브러리를 찾았습니다.

사용하기도 편리한 것 같구요

간단하게 설치는 된것 같은데

설치가 잘못되었는지

아래와 같은 에러가 발생합니다.

컴파일은 제공해 주는 예제소스를 컴파일 하였습니다.

해결 방법좀 갈켜주세요

====================================================
[root@root STEP9]# gcc -o example_1 example_1.c
/tmp/cccllhqq.o(.text+0x14): In function `write_JPEG_file':
: undefined reference to `jpeg_std_error'
/tmp/cccllhqq.o(.text+0x33): In function `write_JPEG_file':
: undefined reference to `jpeg_CreateCompress'
/tmp/cccllhqq.o(.text+0x90): In function `write_JPEG_file':
: undefined reference to `jpeg_stdio_dest'
/tmp/cccllhqq.o(.text+0x98): In function `write_JPEG_file':
: undefined reference to `image_width'
/tmp/cccllhqq.o(.text+0xa3): In function `write_JPEG_file':
: undefined reference to `image_height'
/tmp/cccllhqq.o(.text+0xcc): In function `write_JPEG_file':
: undefined reference to `jpeg_set_defaults'
/tmp/cccllhqq.o(.text+0xe3): In function `write_JPEG_file':
: undefined reference to `jpeg_set_quality'
/tmp/cccllhqq.o(.text+0xf7): In function `write_JPEG_file':
: undefined reference to `jpeg_start_compress'
/tmp/cccllhqq.o(.text+0x100): In function `write_JPEG_file':
: undefined reference to `image_width'
/tmp/cccllhqq.o(.text+0x12f): In function `write_JPEG_file':
: undefined reference to `image_buffer'
/tmp/cccllhqq.o(.text+0x14d): In function `write_JPEG_file':
: undefined reference to `jpeg_write_scanlines'
/tmp/cccllhqq.o(.text+0x161): In function `write_JPEG_file':
: undefined reference to `jpeg_finish_compress'
/tmp/cccllhqq.o(.text+0x184): In function `write_JPEG_file':
: undefined reference to `jpeg_destroy_compress'
/tmp/cccllhqq.o(.text+0x222): In function `read_JPEG_file':
: undefined reference to `jpeg_std_error'
/tmp/cccllhqq.o(.text+0x25f): In function `read_JPEG_file':
: undefined reference to `jpeg_destroy_decompress'
/tmp/cccllhqq.o(.text+0x298): In function `read_JPEG_file':
: undefined reference to `jpeg_CreateDecompress'
/tmp/cccllhqq.o(.text+0x2b0): In function `read_JPEG_file':
: undefined reference to `jpeg_stdio_src'
/tmp/cccllhqq.o(.text+0x2c4): In function `read_JPEG_file':
: undefined reference to `jpeg_read_header'
/tmp/cccllhqq.o(.text+0x2d6): In function `read_JPEG_file':
: undefined reference to `jpeg_start_decompress'
/tmp/cccllhqq.o(.text+0x338): In function `read_JPEG_file':
: undefined reference to `jpeg_read_scanlines'
/tmp/cccllhqq.o(.text+0x351): In function `read_JPEG_file':
: undefined reference to `put_scanline_someplace'
/tmp/cccllhqq.o(.text+0x365): In function `read_JPEG_file':
: undefined reference to `jpeg_finish_decompress'
/tmp/cccllhqq.o(.text+0x377): In function `read_JPEG_file':
: undefined reference to `jpeg_destroy_decompress'
collect2: ld returned 1 exit status
====================================================

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.