Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


CodeRot

Member Since 27 Aug 2012
Offline Last Active Nov 30 2013 06:25 AM

Posts I've Made

In Topic: Problem: undefined reference to 'WinMain@16'

30 November 2013 - 06:24 AM

My apologies.  I've just double checked mingw32.a and it is in fact in my MinGW\lib installation directory.  I checked the link line in C::B and I had "-lming32" not '-lmingw32' as it should have been.  This now links and runs as it does with the MS toolchain.

 

Many thanks for your time and assistance.  :)


In Topic: Problem: undefined reference to 'WinMain@16'

28 November 2013 - 03:50 PM

I've checked the linker settings in Code::Blocks and neither of those libraries were present (at least I couldn't see if they were there).  I added each one in turn (separately) and the linker reported that neither of the libraries were present on my system. I don't want to install these incase it messes up something else since I'm using someone elses GCC distribution and given that GCC is particularily picky when it comes to linking libraries and such.  

As a test I created a standard Win32 GUI application and noted that it links in kernel32, user32 and gdi32 (same as my executable) there didn't appear to be any reference or link setting to either of the libraries that you mentioned. So I assume no problems there.  

Anymore help appreciated.


In Topic: zlib, libpng and VS2005

28 March 2013 - 04:58 PM

Hi,

 

Managed to get this sorted out thanks.  For those struggling with this here's the links I used to get a successful build.  Although its outlined for VS2008 this works equally in VS2005.

 

sources:

 

http://www.achacha.org/vc2008_zlib123/

 

and

 

http://sourceforge.net/projects/libpng/files/libpng14/older-releases/1.4.3/lpng143.zip/download?use_mirror=ignum

 

build process:

 

http://www.leptonica.org/vs2008doc/building-image-libraries.html

 

these libraries aren't the absolute latest builds but they were sufficient for my purposes.

Thanks.


PARTNERS