I could build the .lib, .dll and samples using LibRaw-0.14.7 by following the instructions of "Windows: Native Building". However when I tried to do the same thing using LibRaw-0.15.0-Alpha1, I got an error saying that
"cl.exe /EHsc /MP /MT /I. /DWIN32 /O2 /W0 /nologo /DUSE_JPEG /I..\jpeg-8d /DLIBRAW_BUILDLIB /Fo"object\\dcraw_common.obj" /c internal\dcraw_common.cpp
dcraw_common.cpp
.\internal/defines.h(58) : fatal error C1083: Cannot open include file: 'jpeglib.h': No such file or directory"
Hi Everyone,
I've just downloaded LibRaw and I want to use it in my project. I got the source files and I built it in my Visual Studio 2010 as 64 bit. However, When I tried to integrate it to my project, I got the errors below. I believe there is something about the way it is compiled - my project usually only accepts static libs, that might be the problem.
Could you help me? Maybe telling me how to compile LibRaw as static lib...
Error 286 error LNK2005: atoi already defined in MSVCRTD.lib(MSVCR100D.dll) C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(atox.obj)
Hi,
So I configured and ran make in the libraw folder. The library has been installed.
I just want to compile a very simple program on this page http://www.libraw.org/docs/Samples-LibRaw-eng.html
I have replaced the function name with main and file pointer with a constant.
What I don't get is to how to actually compile it.
I run the following command in the terminal
g++ -o rawexec -I/usr/local/include -L/usr/local/lib -lraw librawfile.cpp
and get a bunch of errors:
/usr/local/lib/libraw.so: undefined reference to `GOMP_loop_dynamic_next'
I've had issues getting OpenMP going on the Mac, both on a 10.6 / XCode3 system and on a 10.7 / XCode 4 system. The configure script says it's not available, but it is. FWIW, I can work around this by changing the configure script's sample OpenMP code (line 15359) to:
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
#include "omp.h"
int
main ()
{
omp_set_num_threads (2);
int count;
I was wondering, is libraw multithreaded when calling unpack()?
I would like to be able to use all cores on the tablet I am developing for, and am wondering if there is something to do about the speed on those limited devices?
I am trying to compile LibRaw for android, but I am getting stuck.
I downloaded the ndk, setup a standalone toolchain for android-9, added that bin folder as first to my path,
and ran ./configure --host=arm-linux-androideabi
I did need to update the config.sub file since it was very old and did not recognize this host setting. After that it completely ran ./configure and I tried to run make.
Here it however failed fast:
LibRaw-0.14.4$ make
depbase=`echo internal/dcraw_common.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
When LIBRAW_LIBRARY_BUILD is defined, the function smal_decode_segment() uses the uninitialized variable "row" in the latest 14.4 release, and in github.
The misuse of the uninitialized variable is at line 3094 in the 14.4 version, or line 3101 in the current code on github.
Recent comments