POLINK: warning: No object files specified; libraries used.

Started by aki34, March 02, 2011, 06:14:33 AM

Previous topic - Next topic

aki34

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

Vortex

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...