ofxHTTP
ofxHTTP copied to clipboard
Hiding console window then libpng test error?
Hello,
When I hide console window and change the default Icon of my app (Win10) with ofxHTTP in accordance to this, I just changed " int main()" to "int WINAPI WinMain" in main.cpp, I got this error .
Testing libpng version 1.2.24 with zlib version 1.2.3 libpng version 1.6.25 - September 1, 2016 Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson Copyright (c) 1996-1997 Andreas Dilger Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. library (10625): libpng version 1.6.25 - September 1, 2016 pngtest (10224): libpng version 1.2.24 - December 14, 2007 png_sizeof(png_struct)=1168, png_sizeof(png_info)=360 Warning: versions are different between png.h and png.c png.h version: 1.2.24 png.c version: 1.6.25
Testing pngtest.png:Could not find input file pngtest.png Testing pngtest.png: FAIL Testing pngtest.png:Could not find input file pngtest.png Testing pngtest.png: FAIL Testing pngtest.png:Could not find input file pngtest.png FAIL libpng FAILS test
If I remove ofxHTTP from my app, everything worked fine.
Of course, with Console window active, ofxHTTP also worked fine, but we need to hide console and change defualt ICON.
Only found this looks similar but its about MacOS.
Any idea ?