Help installing Allegro in Arch for use with Code::Blocks

I've tried to find the solution to my problem on the code::blocks wiki and the allegro sites and even on the ubuntu forums, but to no avail.  I've installed Allegro from AUR and I've linked the libraries in codeblocks like this:
'allegro-config --libs'
But when I run an allegro .c or .cpp file this happens:
obj/Debug/main.o||In function `main':|
/home/glenn/Desktop/testing/main.c|3|undefined reference to `_install_allegro_version_check'|
/home/glenn/Desktop/testing/main.c|4|undefined reference to `set_gfx_mode'|
/home/glenn/Desktop/testing/main.c|5|undefined reference to `install_keyboard'|
/home/glenn/Desktop/testing/main.c|6|undefined reference to `font'|
/home/glenn/Desktop/testing/main.c|6|undefined reference to `screen'|
/home/glenn/Desktop/testing/main.c|6|undefined reference to `textout_ex'|
/home/glenn/Desktop/testing/main.c|7|undefined reference to `key'|
/home/glenn/Desktop/testing/main.c|8|undefined reference to `allegro_exit'|
||=== Build finished: 8 errors, 0 warnings ===|
Key words: undefined reference.  I think this may have something to do with improper linking or something.  But I'm a noob and I need help.

Well, I just got back from the Allegro IRC room and it turns out that
'allegro-config --libs'
is incorrect.  It's actually:
`allegro-config --libs`
Forgive me for not noticing!
The problem is fixed.
Last edited by ac3raven (2010-02-26 05:51:30)

Similar Messages

  • How to install Authorware Web Player for use with Win 7/8?

    Hi, has anybody had any experience installing the Authorware Web Player for use with Windows 7 & Windows 8?  I'm looking at upgrading computers from Windowx XP on a standalone network (no internet access), and need to be able to display our Authorware content accessed via an LMS.

    Moving this discussion to the Authorware forum.

  • Help configuring OS X Server for use with SuperDuper!

    Hi, I am trying to configure my Mac Mini running Mavericks and OS X Server and my MBP so that I can make SuperDuper! backups from the internal drive in the MBP to an external drive connected to the Mac Mini. I would like to be able to make a connection wirelessly over the LAN so that I can configure automatic scheduled backups. Can anyone help me with this? I am inexperienced with Server and have not been able to get SuperDuper to locate the external drive. Any help would be greatly appreciated. Thanks!

    You can't do that. "SuperDuper" doesn't work over a network. "Carbon Copy Cloner" does.

  • How does one install non-English character sets for use with the "find" function in Acrabat Pro 11?

    I have pdf files in European languages and want to be able to enter non-English characters in the "find" function. How does one install other character sets for use with Acrobat Pro XI?

    Have you tried applying the update by going to Help>Updates within Photoshop Lightroom?  The update should be using the same licensing?  Did you perhaps customize the installation location?  Finally which operating system are you using?

  • Creative Zen Micro Photo not tested for use with Windows so cant install it! Please help

    Heya! Basically when installing the software for Microphoto it stops saying that as my device hasn't been tested for use with windows it cant install for fear of corrupting my laptop! Can anyone help me overcome this because i installed it aagges ago and it let me have the option of continuing the installating, but i had 2 uninstall it and upon reinstalling it it does not give me the option to continue. It just cancels the installation. Can someone please help me as this is driving me nuts!! Y is it that technology is continuosly mucking up grrrrr!
    Lucy

    Are you runnning Win XP SP2? If so, this is a standard warning about unsigned drivers, but it should still give you the option to "continue anyway" to complete the installation.
    Also, make sure you have Windows Media Player 0, as this is needed for Windows XP (drivers) to recognize your MicroPhoto.

  • Help with taffybar installation for use with xmonad

    I discovered nice project https://github.com/travitch/taffybar recently. It's another statusbar like xmobar or dzen2 intended for using with xmonad. It integrates with the latter using dbus instead of stdin.
    Anyone had successful experience installing and running it?
    I installed taffybar with cabal (cabal install gtk2hs-buildtools taffybar). But I totally confused with dbus integration. I have dbus daemon in my rc.conf, but taffybar raises the error on start: Connection Error "connectSession: DBUS_SESSION_BUS_ADDRESS is missing or invalid.". Than I tried to add eval `dbus-launch --auto-syntax` to my .xinitrc (as suggested in installation instructions http://pages.cs.wisc.edu/~travitch/taff … ybar.html), but it taffybar freezes on start. I hope someone more experienced will help me with it.

    The solution was simple. I should just add dbus-launch at the bottom of the .xinirc:
    exec ck-launch-session dbus-launch bash -c "taffybar & xmonad"
    Topic can be marked as solved.

  • Pls help on error on ereader "this document is protected by DRM ( adobe digital rights management ) and is not currently authorized for use with your adobe id

    how do i solve this in order for the e reader to open the file?“this document is protected by DRM ( adobe digital rights management ) and is not currently authorized for use with your adobe id
    thnaks

    This is something you will need to talk to the publisher of the document. They might have to do something to allow you to open the file. (If you changed Adobe ID since buying the file, for instance, they might have to allow for that).

  • This driver is locked for use with embedded applications - SQL Server

    Hello guys,
    Background:
    I developed an application using JSC2 with MS SQL Server 2000 as the database and Sun Application Server PE 8 as App Server. During development, I am able to deploy and test it. But as soon as I've installed Sun Application Server PE 8 on our Production Server, exported my app there and tried to execute it, I get the error
    "This driver is locked for use with embedded applications".
    I just wanna ask, though I've seen other threads saying that the only solution is to buy the EE or SE of Sun App Server, isn't there really any work-around with this?
    Thanks very much for your help.

    OK, that is the same setup we have (Creator built application running with MS SQL Server).
    I wrote a tutorial talking about integrating Creator with Spring. In it you will find out how to use SQL Server with a Creator built app running on the Platform Edition. That tutorial can be found here: http://swforum.sun.com/jive/thread.jspa?threadID=52657&tstart=15
    In short, look to jTds.
    Hope this helps.

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • Doesn't play songs, "itunes is not configured for use with mac-formatted"??

    Hi, new ipod shuffle. Seems to charge fine, all indicator lights function as expected. Everything looks fine in itunes. But it doesn't play songs. I have the most recent versions of itunes and the ipod software. Re-set, updated, and restored, nothing works. Even restored using the restore utility. Re-started computer. Checked for volume control. Won't play songs. Tried different file types. Songs play fine from itunes library and from the device's library within itunes. Tried different headphones. Hooked it up to computer speakers. Turning volume all the way up on device and speakers, heard some very faint rhythmic static, so my guess is the jack socket (or whatever you call it) is just messed up, but it seems weird that it can transfer power and data to the device but doesn't work for sound...
    The only other issues that have come up is that the drive disappears in explorer once it syncs with itunes. Other people who've noticed this seem to have completely different problems so I don't think it's related.
    Also, I have MacDrive on my computer. And when it starts up with the ipod plugged in, MacDrive offers the message "Itunes is not configured for use with Mac-formatted ipods." It offers to automatically reconfigure itunes so it can read mac-formatted ipods. Since I've restored the device, I don't see why formatting should be an issue so I say "no."
    Should I try letting macdrive do its format thing? Should I try formatting the ipod disk on the My Computer menu? Or should I just email apple and tell them the jack's busted?
    Thanks for any thoughts!

    Well, I have had my iPod for about 3 years, it is a 4th generation non-video 40 GB. One day it just stopped working, and now it does not play any songs. when I turn it on it makes this odd whirring sounds that computers make when they try really hard to do something. I cannot charge it, and it is not recognized by iTunes. Also when I turn it on, I get the apple.com/ipod/support (or whatever it is) screen. Needless to say, my warranty is expired, and so I cannot do anything for it except get a new battery, or buy a new one. Is there any way to fix this problem, or anyone out there who is experiencing the same thing?
    I'm having the exact same problem with my wife's iPod. However it will play about 3 seconds of a song and go onto the next song.
    If there is anyone out there that can help please do!
      Windows XP  

  • Can I activate ePrint on my HP Officejet Pro 8500 Premium printer for use with my smartphone​?

    Can I activate ePrint on my HP Officejet Pro 8500 Premium printer for use with my smartphone? Any instructions?

    Yes.  You can do that
    Just follow the instructions for the appropriate device on this HP web document. 
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Switching to AT&T Cingular - best phone for use with Mac and iSync

    Dear Friends,
    I am finally about to be free from Sprint's poor customer service. I will be switching to AT&T / Cingular. (Not quite ready to buy an iPhone, but don't want to be locked into a 2 year contract with another provider).
    I want to use Apple's iSync. I have reviewed the list of compatible devices and scanned the forums for related topics.
    I'm still left wondering:
    What is the best phone to get with AT&T for use with iSync?
    I would like to sync contacts both ways. If possible, syncing cal events and to-dos would be nice, but not as important as contacts.
    I prefer small flip phones. I don't plan to buy the Media pack service that includes text, web, etc. Instead, I will use the phone for calls and occassional text messages.
    Sound quality and the ease of use are the most important features for me. I prefer raised keys to the flat keypads, but could give on this if need be.
    Finally, using the phone as a modem with my laptop would be nice, but is not essential.
    Thanks so much for any help you can offer.
    David

    I am facing the exact same question regarding, e.g., the Nokia 6126. There are several references:
    1. Go to the Nova Media web site and look at their new product, Fone Link. Or their iSynch Plugins
    2. One of the forum threads references, http://www.macosxhints.com/article.php?story=20060915154526806
    3. Another link I found http://soapbox.co.nz/past/2007/4/9/nokia-6126-and-isync-revisited/
    But what I don't yet understand is whether or not any of these suggestions/solutions are affected by the carrier. My understanding is that the 6126 is the North America Version of the 6131. But I talked to ATT/Cingular support yesterday and they make some modifications to the phone software. They don't know if the ATT 6126 will synch with a Mac. Of course they know the answer if synching with a PC (!!)

  • Best hard drive for use with Time Machine

    Hi,
    Has anyone determined what the best external hard drive is for use with Time Machine? Is there a particular one that works exceptionally well with Time Machine, or is it much of a muchness?
    I'm looking for a Firewire 400 & Firewire 800 drive that STAYS ON all the time, and doesn't automatically spin down or spin up like the rubbish WD My Book drives do.

    I can't tell you if it is the "best" hard drive for you to use with TM, but I'm quite happy with the 500 GB Buffalo Technology DriveStation Combo TurboUSB I bought recently. It is quiet, quite inexpensive for the capacity (I paid about $120 for one on sale at Fry's), & completely compatible with OS X & TM.
    Best of all for me, it automatically powers down when my iMac sleeps. It also spins down after a time if the Mac's Energy Saver preference "Put hard disk(s) to sleep when possible" is checked; otherwise it remains spun up until the Mac is put to sleep or switched off.
    It comes with "Turbo" USB & Memeo "AutoBackup" software, neither of which I installed. (The box didn't claim these extras came in a Mac version but both Mac & Windows versions were included on the CD.) Out-of-the-box, I reformatted the drive with the Apple Partition Map scheme & two partitions, a 160 GB one for cloning my internal drive & the rest for TM. The drive works perfectly for both uses & seems quite fast, as one would expect from a 7200 rpm SATA drive.

  • How does one transfer CS5 actions for use with CS6?

    CS6 installation, which was uneventful, has transferred none of my actions from my copy of CS5. The CS5 actions are located in the actions folder of the APPLICATION/PHOTOSHOP CS5/PRESETS/ACTIONS.  The "actions" folder in application support/adobe in my library is empty, and has always been so.
    Only the CS6 default actions are located in the same folder for CS6.
    I use imac i7, lion.
    Note that i also have CS3 and CS4 on my machine. This due to recent upgrade to CS5 and recent upgrade to LION, and my general paranoia.
    Must i load each action into CS6, one at a time?
    thanks to any and all.
    vince

    Re: how does one transfer CS5 actions for use with CS6?
    On a Mac - There are multiple ways to do this.  I have done them both ways. In order to do this you need to know where you have your actions stored, and you can move them all at once if you have them stored in the same location.
    1. You can load an action ONE AT TIME into your actions palette by:
         A. Open up the action palette and click on the little arrow with 4 little horizontal lines next to it on the upper right corner of the actions palette.
         B. Select "Load Actions" and a Finder window will open up and you can search your computer through this window for your actions.
         C. Click on the action from the Finder window then click 'Open' at the bottom right of the finder window.
         D. To save these so that they appear every time you open up your actions palette, go back to the little arrow at the top right of the actions palette and when the drop down window opens- click on 'Save Actions'. It will select the location where the          actions are currently stored as the place to save them. If you want to change that path, you can do it at this time in the little path window.  I just leave it, since I keep all my actions stored in the same file.
    2. TO MOVE MULTIPLE ACTION SETS AT ONCE
         A. Open up CS6 (or CS5) and move the Photoshop workspace it to the right side of your computer screen so you can see your desktop on the left side.
         B. Open up your Finder search window from your dock (the square blue head icon thingy for those who are new to photoshop). Move this to the left side of your screen so you can see the Photoshop work space on the right and the Finder window          on the left. In the Finder window, navigate to the file where all your actions are stored, select all the actions in the file (command+A will select everything in the file if you are actively inside the open file) or you can select multiple files           individually by continuously holding down the command key and clicking on the different actions you want to move.
         C. With the Photoshop workspace visible on the right, and the actions palette open so you can see that the actions actually transferred - In the Finder window, click the selected actions you want to load and drag them over to the Photoshop           workspace.  I did this without an image open, I just dragged them onto the empty workspace.  The actions should all appear immediately in the actions palette that is open.
         D. To save these so that they appear every time you open up your actions palette, go back to the little arrow at the top right of the actions palette and when the drop down window opens click on 'Save Actions'. It will select the location where the           actions are stored as the place to save them. If you want to change that path, you can do it at this time in the little path window.  I just leave it, since I keep all my actions stored in the same file.
    I hope this helps. 
    and I hope there are no typos. 

  • Problem-Starting InDesign Server for use with CORBA / Java and IOR file not generated

    I'm trying to start Indesign Server cs3 for use with Corba, as per the document the server should generate the start-up message like this..
    InDesignServer -iorfile c:\ior.txt -pluginpath Server\Corba
    [server] Writing IOR to ... and it should generate the IOR file
    but I'm getting the usual start-up message and the IOR file is not generated, I hope IOR file is required for Java component interaction with IDS, kindly help me to solve this.
    Thanks in advance.

    [From Susan Doan, who is having trouble posting to the forum today}:
    It looks like the example command line in the "Intro to InDesign Server" pdf is using curly quotes instead of straight quotes. If you copy the command from the pdf and paste it in your command shell, it won't work because of the curly quotes.
    You can run the command without the quotes as Rich has said, but, as will all command lines, if your path contains a space, you will need to put quotes (straight ones!) around the path.
    Thanks,
    Ole

Maybe you are looking for