Setting up allegro - dev-c++

Can anyone tell me how to set up allegro for devc++?

Here's a detailed guide: http://wiki.allegro.cc/index.php?title=Dev-C%2B%2B
It applies to Allegro 5.0.* as well.

Related

SDL2 and Emacs setup

I've recently started using emacs for c++ code editing, on a mac, and was wondering if it's possible to use SDL2 with emacs. If so, how would one go about setting it up? Thanks in advance.

OpenCV problems with Netbeans and Cygwin

I have tried today for five hours to install OpenCV and run a simple program to check that it works. I have not been able to do this despite looking at several tutorials and youtube video's. Could anyone tell me firstly if there is a difference between using cygwin or mingw? Why is it so hard to link the OpenCV libraries to netbeans. I love the IDE but will have to use Visual Studio if I cant get it working tomorrow. I have not been able to find a tutorial that references opencv2.4.6 which is the latest version and netbeans 7.4. For anyone interested the cygwin version I down loaded was 1.7.25. The main problem I am having is finding out how to correctly link the OpenCV headers etc to netbeans. If anyone has made a record of how to do this then sharing it would be great. Maybe I'm going wrong with the system variables I'm just not sure. As said any help or directions to up to date tutorials would be a great help. I love Netbeans and want to keep using it.
Thanks
I stumbled across this post while trying to set up OpenCV with Netbeans 7.4 on windows 7.
After finally getting everything to work I wrote this guide: OpenCV Netbeans C++ setup guide
I was able to get all the libraries linked. Also the clean/Build and run works for my C++ opencv 2.4.7 app from netbeans 7.4. Hope this can help anyone else who might want to use Netbeans for OpenCV coding.

Derelict and GFW3

I'm trying to get Derelict3 to work with GLFW3 on Ubuntu 12.10.
I've successfully built Derelict3 and glfw3 using DMD 2.061.
Imports and links work.
But it seems the API has changed since this article was written since I (case insensitively) can't find any reference to glfwOpenWindowHint in neither
Derelict3 (git://github.com/aldacron/Derelict3.git) nor
GLFW3 (git://github.com/elmindreda/glfw.git)
And I can't find any other tutorials on using GLFW3.
Does anyone have an uptodate tutorial on how to use GLFW3 either in C or D?
Update: I guess the examples directory in glfw3 is a good start right?
explore derelict sources - https://github.com/aldacron/Derelict3/blob/master/import/derelict/glfw3/functions.d#L135 - here is ur function.
btw i'm not think glfw3 is stable enough, i has some unresolved externals even with glfw2 on windows(one example is glfwGetGLVersion) so i think it's more likely a glfw issue. glfw2 official site has D bindings(outdated) in their support.
concerning examples, yes with D it is always a good choice to start with examples provided by authors, D still rapidly grows and so on. also it is a good to start asking on dlang.org forum. and last note, dsource is quite outdated and most of development acivity migrated to github.
hope all this helps you.
http://wiki.glfw.org/wiki/Moving_from_GLFW_2_to_3
This was the best guide I could find to the API changes. Use this to translate from other code/tutorials.

Xcode & wxWidgets Framework

I've downloaded wxWidgets - wxwidgets.org
I ran the configure file using terminal.
How can I use this framework with Xcode C++ project?
Thanks!
Please take a look at the following documentation, or consider pin pointing down a more specific question about using the framework (ie, what problems you may have run into).
http://wiki.wxwidgets.org/Development:_wxMac
http://wiki.wxwidgets.org/Guides_%26_Tutorials#Mac_OS
http://wiki.wxwidgets.org/Creating_Xcode_projects_for_wxWidgets_applications (Out of date, but may still help you. As someone who used wxWidgets in the past, I can tell you that the code is correct).

Good documentation for gtkmm 2.4

I've got a project that needs to use the gtkmm 2.4 API, however documentation for it has been really hard to find. The official gtkmm site has the following statement:
Versions for the older gtkmm 2 API are also available.
However I can't seem to find it anywhere. Anyone know of a place good place to get documentation?
See the following links:
gtkmm: gtkmm Reference Manual
Programming with gtkmm 2.24.2
Gtk+ API Documentation (both, GTK+ 2 and 3
Hth!