locked
what to do with this? RRS feed

  • Question

  • 1>Fot2meter.cpp

    1>Linking...

    1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

    1>C:\Users\Media Markt\Documents\Visual Studio 2008\Projects\Project1\FtoMTable\Debug\FtoMTable.exe : fatal error LNK1120: 1 unresolved externals

    1>Build log was saved at "file://c:\Users\Media Markt\Documents\Visual Studio 2008\Projects\Project1\FtoMTable\FtoMTable\Debug\BuildLog.htm"

    1>FtoMTable - 2 error(s), 0 warning(s)

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

     

    Saturday, November 22, 2008 3:53 PM

Answers

  • The linker is looking for your main() function.  Did you write one?
    Saturday, November 22, 2008 4:08 PM
    Moderator