Error using kmap2qmap
i compile the kmap2qmap tool and it gave me an error: cannot open output file /bin/kmap2qmap: Permission denied
So i gave myself priviledges on /bin so i can read/write there.
Qt Creator compiled kmap2qmap.pro project with no errors after that.
Now on terminal i want to test this example:
kmap2qmap i386/qwertz/de-latin1-nodeadkeys.kmap include/compose.latin1.inc de-latin1-nodeadkeys.qmap
But it gives me this error:
/bin/kmap2qmap: error while loading shared libraries: libGAL.so: cannot open shared object file: No such file or directory
Can you try ldd on the kmap2qmap
It sounds like it wants the : libGAL.so and its not found.
So find a way to install it. not sure if you can apt-get it or part of
But check it first :)
@michaelL Do you really want to install it in /bin?
Normal users should not have write access there (for good reasons).
@jsulm How do i deal with this error then:
/usr/arm-linux-gnueabihf/bin/ld.gold:-1: error: fatal error: /bin/kmap2qmap: open: Permission denied
@michaelL Change DESTINATION in pro file to something else
You should have that lib already - how else would you be able to build the project?
@jsulm this is my .pro file:
QT = core platformsupport-private
CONFIG += console
SOURCES += main.cpp
You mean change the build directory?
This is the compile output error meassge:
/usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux-gnueabihf/bin/ld.gold: fatal error: /bin/kmap2qmap: open: Permission denied
Makefile:83: recipe for target '/bin/kmap2qmap' failed
collect2: error: ld returned 1 exit status
make: *** [/bin/kmap2qmap] Error 1
11:26:43: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project kmap2qmap (kit: Qt 5.5.1 i.MX6)
When executing step "Make"
@jsulm i didt DESTDIR = /home/michael/
but it still gives me that error.
The output file want to go to /bin/kmap2qmap even when i change the direction
@michaelL Did you run qmake again after changing project file?
@jsulm Yes i clean the project and build it again on Qt Creator.
@jsulm Manage to get kmap2qmap working.
So i gave myself priviledges on /bin first.
Send the file /bin/kmap2qmap to my embedded device at its /bin location.
kmap2qmap de-latin1-nodeadkeys.kmap de-latin1-nodeadkeys.qmap
A warning came:
Warning: keymap file 'de-latin1-nodeadkeys.kmap', line 4: could not locate keymap include
Parsing the specified keymap(s) produced 1 warning(s).
Your generated qmap might not be complete.
The de-latin1-nodeadkeys.kmap file was zipped as de-latin1-nodeadkeys.kmap.gz
So i unzipped it as:
I went and ignored the waring and gave it a try by exporting :
But that didnt worked becouse the default keyboard was still selected instead of my german one.