NO

Author Topic: POLINK: warning: No object files specified; libraries used.  (Read 2339 times)

aki34

  • Guest
POLINK: warning: No object files specified; libraries used.
« on: March 02, 2011, 06:14:33 am »
I'm getting this error when i try to build the c file:

POLINK: warning: No object files specified; libraries used.
POLINK: error: Unresolved external symbol '__mainCRTStartup'.
POLINK: fatal error: 1 unresolved external(s).
*** Error code: 1 ***


How do i fix this????

Thanks

Offline Vortex

  • Member
  • *
  • Posts: 529
    • http://www.vortex.masmcode.com
Re: POLINK: warning: No object files specified; libraries used.
« Reply #1 on: March 02, 2011, 10:09:52 pm »
Hi aki34,

Did you choose the right project type? ( console or GUI ) mainCRTStartup is for console applications and WinMainCRTStartup is used for GUI applications.
Code it... That's all...