Questions About *ubuntu Linux *.DEB Packaging... |
JeZ-l-Lee
|
Questions About *ubuntu Linux *.DEB Packaging...
Hi, We need some help with packaging our SDL 1.2 game into *.DEB installer file for *ubuntu. We have successfully made a *.DEB installer file but it only supports 64Bit *ubuntu. Our question is how do we make a dual architecture *.DEB installer file? Another question is how do we compile 32Bit executable when using 64Bit Kubuntu 14.04 LTS? (we have both a makefile and also use Code::Blocks for compilations) You can download the entire project here: http://16bitsoft.com/Files/LF4/Linux/LF4_Linux_Beta4.zip You can download the current 64Bit *.DEB installer file here: http://16bitsoft.com/Files/LF4/Linux/lettersfall_4.0_64Bit.deb. We found an excellent *.DEB maker application with GUI that works(with modification) on Kubuntu 14.04 LTS 64Bit: http://debreate.sourceforge.net After installing the Debreate DEB on Kubuntu 14.04 LTS 64Bit it does not run and the following file must be changed: On line 36 of '/usr/share/debreate/panbuild.py' change 'self.md5 = _md5.MD5()' to 'self.md5 = _md5.new()' (after above change then Debreate runs on Kubuntu 14.04 LTS 64Bit) Game requires the following packages: - SDL 1.2 - SDL_Image 1.2 - SDL_Mixer 1.2 - SDL_TTF 1.2 Thanks in advance! JeZxLee 16BitSoft Inc. Video Game Design Studio www.16BitSoft.com Here are some screenshot of game running on Kubuntu 14.04 LTS 64Bit: |
|||||||||||
|
JeZ-l-Lee
|
Thanks for the reply. I added "-m32"(no quotes) to my makefile but am getting the following errors:
Any help would be appreciated, thanks! URL link to the SDL forum post(for people reading in the mailing list): https://forums.libsdl.org/viewtopic.php?t=10545 |
|||||||||||||||
|
Questions About *ubuntu Linux *.DEB Packaging... |
Sik
|
That last g++ invokation is trying to link a 64-bit program... (note
how -m32 is missing on that one, I guess you need it there too) Also make sure you don't end up linking to the 64-bit libraries, 2014-07-23 15:19 GMT-03:00, JeZ-l-Lee:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
Re: Questions About *ubuntu Linux *.DEB Packaging... |
JeZ-l-Lee
|
Here is my makefile, do you see something wrong with it for compiling 32Bit?
We don't know much about makefiles so any help would be appreciated... Thanks! |
|||||||||||||||
|
Questions About *ubuntu Linux *.DEB Packaging... |
John
Guest
|
Add -m32 to CC and/or add $(CFLAGS) to the link command. Like this,
CC = g++ -m32 $(TARGET): $(OBJECTS) $(CC) $(CFLAGS) $(OBJECTS) $(SDL_LIBS)...etc On 07/23/2014 08:45 PM, JeZ-l-Lee wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
samleo
|
If the error persist maybe you should try install the i386 libs, I don't know how, I'm sorry. Or, the better is to try compile on a 32 bits system, I recommend to you install the virtual box and download an i386 distro, how about Ubuntu 12.04? So you will install the libs to compile on the vm.
|
|||||||||||
|
JeZ-l-Lee
|
I looked in Muon Package Manager on my Kubuntu 14.04 LTS 64Bit but was unable to find 32Bit libs for SDL1.2, SDL1.2_Image, SDL1.2_Mixer, & SDL1.2_TTF. I think at this point I will download Kubuntu 14.04 LTS 32Bit and install it into a VM. Thanks! |
|||||||||||||
|