Oppure

Loading
11/07/07 14:10
geeko
Salve ho necessità di convertire un immagine bitmap a jpg.

Ho provato ad usare la libreria Cximage ma anche se ho scaricato la versione adatta al mio compilatore (microsoft visual c++ 8) non riesco a farla funzionare ottenendo infiniti messaggi di "unresolved external symbols" (anche se ho compilato e linkato tutte le librerie necessarie)

Qualcuno potrebbe consigliarmi un metodo funzionante con il compilatore che uso e magari anche semplice? :)

Grazie anticipatamente per la risposta

Ciao
aaa
15/07/07 8:35
netarrow
se guardi Beatrix ha una funzione per covnertire le bmp in jpg, e usa anche la libreria jpeg.lib, se linkavi anche questa e ti da ancora errori prova ad aggiungere questo:

#pragma comment(lib,"CxImage/CxImage.lib";)
#pragma comment(lib,"Jpeg/jpeg.lib";)

tenendo le lib in cartelle chiamate CxImage e Jpeg allo stesso livello del progetto
aaa
15/07/07 22:40
geeko
Non ostante abbia linkato tali librerie e usato il medesimo codice continuo a ricevere milioni di questi errori:

posto sotto gli errori di compilazione forse potete aiutarmi 8-|

------ Build started: Project: capdriver, Configuration: Debug Win32 ------
Compiling...
zip.cpp
.\zip.cpp(2228) : warning C4996: 'strcpy' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\zip.cpp(2561) : warning C4996: 'strcpy' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\zip.cpp(2582) : warning C4996: 'strcpy' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\zip.cpp(2586) : warning C4996: 'strcpy' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\zip.cpp(2589) : warning C4996: 'strcat' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(78) : see declaration of 'strcat'
        Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\zip.cpp(2590) : warning C4996: 'strcpy' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\zip.cpp(2765) : warning C4996: 'strncpy' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
        Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
Webcam.cpp
c:\documents and settings\geeko\documenti\visual studio 2005\projects\capdriver\capdriver\cximage\xiofile.h(24) : warning C4996: 'fopen' was declared deprecated
        C:\Programmi\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
Generating Code...
Linking...
cximage.lib(xmemfile.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
   Creating library ciao.lib and object ciao.exp
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
Webcam.obj : error LNK2019: unresolved external symbol __imp__CloseWindow@4 referenced in function "bool __cdecl GetWebcamPicture(void)" (?GetWebcamPicture@@YA_NXZ)
Webcam.obj : error LNK2019: unresolved external symbol __imp__SendMessageA@16 referenced in function "bool __cdecl GetWebcamPicture(void)" (?GetWebcamPicture@@YA_NXZ)
Webcam.obj : error LNK2019: unresolved external symbol __imp__IsWindow@4 referenced in function "bool __cdecl GetWebcamPicture(void)" (?GetWebcamPicture@@YA_NXZ)
zip.obj : error LNK2019: unresolved external symbol __imp__GetDesktopWindow@0 referenced in function "public: unsigned long __thiscall TZip::Add(char const *,void *,unsigned int,unsigned long)" (?Add@TZip@@QAEKPBDPAXIK@Z)
cximage.lib(ximasel.obj) : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "public: bool __thiscall CxImage::SelectionToHRGN(struct HRGN__ * &)" (?SelectionToHRGN@CxImage@@QAE_NAAPAUHRGN__@@@Z)
cximage.lib(ximawmf.obj) : error LNK2001: unresolved external symbol __imp__DeleteObject@4
cximage.lib(ximasel.obj) : error LNK2019: unresolved external symbol __imp__CombineRgn@16 referenced in function "public: bool __thiscall CxImage::SelectionToHRGN(struct HRGN__ * &)" (?SelectionToHRGN@CxImage@@QAE_NAAPAUHRGN__@@@Z)
cximage.lib(ximasel.obj) : error LNK2019: unresolved external symbol __imp__CreateRectRgn@16 referenced in function "public: bool __thiscall CxImage::SelectionToHRGN(struct HRGN__ * &)" (?SelectionToHRGN@CxImage@@QAE_NAAPAUHRGN__@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFClose referenced in function "public: virtual __thiscall CxImageTIF::~CxImageTIF(void)" (??1CxImageTIF@@UAE@XZ)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFReadEncodedStrip referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFComputeStrip referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFReadTile referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFTileRowSize referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFScanlineSize referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFTileSize referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFIsTiled referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFStripSize referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFReadRGBAImage referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFSetField referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFGetFieldDefaulted referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFGetField referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFSetDirectory referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFNumberOfDirectories referenced in function "public: bool __thiscall CxImageTIF::Decode(class CxFile *)" (?Decode@CxImageTIF@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFWriteDirectory referenced in function "public: bool __thiscall CxImageTIF::Encode(class CxFile *,bool)" (?Encode@CxImageTIF@@QAE_NPAVCxFile@@_N@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFWriteScanline referenced in function "protected: bool __thiscall CxImageTIF::EncodeBody(struct tiff *,bool,int,int)" (?EncodeBody@CxImageTIF@@IAE_NPAUtiff@@_NHH@Z)
cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFDefaultStripSize referenced in function "protected: bool __thiscall CxImageTIF::EncodeBody(struct tiff *,bool,int,int)" (?EncodeBody@CxImageTIF@@IAE_NPAUtiff@@_NHH@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__GetDIBits@28 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__PlayEnhMetaFile@12 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__RealizePalette@4 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__SelectPalette@12 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__CreatePalette@4 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__DeleteDC@4 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__GetEnhMetaFilePaletteEntries@12 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__ExtTextOutA@32 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__SetBkColor@8 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__GetSysColor@4 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__SelectObject@8 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__CreateCompatibleDC@4 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__CreateCompatibleBitmap@12 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__DeleteEnhMetaFile@4 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__GetDeviceCaps@8 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function "public: bool __thiscall CxImageWMF::Decode(class CxFile *,long,long)" (?Decode@CxImageWMF@@QAE_NPAVCxFile@@JJ@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__SetWinMetaFileBits@16 referenced in function "protected: struct HENHMETAFILE__ * __thiscall CxImageWMF::ConvertWmfFiletoEmf(class CxFile *,struct CxImageWMF::tagMETAFILEHEADER *)" (?ConvertWmfFiletoEmf@CxImageWMF@@IAEPAUHENHMETAFILE__@@PAVCxFile@@PAUtagMETAFILEHEADER@1@@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__GetEnhMetaFileHeader@12 referenced in function "protected: struct HENHMETAFILE__ * __thiscall CxImageWMF::ConvertEmfFiletoEmf(class CxFile *,struct tagENHMETAHEADER *)" (?ConvertEmfFiletoEmf@CxImageWMF@@IAEPAUHENHMETAFILE__@@PAVCxFile@@PAUtagENHMETAHEADER@@@Z)
cximage.lib(ximawmf.obj) : error LNK2019: unresolved external symbol __imp__SetEnhMetaFileBits@8 referenced in function "protected: struct HENHMETAFILE__ * __thiscall CxImageWMF::ConvertEmfFiletoEmf(class CxFile *,struct tagENHMETAHEADER *)" (?ConvertEmfFiletoEmf@CxImageWMF@@IAEPAUHENHMETAFILE__@@PAVCxFile@@PAUtagENHMETAHEADER@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_read_end referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_read_row referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_interlace_handling referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_bgr referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_filler referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_expand referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_gray_to_rgb referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_strip_16 referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_background referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_get_bKGD referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_read_info referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_error_fn referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_read_fn referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_destroy_read_struct referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_create_info_struct referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_create_read_struct referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)" (?Decode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_error referenced in function "protected: static void __cdecl CxImagePNG::user_read_data(struct png_struct_def *,unsigned char *,unsigned int)" (?user_read_data@CxImagePNG@@KAXPAUpng_struct_def@@PAEI@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_write_end referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_write_row referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_write_info referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_IHDR referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_pHYs referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_bKGD referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_set_write_fn referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_destroy_write_struct referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_create_write_struct referenced in function "public: bool __thiscall CxImagePNG::Encode(class CxFile *)" (?Encode@CxImagePNG@@QAE_NPAVCxFile@@@Z)
cximage.lib(tif_xfile.obj) : error LNK2019: unresolved external symbol _TIFFClientOpen referenced in function "struct tiff * __cdecl _TIFFFdOpen(int,char const *,char const *)" (?_TIFFFdOpen@@YAPAUtiff@@HPBD0@Z)
cximage.lib(tif_xfile.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "void __cdecl Win32WarningHandler(char const *,char const *,char *)" (?Win32WarningHandler@@YAXPBD0PAD@Z)
cximage.lib(tif_xfile.obj) : error LNK2019: unresolved external symbol __imp__GetFocus@0 referenced in function "void __cdecl Win32WarningHandler(char const *,char const *,char *)" (?Win32WarningHandler@@YAXPBD0PAD@Z)
cximage.lib(tif_xfile.obj) : error LNK2019: unresolved external symbol __imp__wvsprintfA@12 referenced in function "void __cdecl Win32WarningHandler(char const *,char const *,char *)" (?Win32WarningHandler@@YAXPBD0PAD@Z)
cximage.lib(tif_xfile.obj) : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function "void __cdecl Win32WarningHandler(char const *,char const *,char *)" (?Win32WarningHandler@@YAXPBD0PAD@Z)
MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
ciao.exe : fatal error LNK1120: 77 unresolved externals
Build log was saved at "file://c:\Documents and Settings\geeko\Documenti\Visual Studio 2005\Projects\capdriver\capdriver\Debug\BuildLog.htm"
capdriver - 79 error(s), 10 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Ultima modifica effettuata da geeko 15/07/07 23:51
aaa
16/07/07 13:03
netarrow
o il vs8 è incompatibile o ci deve essere qualche lib che fa conflitto.

Per curiosità prova a compilare beatrix, se non funziona neanche quello sono proprio le librerie che non vanno in questa versione di vs.
Ultima modifica effettuata da netarrow 16/07/07 13:04
aaa
17/07/07 17:02
geeko
no non riesco a compilare neanche beatrix ho degli errori simili.

Non esiste qualche alternativa semplice e compatibile (si immagino che esista ma quale?)

grazie ancora per l'aiuto.

aaa
17/07/07 20:39
netarrow
non saprei consigliarti alternative, verifica magari su msdn se c'è qualche API microsoft apposita
aaa
18/07/07 8:31
geeko
ok grazie lo stesso, attendo vediamo se qualcuno ha avutoil mio stesso problema ed ha risolto;)
aaa
28/09/07 20:36
alek777
io ho risolto però uso una dll che non mi pare molto buona..è lemtissimo

cmq col devc++ ho aggiunto libjpg
è un po lungo il codice (2k) chi vuole il progetto mi può contattare :k:

il codice non l'ho fatto interamente io però va :D
aaa