in reply to Testing JPEGs for validity (windows)
I sorted the dependencies for libjpeg and fixed the 'cr' error but it still won't compile:
c:\Perl\test\Image-TestJPG-1.0\Image-TestJPG-1.0\mydatasrc> lib /out:l +ibmydatasr c.lib mydatasrc.obj Microsoft (R) Library Manager Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. c:\Perl\test\Image-TestJPG-1.0\Image-TestJPG-1.0>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. c:\PROGRA~2\MICROS~1.0\VC\BIN\nmake.exe -f Makefile all -nolog +o C:\Perl\bin\perl.exe -MExtUtils::Command -e "rm_rf" -- ..\blib +\arch\auto \Image\TestJPG\mydatasrc\mydatasrc.lib lib -out:..\blib\arch\auto\Image\TestJPG\mydatasrc\mydatasrc.l +ib mydatas rc.obj Microsoft (R) Library Manager Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 ..\ +blib\arch\ auto\Image\TestJPG\mydatasrc\mydatasrc.lib cd .. C:\Perl\bin\perl.exe C:\Perl\site\lib\ExtUtils\xsubpp -typema +p C:\Perl\ lib\ExtUtils\typemap TestJPG.xs > TestJPG.xsc && C:\Perl\bin\perl.exe + -MExtUtil s::Command -e "mv" -- TestJPG.xsc TestJPG.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_ST RICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPER +L_IMPLICIT _CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Z +i -DNDEBUG -O1 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" "-IC:\Perl\lib\CORE" + TestJPG. c TestJPG.c TestJPG.xs(47) : warning C4003: not enough actual parameters for macro + 'PerlProc _setjmp' TestJPG.xs(47) : warning C4013: 'PerlProc_setjmp' undefined; assuming +extern ret urning int Running Mkbootstrap for Image::TestJPG () C:\Perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Tes +tJPG.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('N +AME'=>\"Im age::TestJPG\", 'DLBASE' => 'TestJPG', 'DL_FUNCS' => { }, 'FUNCLIST' +=> [], 'IM PORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Image\TestJPG\TestJPG.dll -dll -nolog +o -nodefau ltlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 T +estJPG.obj mydatasrc/libmydatasrc.lib ... ... a long list of paths snipped ... -def:TestJPG.def Creating library blib\arch\auto\Image\TestJPG\TestJPG.lib and objec +t blib\arc h\auto\Image\TestJPG\TestJPG.exp TestJPG.obj : error LNK2019: unresolved external symbol _PerlProc_setj +mp referen ced in function _XS_Image__TestJPG_testJPG blib\arch\auto\Image\TestJPG\TestJPG.dll : fatal error LNK1120: 1 unre +solved ext ernals NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual S +tudio 9.0\ VC\BIN\link.EXE"' : return code '0x460' Stop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing JPEGs for validity (windows)
by Anonymous Monk on Jul 13, 2010 at 09:01 UTC |