Setting up Haskell OpenGL on Ubuntu 10.04? - opengl

I'm having a difficult time figuring out the set of packages I need to get Haskell OpenGL working on Ubuntu 10.04.
Could someone please provide me with the list of APT packages and the list of CABAL packages I need to get to successfully start the OpenGL tutorial here?

Your easiest path would be to look at the dependencies of the Debian OpenGL package.
libghc6-opengl-dev
Which depends on:
libgl-dev
libgl1
libglu1
libglu-dev
All part of the Haskell Platform on Debian, which will be in Ubuntu in a few months.

Related

How to install Qt 3.3.8 in Ubuntu 14.04

Just recently I have begun to review the code for a project produced by a friend roughly 4 years ago. However, to compile this project I need an outdated version of Qt (version 3.3.8). Much of the code used in this project isn't supported in the same style as Qt4. So I'd first like to obtain Qt3 before I transition to Qt4.
Ubuntu has decided to no longer carry "qt3-dev-tools". Ubuntu has limited the selection to "qt4-dev-tools" in its repository. So installing via the command line option (sudo apt-get install qt3-dev-tools) results in an error:
"Unable to locate package qt3-dev-tools."
So, from here I did some digging for a manual installation? I found a great website to help me through the process, but I'm not very knowledgeable about Ubuntu, or Linux in general. Step 1 was simple. But step 2 and onward stumped me. I'm supposed to be both adding the environment variables listed in step two to the .profile file and then setting them, correct?
In step 2, is logging in again just meant for users with the .login shell? When I type in $HOME/.qt-license of step three, I suppose I'm typing this into the terminal?. Same with the ./configure? Both of these commands return no such file exists.
Does anyone know a better walk through to install Qt3 files, or can give a quick breakdown of this tutorial?
The website tutorial:
http://krm.am.gdynia.pl/doc/qt-3.3.8/INSTALL
If u can get .rpm package then open it in ubuntu software centre . It will get installed.
http://download.qt.io/archive/qt/3/ try downloading the package for qt3 from this qt archive & install it.

Howto install the latest CodeLite in openSUSE

Hi I've tried to install the latest codelite but when I try to open it, it doesn't. I followed the instructions on the site but no luck.
I'm using openSUSE 13.2 64-bit
You probably need to install the wxWidgets runtime libs, which were supposed to be included in the CodeLite package but weren't.
openSUSE don't seem to have a meta-package for these, and there are a confusing number of choices, most of which will be wrong for you. However if you ask yast to install libwx_gtk2u_webview-suse-3_0-0 I think you'll find that will depend on the rest of the correct libwx* family.
At the time of this writing, you can install codelite and wxwidget in opensuste in a straightforward method. Just go to the
opensuse software repository and search for codelite. After representation of the results press on the button
Direct Install
to let you install the package on your machine.

Where to get SDL2 non-default libraries for Fedora 19?

So the basic SDL2 development libraries are within the repositories and easily accessed with yum, but what about the other SDL based libraries? I'm talking about SDL2_image or SDL2_mixer etc. Is there any way to get and use those? Fallowing the instructions from a post on stack overflow (here), they seem to be downloaded but are they SDL2? Or are they SDL 1.2? It would be really nice to know where to get SDL2.
UPD as for SDL2_image, you can now install it with
$ sudo yum install SDL2_image
You can't install them from repos yet. I've just talked with SDL2 (co)maintainer, Igor Gnatenko, and he is willing to add these packages to Fedora repositories. So please wait a few days more.
yum install SDL_image* SDL_mixer*
This will include libraries and the devel package.

How can I install SDL_image on Ubuntu 12.04.1 LTS?

I installed the ubuntu 12.04.1 LTS. I just installed a compiler to c++ programming. It's name is Anjuta. It's a free programming software. I would like to make simple games with that one, but it shows to me: IMG_Load in-lSDL_image... no... And SDL_image not found, as you can see in the picture...
I tried to google it, install it, but it won't work. What is the easiest way? Or better for beginning game programmers on linux? :-)
image file: freeimagehosting dot net/oo5dq
sudo apt-get install libsdl-image1.2-dev
Found on s.o. here:
how to install c library on linux (in particular SDL_image)
Worked for me on ubuntu 12.04
SDL_Image is a library for development in C++. I suggest first getting a rad IDE to develop in - CodeBlocks is good:
http://www.codeblocks.org/downloads
Then I'd suggest following these tutorials, which will guide you into installing the relevant SDL libraries for C++ game development - SDL_Image is only one of them... and not the one I would start with:
http://www.youtube.com/watch?v=Lb_Jy5HGMsk
This got me set up with SDL and C++ development. I have since made a game with decent graphics (2D) and playability, as well as an online component using SDL_net.
Good luck!

Can't get premake working - gltut demos

https://bitbucket.org/alfonse/gltut/downloads
this is the repository for the several tutorials in this online-book
http://www.arcsynthesis.org/gltut
the author uses premake as alternative to cmake, and i have tried every possible command line options but nothing works.
I don't get why the author wants to use the latest tool on earth but i need to solve this and i don't even have a clue about Lua and this tool.
For who wants to help me with this you have to download this to actually build the demos and put it in the root folder of your gltut project.
The URL for the mercurial repository is
hg clone https://bitbucket.org/alfonse/gltut
My OS is Ubuntu 12.04 64 bit.
I just noticed that the premake version that comes with Ubuntu 12.04 is the 3.7, just download a newer version from the 4.x branch and the problem is solved.