Questo sito utilizza cookies, anche di terze parti, per mostrare pubblicità e servizi in linea con il tuo account. Leggi l'informativa sui cookies.
Username: Password: oppure
C/C++ - Convertire immagini da bmp a jpg
Forum - C/C++ - Convertire immagini da bmp a jpg

Pagine: [ 1 2 ] Precedente | Prossimo
Avatar
geeko (Normal User)
Newbie


Messaggi: 5
Iscritto: 11/06/2007

Segnala al moderatore
Postato alle 16:10
Mercoledì, 11/07/2007
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

PM Quote
Avatar
netarrow (Admin)
Guru^2


Messaggi: 2502
Iscritto: 12/05/2004

Segnala al moderatore
Postato alle 10:35
Domenica, 15/07/2007
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



Mai memorizzare quello che puoi comodamente trovare in un libro.
Imparare è un'esperienza; tutto il resto è solo informazione.
L'immaginazione è più importante della conoscenza.
(A. Einstein)


Esistendo poi google...
PM Quote
Avatar
geeko (Normal User)
Newbie


Messaggi: 5
Iscritto: 11/06/2007

Segnala al moderatore
Postato alle 0:40
Lunedì, 16/07/2007
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-|

Codice sorgente - presumibilmente Delphi

  1. ------ Build started: Project: capdriver, Configuration: Debug Win32 ------
  2. Compiling...
  3. zip.cpp
  4. .\zip.cpp(2228) : warning C4996: 'strcpy' was declared deprecated
  5.         C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
  6.         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.'
  7. .\zip.cpp(2561) : warning C4996: 'strcpy' was declared deprecated
  8.         C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
  9.         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.'
  10. .\zip.cpp(2582) : warning C4996: 'strcpy' was declared deprecated
  11.         C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
  12.         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.'
  13. .\zip.cpp(2586) : warning C4996: 'strcpy' was declared deprecated
  14.         C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
  15.         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.'
  16. .\zip.cpp(2589) : warning C4996: 'strcat' was declared deprecated
  17.         C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(78) : see declaration of 'strcat'
  18.         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.'
  19. .\zip.cpp(2590) : warning C4996: 'strcpy' was declared deprecated
  20.         C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
  21.         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.'
  22. .\zip.cpp(2765) : warning C4996: 'strncpy' was declared deprecated
  23.         C:\Programmi\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
  24.         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.'
  25. Webcam.cpp
  26. c:\documents and settings\geeko\documenti\visual studio 2005\projects\capdriver\capdriver\cximage\xiofile.h(24) : warning C4996: 'fopen' was declared deprecated
  27.         C:\Programmi\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen'
  28.         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.'
  29. Generating Code...
  30. Linking...
  31. cximage.lib(xmemfile.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
  32.    Creating library ciao.lib and object ciao.exp
  33. LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
  34. Webcam.obj : error LNK2019: unresolved external symbol __imp__CloseWindow@4 referenced in function "bool __cdecl GetWebcamPicture(void)" (?GetWebcamPicture@@YA_NXZ)
  35. Webcam.obj : error LNK2019: unresolved external symbol __imp__SendMessageA@16 referenced in function "bool __cdecl GetWebcamPicture(void)" (?GetWebcamPicture@@YA_NXZ)
  36. Webcam.obj : error LNK2019: unresolved external symbol __imp__IsWindow@4 referenced in function "bool __cdecl GetWebcamPicture(void)" (?GetWebcamPicture@@YA_NXZ)
  37. 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)
  38. 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)
  39. cximage.lib(ximawmf.obj) : error LNK2001: unresolved external symbol __imp__DeleteObject@4
  40. 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)
  41. 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)
  42. cximage.lib(ximatif.obj) : error LNK2019: unresolved external symbol _TIFFClose referenced in function "public: virtual __thiscall CxImageTIF::~CxImageTIF(void)" (??1CxImageTIF@@UAE@XZ)
  43. 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)
  44. 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)
  45. 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)
  46. 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)
  47. 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)
  48. 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)
  49. 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)
  50. 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)
  51. 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)
  52. 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)
  53. 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)
  54. 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)
  55. 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)
  56. 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)
  57. 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)
  58. 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)
  59. 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)
  60. 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)
  61. 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)
  62. 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)
  63. 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)
  64. 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)
  65. 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)
  66. 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)
  67. 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)
  68. 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)
  69. 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)
  70. 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)
  71. 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)
  72. 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)
  73. 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)
  74. 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)
  75. 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)
  76. 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)
  77. 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)
  78. 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)
  79. 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)
  80. 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)
  81. 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)
  82. 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)
  83. 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)
  84. 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)
  85. 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)
  86. 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)
  87. 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)
  88. 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)
  89. 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)
  90. 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)
  91. 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)
  92. 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)
  93. 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)
  94. 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)
  95. 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)
  96. 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)
  97. 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)
  98. 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)
  99. 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)
  100. 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)
  101. 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)
  102. 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)
  103. 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)
  104. 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)
  105. 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)
  106. 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)
  107. 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)
  108. 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)
  109. 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)
  110. 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)
  111. MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
  112. ciao.exe : fatal error LNK1120: 77 unresolved externals
  113. Build log was saved at "file://c:\Documents and Settings\geeko\Documenti\Visual Studio 2005\Projects\capdriver\capdriver\Debug\BuildLog.htm"
  114. capdriver - 79 error(s), 10 warning(s)
  115. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Ultima modifica effettuata da geeko il 16/07/2007 alle 1:51
PM Quote
Avatar
netarrow (Admin)
Guru^2


Messaggi: 2502
Iscritto: 12/05/2004

Segnala al moderatore
Postato alle 15:03
Lunedì, 16/07/2007
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 il 16/07/2007 alle 15:04



Mai memorizzare quello che puoi comodamente trovare in un libro.
Imparare è un'esperienza; tutto il resto è solo informazione.
L'immaginazione è più importante della conoscenza.
(A. Einstein)


Esistendo poi google...
PM Quote
Avatar
geeko (Normal User)
Newbie


Messaggi: 5
Iscritto: 11/06/2007

Segnala al moderatore
Postato alle 19:02
Martedì, 17/07/2007
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.


PM Quote
Avatar
netarrow (Admin)
Guru^2


Messaggi: 2502
Iscritto: 12/05/2004

Segnala al moderatore
Postato alle 22:39
Martedì, 17/07/2007
non saprei consigliarti alternative, verifica magari su msdn se c'è qualche API microsoft apposita



Mai memorizzare quello che puoi comodamente trovare in un libro.
Imparare è un'esperienza; tutto il resto è solo informazione.
L'immaginazione è più importante della conoscenza.
(A. Einstein)


Esistendo poi google...
PM Quote
Avatar
geeko (Normal User)
Newbie


Messaggi: 5
Iscritto: 11/06/2007

Segnala al moderatore
Postato alle 10:31
Mercoledì, 18/07/2007
ok grazie lo stesso, attendo vediamo se qualcuno ha avutoil mio stesso problema ed ha risolto;)

PM Quote
Avatar
alek777 (Normal User)
Rookie


Messaggi: 25
Iscritto: 18/09/2007

Segnala al moderatore
Postato alle 22:36
Venerdì, 28/09/2007
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


http:://shadescoding.altervista.org il mio blog!
PM Quote
Avatar
geeko (Normal User)
Newbie


Messaggi: 5
Iscritto: 11/06/2007

Segnala al moderatore
Postato alle 22:49
Sabato, 29/09/2007
visto che hai risolto posta la soluzione a tutti cosi  
chi ha avuto il mio stesso problema... può prendere spunto ;)

PM Quote
Pagine: [ 1 2 ] Precedente | Prossimo