Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiding console window then libpng test error? #60

Open
Nlabs-7652 opened this issue May 30, 2021 · 0 comments
Open

Hiding console window then libpng test error? #60

Nlabs-7652 opened this issue May 30, 2021 · 0 comments

Comments

@Nlabs-7652
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant