Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

DevIL Discussion :

[DEVIL] Linker error


Sujet :

DevIL

  1. #1
    Nouveau membre du Club
    [DEVIL] Linker error
    Hello, je suis en train de passer mon project sous visual 2005 (vista oblige)
    Et j'ai quelques difficultées avec Devil.
    Je lai recompilé (dernere vesion) en librairie static sans trop de problemes, mais quand je link avec mon project, j'ai une floppée d'erreurs de declaration external symbol

    Code :Sélectionner tout -Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
     
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilIsValidHdrF referenced in function _ilDetermineTypeF
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilIsValidHdrL referenced in function _ilDetermineTypeL
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilIsValidHdr referenced in function _ilIsValid@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadXpm referenced in function _ilLoad@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadPxr referenced in function _ilLoad@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadPix referenced in function _ilLoad@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadHdr referenced in function _ilLoad@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadXpmF referenced in function _ilLoadF@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadPxrF referenced in function _ilLoadF@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadPixF referenced in function _ilLoadF@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadHdrF referenced in function _ilLoadF@8
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadXpmL referenced in function _ilLoadL@12
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadPxrL referenced in function _ilLoadL@12
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadPixL referenced in function _ilLoadL@12
    1>Devil.lib(il_io.obj) : error LNK2019: unresolved external symbol _ilLoadHdrL referenced in function _ilLoadL@12
    1>Devil.lib(il_alloc.obj) : error LNK2019: unresolved external symbol _valloc referenced in function _vec_malloc
    1>Devil.lib(png.obj) : error LNK2019: unresolved external symbol _crc32 referenced in function _png_reset_crc
    1>Devil.lib(png.obj) : error LNK2019: unresolved external symbol _inflateReset referenced in function _png_reset_zstream
    1>Devil.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflateReset
    1>Devil.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateInit_ referenced in function _png_create_read_struct_2
    1>Devil.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflate referenced in function _png_read_row
    1>Devil.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflate
    1>Devil.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function _png_read_destroy
    1>Devil.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflate referenced in function _png_write_flush
    1>Devil.lib(pngwutil.obj) : error LNK2001: unresolved external symbol _deflate
    1>Devil.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflateEnd referenced in function _png_write_destroy
    1>Devil.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateReset referenced in function _png_write_compressed_data_out
    1>Devil.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateInit2_ referenced in function _png_write_IHDR


    Visiblement cela concerne aussi libpng (que j'ai rebuildé aussi), mais dans le project devil je ne vois aucune reference a cette librairie, mis a part le header png.h

    Si quelqu'un a deja eu ce probleme, je serais ravi d'en connaitre la cause...

  2. #2
    Nouveau membre du Club
    Bon, j'ai fini par trouver

    J'ai du refaire le project complet, celui fourni ne fonctionais pas.
    Apres avoir batailler pour inclure tout les fichier neccesaires, ca compile enfin.
    Reste plus qu'a tester...

###raw>template_hook.ano_emploi###