I am using Ubuntu 12.04 64bit and I am getting the following error while compiling a Qt project which needs a 32bit .so
file.
error:
skipping incompatible /opt/lib/libEposCmd.so when searching for -lEposCmd
I want to compile this project with -m32
option but I don't know where should I insert this option.
Problem Solved through below instruction:
edite make file and adjust below config:
cc = add -m32
CFLAGS = add -m32
INCPATH = linux-g++-32
LFLAGS = -m32 -w1, -o1
LIBS = i386-linux-gnu
make softlink of
/usr/lib/i386-GNU-linux/libQtCore.so.4.1 libQtGui..... libQtXmlPattern.. libQtXml.....
to lib .... .so.o then to lib .... .so make clean and compile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With