I want to develop both 32 and 64bit lib, which depends on OpenGL(mesa) on Ubuntu (64-bit).
However it seems to be impossible to install both 32 and 64bit version of libgl1-mesa-dev.
When I sudo apt-get install libgl1-mesa-dev
, it install the 64-bit version. After that I sudo apt-get install libgl1-mesa-dev:i386
, it will install 32-bit version but will uninstall the 64-bit one.
Is it possible to let 32 and 64bit version of libgl1-mesa-dev co-exist? Or any alternative method I can try?