|
Updated A4.4.3 binaries (classic Eagle 4 included!) |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Hello peeps, I've made an updated build of my Allegro 4.4.3 binaries, and as per a friendly request from Larkin, I've decided to bundle binaries and source for Eagle 4, my classic Allegro 4 GUI library along with it. Eagle 4 is provided as is, and is only mostly there to inspire you to do something better, or to join me on developing Eagle 5. If something's broken, you're gonna have to fix it yourself, but if you ask nicely I might help if it's important. So, first you need the MinGW compiler I used : Then you need the latest version of my Allegro 4.4.3 binaries, v4. https://bitbucket.org/bugsquasher/unofficial-allegro-5-binaries/downloads/Allegro443_MinGW71v4.7z And as an aside, I put together a small binary distribution of Eagle 4 as a stand alone. You can try compiling it yourself with the provided makefile if you're feeling masochistic. https://bitbucket.org/bugsquasher/eaglegui/downloads/Eagle4ClassicAlpha.7z Thanks every buddy! Enjoy My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
GullRaDriel
Member #3,861
September 2003
|
Good job Ed. (I only congrat you here because I only use A5 these days)
"Code is like shit - it only smells if it is not yours" |
Larkin
Member #11,125
July 2009
|
Thanks ! Guess I have to be masochistic to get it running with linux.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
The included makefiles are for mingw. You need to run fix.sh first (which I didn't include but will now) which will set makefile.platform to include makefile.nix. Then you can try building with gcc. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Larkin
Member #11,125
July 2009
|
Thanks Edgar. I installed libeagle4.so.0.9 together with vanilla allegro 4.4.2 into /usr/local/lib but when trying to run Eagle4WidgetDemo I get an error. Its been a long time since I dabbled with building stuff on linux, therefore a quick hint is welcome. 32/64 bit related ? Quote: ./Eagle4WidgetDemo: error while loading shared libraries: libeagle4.so.0.9: cannot open shared object file: No such file or directory
1hbs@tango:~/src/eagle/Eagle4FinalReleaseDistro/src/TestPrograms> ldd Eagle4WidgetDemo
2 linux-vdso.so.1 (0x00007ffd757c5000)
3 libeagle4.so.0.9 => not found
4 liballeg.so.4.4 => /usr/local/lib/liballeg.so.4.4 (0x00007f1e7fc2c000)
5 libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f1e7f8a3000)
6 libm.so.6 => /lib64/libm.so.6 (0x00007f1e7f5a6000)
7 libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f1e7f38f000)
8 libc.so.6 => /lib64/libc.so.6 (0x00007f1e7efec000)
9 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1e7edcf000)
10 librt.so.1 => /lib64/librt.so.1 (0x00007f1e7ebc7000)
11 libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f1e7e9bf000)
12 libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f1e7e7a2000)
13 libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f1e7e464000)
14 libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f1e7e252000)
15 libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f1e7e047000)
16 libXpm.so.4 => /usr/lib64/libXpm.so.4 (0x00007f1e7de35000)
17 libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f1e7dc2f000)
18 libdl.so.2 => /lib64/libdl.so.2 (0x00007f1e7da2b000)
19 /lib64/ld-linux-x86-64.so.2 (0x00007f1e7ff2d000)
20 libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007f1e7d826000)
21 libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f1e7d606000)
22 libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f1e7d3fc000)
23 libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f1e7d1f6000)
24 libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f1e7cff2000)
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
You need to install or include the .so files with your executables. Usually they go in /usr/local/lib or you can do the following : export LD_LIBRARY_PATH=/path/to/eagle:$LD_LIBRARY_PATH ./Eagle4Demo You might also need to move or rename the resulting libeagle*.so files. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Larkin
Member #11,125
July 2009
|
But the eagle lib is in /usr/local/lib same as the allegro lib and /usr/local/lib is in /etc/ld.so.conf and since the allegro lib is picked up as shown by the ldd command, I do not get why the eagle lib is not. Quote:
tango: ls -al /usr/local/lib/libeagle*
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Run 'sudo ldconfig' and then try again. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Larkin
Member #11,125
July 2009
|
Cool, thanks. Eagle4WidgetDemo is up and running.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Hey thanks, glad to hear it. I put "EagleClassic" on GitHub. If you want to submit pull requests or patches or whatever I'm up for it. https://github.com/EdgarReynaldo/EagleClassic For some reason I can't save my files in CodeBlocks under OpenSUSE Linux. I own the files, they're writable, I don't get it. wtf is your problem linux why won't you let me save my files Mr. Torvalds? You should compile the src/TestPrograms/Animation.cpp file as well, into bin/Eagle4Animation. Run it and press key one or two (three doesn't work yet) to see an animated Eagle logo. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Larkin
Member #11,125
July 2009
|
AnimationTest does not run. Logfile : Quote:
$$$ Allegro initialization successful. Gfx_mode_handler attempting new mode... Starting change_res(2 (GFX_AUTODETECT_WINDOWED) , 800 , 600 , 32 , mode = CRM_DIRECT)
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
https://github.com/EdgarReynaldo/EagleClassic/blob/master/src/TestPrograms/AnimationTest.cpp#L22 If you change SW_PAUSE there to SW_BACKGROUND it should work. Linux thing. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|