|
Boost : |
Subject: [boost] [gil::io] clang compiler error
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-08-30 16:33:10
Hi all,
I'm trying to fix some compiler errors with clang and the new gil::io. The
following trivial code just wont compile:
extern "C"
{
#include <stdio.h>
#include <jpeglib.h>
}
int main()
{
jpeg_create_compress(NULL);
return 0;
}
The error is:
undefined reference to `jpeg_CreateCompress'
I guess it's a very simple solution but I'm not much experienced with clang
and gcc.
Thanks,
Christian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk