Thread subject: sK1 Project :: UniConvertor error in Inkscape, MacOS

Posted by ferrante on 26-05-2010 18:19
#1

Hi,
I am running Inkscape 0.47 in MacOS X 10.6.3 (Snow Leopard). I happily compiled and installed sk1libs and UniConvertor (took a time).
Now, I enter Inkscape and try to import a cdr file. I receive this script error:
Code
UniConvertor failed:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Python/2.6/site-packages/uniconvertor/__init__.py", line 77, in uniconv
    from app.io import load
  File "/Library/Python/2.6/site-packages/uniconvertor/app/__init__.py", line 69, in <module>
    from conf.configurator import Configurator
  File "/Library/Python/2.6/site-packages/uniconvertor/app/conf/configurator.py", line 11, in <module>
    from app.events import connector
  File "/Library/Python/2.6/site-packages/uniconvertor/app/__init__.py", line 122, in <module>
    from sk1libs.ft2engine import GetFont
  File "/Library/Python/2.6/site-packages/sk1libs/ft2engine/__init__.py", line 26, in <module>
    import ft2
ImportError: dlopen(/Library/Python/2.6/site-packages/sk1libs/ft2engine/ft2.so, 2): Symbol not found: _FT_Attach_Stream
  Referenced from: /Library/Python/2.6/site-packages/sk1libs/ft2engine/ft2.so
  Expected in: flat namespace
 in /Library/Python/2.6/site-packages/sk1libs/ft2engine/ft2.so




I have no clue...

Posted by shadyzay on 22-07-2010 13:58
#2

same error here ( Snow Leopard, Inkscape 0.47, sk1libs 0.9.1, uniconverter 1.1.5, PIL 1.1.7, freetype from /usr/X11/lib/freetype.6.dylib )

UniConvertor failed:

Traceback (most recent call last):
File "/usr/local/bin/uniconvertor", line 13, in <module>
uniconv_run()
File "/Library/Python/2.6/site-packages/uniconvertor/__init__.py", line 83, in uniconv_run
from app.io import load
File "/Library/Python/2.6/site-packages/uniconvertor/app/__init__.py", line 69, in <module>
from conf.configurator import Configurator
File "/Library/Python/2.6/site-packages/uniconvertor/app/conf/configurator.py", line 11, in <module>
from app.events import connector
File "/Library/Python/2.6/site-packages/uniconvertor/app/__init__.py", line 124, in <module>
from sk1libs.ft2engine import GetFont
File "/Library/Python/2.6/site-packages/sk1libs/ft2engine/__init__.py", line 26, in <module>
import ft2
ImportError: dlopen(/Library/Python/2.6/site-packages/sk1libs/ft2engine/ft2.so, 2): Symbol not found: _FT_Attach_Stream
Referenced from: /Library/Python/2.6/site-packages/sk1libs/ft2engine/ft2.so
Expected in: flat namespace
in /Library/Python/2.6/site-packages/sk1libs/ft2engine/ft2.so


Posted by igor on 22-07-2010 18:35
#3

Hi!

It seems UniConvertor font engine doesn't work correctly under MacOS X. I can try fixing this issue in August after vacation.

Posted by kvantos on 18-02-2011 16:31
#4

Hello,

so, any progress?

I also receive this error.

Thanks.

Posted by SoundMaster on 19-04-2011 22:36
#5

Hi! I have the similar trouble! Could You solve it please? (Mac Os X 10.6.7)
-------------
Code
UniConvertor failed:

Traceback (most recent call last):
  File "/usr/local/bin/uniconvertor", line 13, in <module>
    uniconv_run()
  File "/Library/Python/2.6/site-packages/uniconvertor/__init__.py", line 83, in uniconv_run
    from app.io import load
  File "/Library/Python/2.6/site-packages/uniconvertor/app/__init__.py", line 69, in <module>
    from conf.configurator import Configurator
  File "/Library/Python/2.6/site-packages/uniconvertor/app/conf/configurator.py", line 11, in <module>
    from app.events import connector
  File "/Library/Python/2.6/site-packages/uniconvertor/app/__init__.py", line 69, in <module>
    from conf.configurator import Configurator
  File "/Library/Python/2.6/site-packages/uniconvertor/app/conf/configurator.py", line 13, in <module>
    from sk1libs.utils.fs import gethome
ImportError: No module named sk1libs.utils.fs




Please! Help!!!
Thnx.

Edited by SoundMaster on 19-04-2011 22:38

Posted by SoundMaster on 19-04-2011 22:41
#6

When I try to install I have the next code:
Code
Last login: Wed Apr 20 01:30:07 on ttys001
Mac-Pro:~ arserniigorkin$ tar xzf sk1libs-0.9.1.tar.gz && cd sk1libs-0.9.1
Mac-Pro:sk1libs-0.9.1 arserniigorkin$ CFLAGS="-I/opt/local/include -I/opt/local/include/freetype2" LDFLAGS="-L/opt/local/lib" python setup.py build
running build
running build_py
running build_ext
building 'sk1libs.pycms._pycms' extension
gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/freetype2 -arch i386 -arch ppc -arch x86_64 -pipe -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/pycms/_pycms.c -o build/temp.macosx-10.6-universal-2.6/src/pycms/_pycms.o -Wall
src/pycms/_pycms.c:21:18: error: lcms.h: No such file or directory
src/pycms/_pycms.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getLCMStype’
src/pycms/_pycms.c: In function ‘pycms_OpenProfile’:
src/pycms/_pycms.c:74: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:74: error: (Each undeclared identifier is reported only once
src/pycms/_pycms.c:74: error: for each function it appears in.)
src/pycms/_pycms.c:74: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:79: warning: implicit declaration of function ‘cmsErrorAction’
src/pycms/_pycms.c:79: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:81: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:81: warning: implicit declaration of function ‘cmsOpenProfileFromFile’
src/pycms/_pycms.c:88: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateRGBProfile’:
src/pycms/_pycms.c:94: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:94: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:96: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:98: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:98: warning: implicit declaration of function ‘cmsCreate_sRGBProfile’
src/pycms/_pycms.c:105: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateLabProfile’:
src/pycms/_pycms.c:111: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:111: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:113: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:115: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:115: warning: implicit declaration of function ‘cmsCreateLabProfile’
src/pycms/_pycms.c:122: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateGrayProfile’:
src/pycms/_pycms.c:128: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:128: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:129: error: ‘LPGAMMATABLE’ undeclared (first use in this function)
src/pycms/_pycms.c:129: error: expected ‘;’ before ‘gamma’
src/pycms/_pycms.c:131: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:133: warning: implicit declaration of function ‘cmsBuildGamma’
src/pycms/_pycms.c:133: error: lvalue required as left operand of assignment
src/pycms/_pycms.c:134: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsCreateGrayProfile’
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsD50_xyY’
src/pycms/_pycms.c:135: warning: implicit declaration of function ‘cmsFreeGamma’
src/pycms/_pycms.c:142: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildTransform’:
src/pycms/_pycms.c:152: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:152: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:155: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:155: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:156: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:156: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:162: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:165: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:165: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:166: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:166: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:168: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘cmsCreateTransform’
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘getLCMStype’
src/pycms/_pycms.c:176: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildProofingTransform’:
src/pycms/_pycms.c:187: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:187: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:192: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:192: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:193: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:193: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:200: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:203: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:203: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:204: error: ‘hProofingProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:204: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:205: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:205: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:207: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:207: warning: implicit declaration of function ‘cmsCreateProofingTransform’
src/pycms/_pycms.c:215: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_SetAlarmCodes’:
src/pycms/_pycms.c:227: warning: implicit declaration of function ‘cmsSetAlarmCodes’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel’:
src/pycms/_pycms.c:239: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:239: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:246: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:256: warning: implicit declaration of function ‘cmsDoTransform’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel2’:
src/pycms/_pycms.c:270: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:270: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:277: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_TransformBitmap’:
src/pycms/_pycms.c:303: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:303: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:310: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_GetProfileName’:
src/pycms/_pycms.c:329: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:329: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:335: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:339: warning: implicit declaration of function ‘cmsTakeProductDesc’
src/pycms/_pycms.c: In function ‘pycms_GetProfileInfo’:
src/pycms/_pycms.c:346: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:346: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:352: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:356: warning: implicit declaration of function ‘cmsTakeProductName’
src/pycms/_pycms.c: In function ‘pycms_TransformPixels’:
src/pycms/_pycms.c:413: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:413: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:419: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:21:18: error: lcms.h: No such file or directory
src/pycms/_pycms.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getLCMStype’
src/pycms/_pycms.c: In function ‘pycms_OpenProfile’:
src/pycms/_pycms.c:74: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:74: error: (Each undeclared identifier is reported only once
src/pycms/_pycms.c:74: error: for each function it appears in.)
src/pycms/_pycms.c:74: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:79: warning: implicit declaration of function ‘cmsErrorAction’
src/pycms/_pycms.c:79: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:81: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:81: warning: implicit declaration of function ‘cmsOpenProfileFromFile’
src/pycms/_pycms.c:88: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateRGBProfile’:
src/pycms/_pycms.c:94: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:94: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:96: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:98: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:98: warning: implicit declaration of function ‘cmsCreate_sRGBProfile’
src/pycms/_pycms.c:105: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateLabProfile’:
src/pycms/_pycms.c:111: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:111: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:113: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:115: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:115: warning: implicit declaration of function ‘cmsCreateLabProfile’
src/pycms/_pycms.c:122: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateGrayProfile’:
src/pycms/_pycms.c:128: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:128: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:129: error: ‘LPGAMMATABLE’ undeclared (first use in this function)
src/pycms/_pycms.c:129: error: expected ‘;’ before ‘gamma’
src/pycms/_pycms.c:131: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:133: warning: implicit declaration of function ‘cmsBuildGamma’
src/pycms/_pycms.c:133: error: lvalue required as left operand of assignment
src/pycms/_pycms.c:134: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsCreateGrayProfile’
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsD50_xyY’
src/pycms/_pycms.c:135: warning: implicit declaration of function ‘cmsFreeGamma’
src/pycms/_pycms.c:142: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildTransform’:
src/pycms/_pycms.c:152: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:152: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:155: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:155: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:156: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:156: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:162: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:165: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:165: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:166: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:166: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:168: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘cmsCreateTransform’
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘getLCMStype’
src/pycms/_pycms.c:176: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildProofingTransform’:
src/pycms/_pycms.c:187: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:187: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:192: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:192: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:193: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:193: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:200: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:203: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:203: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:204: error: ‘hProofingProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:204: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:205: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:205: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:207: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:207: warning: implicit declaration of function ‘cmsCreateProofingTransform’
src/pycms/_pycms.c:215: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_SetAlarmCodes’:
src/pycms/_pycms.c:227: warning: implicit declaration of function ‘cmsSetAlarmCodes’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel’:
src/pycms/_pycms.c:239: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:239: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:246: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:256: warning: implicit declaration of function ‘cmsDoTransform’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel2’:
src/pycms/_pycms.c:270: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:270: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:277: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_TransformBitmap’:
src/pycms/_pycms.c:303: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:303: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:310: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_GetProfileName’:
src/pycms/_pycms.c:329: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:329: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:335: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:339: warning: implicit declaration of function ‘cmsTakeProductDesc’
src/pycms/_pycms.c: In function ‘pycms_GetProfileInfo’:
src/pycms/_pycms.c:346: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:346: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:352: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:356: warning: implicit declaration of function ‘cmsTakeProductName’
src/pycms/_pycms.c: In function ‘pycms_TransformPixels’:
src/pycms/_pycms.c:413: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:413: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:419: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:21:18: error: lcms.h: No such file or directory
src/pycms/_pycms.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getLCMStype’
src/pycms/_pycms.c: In function ‘pycms_OpenProfile’:
src/pycms/_pycms.c:74: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:74: error: (Each undeclared identifier is reported only once
src/pycms/_pycms.c:74: error: for each function it appears in.)
src/pycms/_pycms.c:74: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:79: warning: implicit declaration of function ‘cmsErrorAction’
src/pycms/_pycms.c:79: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:81: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:81: warning: implicit declaration of function ‘cmsOpenProfileFromFile’
src/pycms/_pycms.c:88: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateRGBProfile’:
src/pycms/_pycms.c:94: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:94: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:96: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:98: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:98: warning: implicit declaration of function ‘cmsCreate_sRGBProfile’
src/pycms/_pycms.c:105: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateLabProfile’:
src/pycms/_pycms.c:111: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:111: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:113: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:115: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:115: warning: implicit declaration of function ‘cmsCreateLabProfile’
src/pycms/_pycms.c:122: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateGrayProfile’:
src/pycms/_pycms.c:128: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:128: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:129: error: ‘LPGAMMATABLE’ undeclared (first use in this function)
src/pycms/_pycms.c:129: error: expected ‘;’ before ‘gamma’
src/pycms/_pycms.c:131: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:133: warning: implicit declaration of function ‘cmsBuildGamma’
src/pycms/_pycms.c:133: error: lvalue required as left operand of assignment
src/pycms/_pycms.c:134: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsCreateGrayProfile’
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsD50_xyY’
src/pycms/_pycms.c:135: warning: implicit declaration of function ‘cmsFreeGamma’
src/pycms/_pycms.c:142: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildTransform’:
src/pycms/_pycms.c:152: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:152: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:155: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:155: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:156: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:156: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:162: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:165: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:165: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:166: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:166: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:168: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘cmsCreateTransform’
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘getLCMStype’
src/pycms/_pycms.c:176: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildProofingTransform’:
src/pycms/_pycms.c:187: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:187: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:192: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:192: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:193: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:193: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:200: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:203: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:203: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:204: error: ‘hProofingProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:204: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:205: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:205: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:207: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:207: warning: implicit declaration of function ‘cmsCreateProofingTransform’
src/pycms/_pycms.c:215: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_SetAlarmCodes’:
src/pycms/_pycms.c:227: warning: implicit declaration of function ‘cmsSetAlarmCodes’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel’:
src/pycms/_pycms.c:239: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:239: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:246: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:256: warning: implicit declaration of function ‘cmsDoTransform’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel2’:
src/pycms/_pycms.c:270: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:270: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:277: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_TransformBitmap’:
src/pycms/_pycms.c:303: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:303: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:310: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_GetProfileName’:
src/pycms/_pycms.c:329: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:329: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:335: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:339: warning: implicit declaration of function ‘cmsTakeProductDesc’
src/pycms/_pycms.c: In function ‘pycms_GetProfileInfo’:
src/pycms/_pycms.c:346: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:346: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:352: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:356: warning: implicit declaration of function ‘cmsTakeProductName’
src/pycms/_pycms.c: In function ‘pycms_TransformPixels’:
src/pycms/_pycms.c:413: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:413: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:419: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
lipo: can't open input file: /var/folders/Sf/SftHqkR2Eti0xxAUah2yx++++TI/-Tmp-//ccZaPGfe.out (No such file or directory)
error: command 'gcc-4.2' failed with exit status 1
Mac-Pro:sk1libs-0.9.1 arserniigorkin$




Posted by igor on 20-04-2011 02:04
#7

Hi,

The problem cause is :

Code
error: lcms.h: No such file or directory




i.e. LCMS library headers are absent. You need installing this library and library headers to compile sk1libs package.