bonjour
j'ai vu plusieurs plusieurs forums mais ça ne répond pas à mon attente: je cherche simplement
un exemple de fichier.cpp / .h ..avec le minimum à faire pour inclure une image(pas un icone.ico)
une image format bmp ou png ou encore jpg dans l'exécutable.
rien de plus
merci d'avance.
Translation from deepl.com:
hello
I have seen several forums but it does not answer my expectation: I am simply looking for
an example of .cpp / .h file ..with the minimum to include an image(not an icone.ico)
an image in bmp or png or jpg format in the executable.
nothing more
thank you in advance.
ressource png/jpg/bmp ..into executable.
ressource png/jpg/bmp ..into executable.
Last edited by doublemax on Wed Jan 25, 2023 6:49 pm, edited 1 time in total.
Reason: added english translation
Reason: added english translation
Re: ressource png/jpg/bmp ..into executable.
Use the source, Luke!
Re: ressource png/jpg/bmp ..into executable.
merci, il y a une péparation de l'image au format XPM ... tout a l'air bon pour moi.
mais je ne sais pas comment trouver le fichier wxInclude.exe
thanks
mais je ne sais pas comment trouver le fichier wxInclude.exe
thanks
Re: ressource png/jpg/bmp ..into executable.
*j'ai oublié de préciser que le liens donné ne répond pas pour l'instant
http://users.skynet.be/towp/wxInclude.zip
http://users.skynet.be/towp/wxInclude.zip
Re: ressource png/jpg/bmp ..into executable.
Use the source, Luke!
Re: ressource png/jpg/bmp ..into executable.
merci
il me reste seulement la libHX que je n'arrive pas à obtenir pour compiler hxtools-20221120
il me reste seulement la libHX que je n'arrive pas à obtenir pour compiler hxtools-20221120
Re: ressource png/jpg/bmp ..into executable.
....all ok ...
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for lastlog.h... no
checking for paths.h... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libHX... no
"
configure: error: Package requirements (libHX >= 3.17) were not met:
Package 'libHX', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libHX_CFLAGS
and libHX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
"
j'ai un petit peu fouillé dans les fichiers et j'ai pas encore trouver
apparement avec msys2 (64)/mingw i think it will hard :/
" je vais vous informer dans quelques jours "
merci
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for lastlog.h... no
checking for paths.h... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libHX... no
"
configure: error: Package requirements (libHX >= 3.17) were not met:
Package 'libHX', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libHX_CFLAGS
and libHX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
"
j'ai un petit peu fouillé dans les fichiers et j'ai pas encore trouver
apparement avec msys2 (64)/mingw i think it will hard :/
" je vais vous informer dans quelques jours "
merci