#1 Build problems with .NET 2003

open
nobody
None
5
2006-11-10
2004-10-01
Domenic Datti
No

I had no problems building LAME with NASM, but when I
attempt to build recmp3 with all the correct library and
include files set the way you described it in the
readme.txt, I get the following linker errors:

recmp3 warning LNK4075: ignoring '/EDITANDCONTINUE'
due to '/INCREMENTAL:NO' specification
recmp3 warning LNK4098: defaultlib 'LIBCD' conflicts
with use of other libs; use /NODEFAULTLIB:library
recmp3 error LNK2019: unresolved external symbol
_ExitMP3 referenced in function _lame_decode_exit
recmp3 error LNK2019: unresolved external symbol
_InitMP3 referenced in function _lame_decode_init
recmp3 error LNK2001: unresolved external symbol
_tabsel_123
recmp3 error LNK2001: unresolved external symbol _freqs
recmp3 error LNK2019: unresolved external symbol
_decodeMP3 referenced in function
_lame_decode1_headersB
recmp3 error LNK2019: unresolved external symbol
_decodeMP3_unclipped referenced in function
_lame_decode1_unclipped
recmp3 fatal error LNK1120: 6 unresolved externals

Have you, or has anyone else been successful building
recmp3 in any VS.NET version?

Discussion

  • Logged In: NO

    I received similar errors under MSVC 6.0 (with all the
    patches installed).

     
  • Glorfindel
    Glorfindel
    2005-06-22

    Logged In: YES
    user_id=998115

    --------------------Configuration: recmp3 - Win32
    Debug--------------------
    Compiling...
    recmp3Dlg.cpp
    Linking...
    LINK : warning LNK4098: defaultlib "LIBC" conflicts with use
    of other libs; use /NODEFAULTLIB:library
    libmp3lame.lib(mpglib_interface.obj) : error LNK2001:
    unresolved external symbol _ExitMP3
    libmp3lame.lib(mpglib_interface.obj) : error LNK2001:
    unresolved external symbol _InitMP3
    libmp3lame.lib(mpglib_interface.obj) : error LNK2001:
    unresolved external symbol _tabsel_123
    libmp3lame.lib(mpglib_interface.obj) : error LNK2001:
    unresolved external symbol _freqs
    libmp3lame.lib(mpglib_interface.obj) : error LNK2001:
    unresolved external symbol _decodeMP3
    libmp3lame.lib(mpglib_interface.obj) : error LNK2001:
    unresolved external symbol _decodeMP3_unclipped
    Debug/recmp3.exe : fatal error LNK1120: 6 unresolved externals
    Error executing link.exe.

    recmp3.exe - 7 error(s), 1 warning(s)

    Thats the compiler output I get for MSVC.

     
  • Domenic Datti
    Domenic Datti
    2006-11-10

    • labels: 566644 -->