How to set application icon in Linux Topic is solved

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
Ksawery
Experienced Solver
Experienced Solver
Posts: 69
Joined: Thu Jul 25, 2019 12:31 pm

How to set application icon in Linux

Post by Ksawery » Wed Aug 28, 2019 1:02 pm

I've successfully setup icons for my app in Windows, using a resource file and a .ico file. Now i'd like to setup an icon for my app in Linux Mint, where (as I understand) resource files don't exist. I found a post that recommends using a .xpm file:

viewtopic.php?t=13983

Unfortunately I haven't been very successful with this method. So far, I have converted a .png image to .xpm using an online tool:

https://www.online-utility.org/image/convert/to/XPM

I then tried to import the .xpm file into my project using #include "icon.xpm" and then use m_frame->SetIcon(icon_xpm), but I get errors and my app doesn't compile:

Code: Select all

Description	Resource	Path	Location	Type
‘_566996633069’ defined but not used [-Wunused-variable]	icon.xpm	/PomiarWiazki_wxWidgets_Linux	line 2	C/C++ Problem
ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]	icon.xpm	/PomiarWiazki_wxWidgets_Linux	line 555	C/C++ Problem
I'm not sure whether this is due to an erroneous .xpm file, or my approach is incorrect. I'd very much appreciate your help.

Regards,
Ksawery

User avatar
doublemax
Moderator
Moderator
Posts: 14198
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: How to set application icon in Linux

Post by doublemax » Wed Aug 28, 2019 1:09 pm

Code: Select all

m_frame->SetIcon(icon_xpm)
Instead of "icon_xpm" you need to pass the name of the variable that's defined in the XPM file. Open it in a text editor and check.

And just for the record: This will only set the icon you see inside your application. This will not change the icon of the executable when seen on the desktop or in a file manager like under Windows.
Use the source, Luke!

Ksawery
Experienced Solver
Experienced Solver
Posts: 69
Joined: Thu Jul 25, 2019 12:31 pm

Re: How to set application icon in Linux

Post by Ksawery » Wed Aug 28, 2019 1:29 pm

Thank you. I went into the xpm file and manually changed the variable name to icon_xpm. Now it works fine.
And just for the record: This will only set the icon you see inside your application. This will not change the icon of the executable when seen on the desktop
For that I will need a .desktop file, correct?

Regards,
Ksawery

Ksawery
Experienced Solver
Experienced Solver
Posts: 69
Joined: Thu Jul 25, 2019 12:31 pm

Re: How to set application icon in Linux

Post by Ksawery » Wed Aug 28, 2019 1:48 pm

Actually, even though the icon is now working, I'm still seeing tons of warnings and errors when building the project:

The warnings disappear after compilation:

Code: Select all

15:56:23 **** Build of configuration Debug for project PomiarWiazki_wxWidgets_Linux ****
make all 
Building file: ../cApp.cpp
Invoking: GCC C++ Compiler
g++ -o "cApp.o" "../cApp.cpp" -std=c++11 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/local/include/modbus -I/home/ksawery/sdks/wx312/gtk-build/lib/wx/include/gtk3-unicode-3.1 -I/home/ksawery/sdks/wx312/include -O0 -g3 -Wall -c -fmessage-length=0 -I/home/ksawery/sdks/wx312/gtk-build/lib/wx/include/gtk3-unicode-3.1 -I/home/ksawery/sdks/wx312/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -MMD -MP -MF"cApp.d" -MT"cApp.o"
In file included from ../cApp.h:3:0,
                 from ../cApp.cpp:1:
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 };
 ^
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../icon.xpm:555:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
The errors are as follows:

Code: Select all

Description	Resource	Path	Location	Type
Invalid arguments '
Candidates are:
void SetIcon(const wxIcon &)
'	cApp.cpp	/PomiarWiazki_wxWidgets_Linux	line 24	Semantic Error
Invalid arguments '
Candidates are:
void SetIcon(const wxIcon &)
'	cApp.cpp	/PomiarWiazki_wxWidgets_Linux	line 25	Semantic Error
Symbol 'icon_xpm' could not be resolved	cApp.cpp	/PomiarWiazki_wxWidgets_Linux	line 24	Semantic Error
Symbol 'icon_xpm' could not be resolved	cApp.cpp	/PomiarWiazki_wxWidgets_Linux	line 25	Semantic Error
The application runs fine despite these errors, and the icons show up in the panel.

DavidHart
Site Admin
Site Admin
Posts: 3905
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: How to set application icon in Linux

Post by DavidHart » Wed Aug 28, 2019 2:28 pm

Hi,
warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
Your xpm is probably missing the 'const' in
static const char* foo_xpm[] = {

Regards,

David

Ksawery
Experienced Solver
Experienced Solver
Posts: 69
Joined: Thu Jul 25, 2019 12:31 pm

Re: How to set application icon in Linux

Post by Ksawery » Thu Aug 29, 2019 8:27 am

Thank you, I added const to the .xpm file variable, and also the wxICON macro in my code, and now everything works fine - no more warnings or errors.

Code: Select all

m_frame->SetIcon(wxICON(icon));
Regards,
Ksawery

Post Reply