代码拉取完成,页面将自动刷新
同步操作将从 openKylin/libraw 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
================= Compile LibRaw with RawSpeed support ========================
0) RawSpeed version:
LibRaw supports 'master' version of RawSpeed library: https://github.com/darktable-org/rawspeed/tree/master
Although this version is really outdated, newer versions does not looks stable enough for production
use (for example, this critical issue not fixed for 10+ months: https://github.com/darktable-org/rawspeed/issues/100 )
1) Prerequisites
To build RawSpeed you need libxml2, iconv, and JPEG library installed on your
system.
2) Build RawSpeed:
-- consult http://rawstudio.org/blog/?p=800 for details
-- Win32: you need POSIX Threads for Win32 installed on your system
(http://sources.redhat.com/pthreads-win32/)
-- you may use qmake .pro files supplied in LibRaw distribution
(RawSpeed/rawspeed.qmake-pro-files.patch)
Adjust path to libraries/includes according to your setup.
-- Win32: you need to add __declspec(..) to external C++ classes.
Use patch provided with LibRaw (RawSpeed/rawspeed.win32-dll.patch)
-- Unix: you need to define rawspeed_get_number_of_processor_cores() call
For most unix systems (Linux, MacOS X 10.4+, FreeBSD) patch provided
with LibRaw (RawSpeed/rawspeed.cpucount-unix.patch) should work.
3) Build LibRaw with RawSpeed support:
Win32:
--Uncomment CFLAGS_RAWSPEED and LDFLAGS_RAWSPEED lines in
Makefile.msvc. Adjust paths to libraries/includes if needed.
-- run nmake -f Makefile.msvc
Unix/MacOS:
-- Uncomment CFLAGS/LDADD lines in RawSpeed section in Makefile.dist
-- Uncomment RAWSPEED_DATA line if you wish to rebuild
internal copy of RawSpeed's cameras.xml
-- run make -f Makefile.dist
Compile options:
-- You may specify -DNOSONY_RAWSPEED define if you do not want to use
RawSpeed's Sony formats decoder (because result of this decoder is
different from LibRaw's built-in decoder)
4) Build/run your Apps with LibRaw+RawSpeed
-- Build as usual, no changes required in your apps unless you
access LibRaw::imgdata.rawdata.raw_image[] directly
-- you may turn off RawSpeed support on runtime by setting
imgdata.params.use_rawspeed to 0.
-- You'll need all shared libraries you linked to at runtime (libxml2,
iconv, LibJPEG, and posix threads on Win32).
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。