User forums > Help
Linking Problem with DevCpp Project
cerealkiller:
seems to work now, after I manually added libmingw32. I used "direct compilation", didn't fiddle around with GL settings and the like.
Anyhow, I get another error, stating, that there's no WinMain( fair enough - I don't use one, rather "int main(int Arg_N, char ** Arg_V)"
The compiler error is:
C:\Program Files\CodeBlocks\lib\libmingw32.a(main.o)(.text+0x106):main.c: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
cheers & thanks a lot for the quick help
ck
rickg22:
OK question. Are you using a wxwidgets project?
If not, is your project is a console (DOS) project, or a windows project?
There is a -mwindows switch for windows projects that inhibits the use of a console. If that doesn't work, then...
The best thing to do in this case, is to create a *new* project, and add your files manually. (warning: Beta 7 has a display bug that shows the files as having no names). Save the project, then reopen it and start adding files.
Also please post your problem in the bug reports at sourceforge.net. Please attach the project file and your dev-cpp configuration files (wherever they are :-/ ).
And don't despair, beta 8 is going to be released soon.
Navigation
[0] Message Index
[*] Previous page
Go to full version