Menu

#5 icProfile class doesn't build under MacOSX 10.7

Unstable (example)
open
nobody
None
5
2015-12-25
2015-12-25
Igor
No

I didn't try to build whole iccProfLib, just iccProfile class.
IDE used Qt
files, added to build:
/SampleICC/IccProfLib/IccProfile.cpp \ /SampleICC/IccProfLib/IccIO.cpp \ /SampleICC/IccProfLib/IccConvertUTF.cpp \ /SampleICC/IccProfLib/IccUtil.cpp \ /SampleICC/IccProfLib/IccMpeACS.cpp \ /SampleICC/IccProfLib/IccMpeBasic.cpp \ /SampleICC/IccProfLib/IccMpeFactory.cpp \ /SampleICC/IccProfLib/IccTagBasic.cpp \ /SampleICC/IccProfLib/IccTagDict.cpp \ /SampleICC/IccProfLib/IccTagFactory.cpp \ /SampleICC/IccProfLib/IccTagLut.cpp \ /SampleICC/IccProfLib/IccTagMPE.cpp \ /SampleICC/IccProfLib/IccTagProfSeqId.cpp .
Compiler: GCC
build fails in iccUtil.cpp, because under MacOSX there is define, #ifdef ICC_WCHAR_32BIT
so building goes in different way then under Windows.

Attached patch (generated from git, dunno if it can be applied automatically to SVN, but it's only few lines). Not sure if logically it's fully ok, but fixes build and looks ok for me.

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.