Library has no exported symbols

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Pisano
    New Member
    • Jan 2013
    • 1

    Library has no exported symbols

    I built a C++ static library using WatCom IDE. It compiles without error, but running WLIB on it produces the msg:
    Warning! Library contains no external symbols My WatCom compiler host is windows, & target is DOS. If I convert the Library to an .exe program, by adding a main(), it executes fine, So there seems to be something I'm missing in the IDE settings for building a .lib.
    Jim
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Do you mean an actual static library (.lib) or a dynamic link lib (.dll)? Often these two terms are interchanged.

    Comment

    • donbock
      Recognized Expert Top Contributor
      • Mar 2008
      • 2427

      #3
      Are the functions in your static library declared with the static keyword?

      Comment

      Working...