Menu

What do we link with?

Campbell
2014-07-06
2014-07-06
  • Campbell

    Campbell - 2014-07-06

    Thanks for the great port, everything seems to compile fine. However, on unix I need to link against flex (-lfl) and I cannot find an equivalent for Windows. I don't see any files that will compile to give me a library and as such get a link error for yywrap.

    lexer.flex.obj : error LNK2019: unresolved external symbol _yywrap referenced in function "int __cdecl yyinput(void)" (?yyinput@@YAHXZ)

    I'm sure I'm just being stupid (I've been converting code for about 6 hours...) but I cannot figure it out, so any help would be appreciated.

     

    Last edit: Campbell 2014-07-06
  • Campbell

    Campbell - 2014-07-06

    Ugh, I ACTUALLY READ the error message and fixed the issue, sorry for this complete and utter waste of time.

    http://stackoverflow.com/questions/1811125/undefined-reference-to-yywrap

     
  • Alex Zhondin

    Alex Zhondin - 2014-07-06

    You are welcome!
    In case any other questions feel free to ask here.
    I will try to help.

     

Log in to post a comment.