Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Can't compile console application with MS C++ Toolkit
Can't compile console application with MS C++ Toolkit [message #50] Tue, 22 November 2005 22:14 Go to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
Hello all,

I'm trying out Ultimate++ release 511, I choosed to create new package from something like "console (no U++)" template, and compile it with MS C++ toolkit.

It will fail due to this problem:

LIBCD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup

This is because the executable is linked with
"-subsystem:windows"
option, while it should be linked with "-subsystem:console" option.

I know how to make it work in command line (sorry, I didn't bother to try if this is the only problem, and linking process is really succesfull after this change, so maybe there is more to do), but I don't know how to change this option in Ultimate++ IDE!

I checked some basic menus like Setup/Build methods and Build/Output mode, where I would expect the ability to change all options (like the Visual Studio has it in project properties), but I can't find a way to change this behaviour from IDE menu.

I didn't read any manuals yet, so I don't know if I can change this behaviour by editing some .ini files or something like that...

I just wished to try the IDE out, and use it for some simple console applications to produce some text files with numeric tables... so far it *looks* neat, but doesn't work for me.

I'm looking forward to try the IDE in action, hopefully someone will know how to fix this problem.

P.S.
I can't switch off this board from turning "_WinMain@16" into clickable e-mail automatically... heh...
 
Read Message
Read Message
Read Message
Read Message
Next Topic: howto see assembly code? [SOLVED]
Goto Forum:
  


Current Time: Fri May 10 03:56:50 CEST 2024

Total time taken to generate the page: 0.03091 seconds