Menu

#2 undefined reference to `_WinMain@16'

open
nobody
5
2008-07-21
2008-07-21
Anonymous
No

Hi.

I´m installing sloccount in win XP, using Cygwin as recommended, I also did only installed the recommended features, but wen I'm trying to do the command "make", it gives-me an error: "undefined reference to `_WinMain@16'" in one of the packages.
I tried to resolve the problem by putting on the gcc command the flag '-shared', and it worked.
Now the problem is that I cant run properly the program, it does not show-me the results of the metrics.
Can any one help me??

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.