Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - YetiRevolution

Pages: [1]
1
General / Re: Compiling as Windows vs Console application
« on: September 29, 2013, 10:42:31 pm »
Thanks a ton, that worked perfectly!

2
General / Compiling as Windows vs Console application
« on: September 29, 2013, 09:14:19 am »
Hi, I'm rather new to C++ on Windows, and Visual Studio in general, so I apologize if this question is silly.

Basically, I'm having an issue compiling as a /SUBSYSTEM:WINDOWS application. I can compile easily when I select /SUBSYSTEM:CONSOLE, but for some reason this gives me errors when using other libraries (i.e. ClipperLib). The error I'm getting under /SUBSYSTEM:WINDOWS is a linker error:

Quote
Error   1   error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartu

I've googled around, and all the solutions say to switch back to /SUBSYSTEM:CONSOLE. Is there any way to avoid this? Thanks in advance for any help!

Pages: [1]
anything