Menu

#125 LNK2001 compile error

0.50-win
closed
win32 (18)
3
2016-12-11
2005-01-11
Benjamin
No

I am converting a C++ program (called wordfinder) from
linux to windows.
The program uses the aspell library obtained from the
aspell-dev-0-50-3-3.zip. It worked fine under linux but
produced multiple LNK2001 compile errors in VS.NET:

wordfinder error LNK2001: unresolved external symbol
"char const * __cdecl aspell_error_message(struct
AspellCanHaveError const *)"
(?aspell_error_message@@$$J0YAPBDPBUAspellCanHaveError@@@Z)
.
.
.
.
wordfinder error LNK2001: unresolved external symbol
"void __cdecl delete_aspell_config(struct AspellConfig
*)" (?delete_aspell_config@@$$J0YAXPAUAspellConfig@@@Z)

wordfinder fatal error LNK1120: 8 unresolved externals

I'm a newbie in C++ and don't know where to start to
solve such problem. Thank you very much for your time.

Discussion

  • Kevin Atkinson

    Kevin Atkinson - 2005-01-12
    • labels: 444567 --> win32
     
  • Kevin Atkinson

    Kevin Atkinson - 2005-01-12
    • priority: 5 --> 3
     
  • Kevin Atkinson

    Kevin Atkinson - 2016-12-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     I am converting a C++ program \(called wordfinder\) from
     linux to windows.
     The program uses the aspell library obtained from the
    
    • status: open --> closed
    • Group: --> 0.50-win
     
  • Kevin Atkinson

    Kevin Atkinson - 2016-12-11

    Aspell 0.50 is no longer supported. Sorry.