I set up Allegro 5, and could compile the following code with success:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <allegro5/allegro.h>
void error(char *msg)
{
fprintf(stderr,"%s : %s\n", msg, strerror(errno));
exit(1);
}
int main(int argc, char **argv)
{
ALLEGRO_DISPLAY *display = NULL;
if(!al_init())
error("Could
I'm developing a game in Allegro 5.0.8, and everything was going well, until i tried compiling it and running it on Linux (Mint 14)...so i did sime tests;
#include <allegro5/allegro.h>
#include <allegro5/allegro_image.h>
#include <iostream>
int main(void)
{
al_init();
ALLEGRO_DISPLAY *screen = al_create_display(800, 600);
al_init_image_addon();
ALLEGRO_PATH *p
I'm having a hard time getting CodeBlocks to link SDL and it's libraries. There is no error in the code as I've compiled it on Windows but I can't seem to get the compile and links to work on Ubuntu.
I installed libcurl using :sudo apt-get install libcurl4-openssl-dev.
More dwm hitches.I'm trying to apply the xft patch (downloaded from suckless), and the patch applies fine- but when I go to compile I get this (full output):cortman@gwaihir:~/dwm-6.0$ sudo make clean install
cleaning
rm -f dwm dwm.o dwm-6.0.tar.gz
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -I.
Hello, I am trying to get this going on OpenBSD.
Hi,
I'm trying to build CM7 Kernel from source. I've followed "Building_Kernel_from_source" in CM Wiki exactly. Executed yes "" | make oldconfig. I still get fatal script & compile errors. First was "usr/galaxysmtd_initramfs.list" not found. Created an empty one to get past this temporarily. Next got FIQ_START undefined.
I've been working through some tutorials on the Qt-SDK. These tutorials are the ones that came with the package. When I ran them on Oneiric, I had no problems. Now that I've upgraded to Precise, I am getting numerous warnings when I do a compile.
Hi ,
I'm trying to build an target image with a gdbserver support
("--host=i686-pc-cygwin--target=xscale-elf").
1. I have download gdb-7.1.
2. I have installed cygwin on my pc.
3.I build the gdbserver as follows :
(cygwin sheel)
$cd ~/work/cross/gdb/downloads/gdb-7.1/gdb/gdbserver
$./configure
$make