Code::Blocks Forums
User forums => Help => Topic started by: sampah on March 26, 2006, 08:47:44 am
-
dear all programmer master :P help needed :::
///////// i have problem with loading jpeg in my modelling after load in code::block
objs\lab01.o:lab01.cpp:(.text+0x171): undefined reference to `jpeg_std_error(jpeg_error_mgr*)'
.objs\lab01.o:lab01.cpp:(.text+0x1a6): undefined reference to `jpeg_destroy_decompress(jpeg_decompress_struct*)'
.objs\lab01.o:lab01.cpp:(.text+0x1d7): undefined reference to `jpeg_CreateDecompress(jpeg_decompress_struct*, int, unsigned int)'
.objs\lab01.o:lab01.cpp:(.text+0x1ef): undefined reference to `jpeg_stdio_src(jpeg_decompress_struct*, _iobuf*)'
.objs\lab01.o:lab01.cpp:(.text+0x205): undefined reference to `jpeg_read_header(jpeg_decompress_struct*, char)'
.objs\lab01.o:lab01.cpp:(.text+0x213): undefined reference to `jpeg_start_decompress(jpeg_decompress_struct*)'
.objs\lab01.o:lab01.cpp:(.text+0x299): undefined reference to `jpeg_read_scanlines(jpeg_decompress_struct*, unsigned char**, unsigned int)'
.objs\lab01.o:lab01.cpp:(.text+0x3ce): undefined reference to `jpeg_finish_decompress(jpeg_decompress_struct*)'
.objs\lab01.o:lab01.cpp:(.text+0x3dc): undefined reference to `jpeg_destroy_decompress(jpeg_decompress_struct*)'
.objs\lab01.o:lab01.cpp:(.text+0x432): undefined reference to `jpeg_std_error(jpeg_error_mgr*)'
.objs\lab01.o:lab01.cpp:(.text+0x467): undefined reference to `jpeg_destroy_decompress(jpeg_decompress_struct*)'
.objs\lab01.o:lab01.cpp:(.text+0x498): undefined reference to `jpeg_CreateDecompress(jpeg_decompress_struct*, int, unsigned int)'
.objs\lab01.o:lab01.cpp:(.text+0x4b0): undefined reference to `jpeg_stdio_src(jpeg_decompress_struct*, _iobuf*)'
.objs\lab01.o:lab01.cpp:(.text+0x4c6): undefined reference to `jpeg_read_header(jpeg_decompress_struct*, char)'
.objs\lab01.o:lab01.cpp:(.text+0x4d4): undefined reference to `jpeg_start_decompress(jpeg_decompress_struct*)'
.objs\lab01.o:lab01.cpp:(.text+0x4f8): undefined reference to `jpeg_destroy_decompress(jpeg_decompress_struct*)'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
my problem is, the program detect linker cannot link to the jpeg.lib
help guys need really help A.S.A.P
-
Project -> Build Options -> Linker, add the library name, switch to Directories tab, select Linker add the directory that the library resides in.
-
yop, thanks for the tips but it's cannot work either. please!! i'm i missing something except that tips.?? :(
-
Hello,
Could you post which C::B/OS version do you use, library you are trying, etc.
Best wishes,
Michael
-
hi there :
tq for helping ::the code block that im using are version 1.0 and using os microsof wondows servis pack 2.0 any sugestion plez:: im trying to find link jpeg.lib
tq
need help :
sampah
-
hi there :
tq for helping ::the code block that im using are version 1.0 and using os microsof wondows servis pack 2.0 any sugestion plez:: im trying to find link jpeg.lib
Thanks :). But I meant if you are using C::B RC2 or a nightly build. If you are using a nightly build then post the revision number. Regarding the jpeg.lib is the jpeg.lib from wxWidgets?
Best wishes,
Michael
-
nope from here.
-
nope from here.
:?