Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Anonymous
Sunday, May 13th, 2012 at 7:12:51pm MDT 

  1. Gyver:~ shawn$ cat test.cc
  2. #include <allegro5/allegro.h>
  3.  
  4. int main(int argc, char **argv) {
  5.    al_init();
  6.    al_create_display(640, 480);
  7.    al_clear_to_color(al_map_rgb_f(1, 1, 0));
  8.    al_flip_display();
  9.    al_rest(5.0);
  10.    return 0;
  11. }
  12. Gyver:~ shawn$ g++ ./test.cc -lallegro_main
  13. Undefined symbols for architecture x86_64:
  14.   "_al_install_system", referenced from:
  15.       __al_mangled_main in ccQC2A5Z.o
  16.   "_al_create_display", referenced from:
  17.       __al_mangled_main in ccQC2A5Z.o
  18.   "_al_map_rgb_f", referenced from:
  19.       __al_mangled_main in ccQC2A5Z.o
  20.   "_al_clear_to_color", referenced from:
  21.       __al_mangled_main in ccQC2A5Z.o
  22.   "_al_flip_display", referenced from:
  23.       __al_mangled_main in ccQC2A5Z.o
  24.   "_al_rest", referenced from:
  25.       __al_mangled_main in ccQC2A5Z.o
  26. ld: symbol(s) not found for architecture x86_64
  27. collect2: ld returned 1 exit status
  28. Gyver:~ shawn$ ls /usr/local/lib64/ | grep allegro
  29. liballegro.5.0.6.dylib
  30. liballegro.5.0.dylib
  31. liballegro.dylib
  32. liballegro_acodec.5.0.6.dylib
  33. liballegro_acodec.5.0.dylib
  34. liballegro_acodec.dylib
  35. liballegro_audio.5.0.6.dylib
  36. liballegro_audio.5.0.dylib
  37. liballegro_audio.dylib
  38. liballegro_color.5.0.6.dylib
  39. liballegro_color.5.0.dylib
  40. liballegro_color.dylib
  41. liballegro_dialog.5.0.6.dylib
  42. liballegro_dialog.5.0.dylib
  43. liballegro_dialog.dylib
  44. liballegro_font.5.0.6.dylib
  45. liballegro_font.5.0.dylib
  46. liballegro_font.dylib
  47. liballegro_image.5.0.6.dylib
  48. liballegro_image.5.0.dylib
  49. liballegro_image.dylib
  50. liballegro_main.5.0.6.dylib
  51. liballegro_main.5.0.dylib
  52. liballegro_main.dylib
  53. liballegro_memfile.5.0.6.dylib
  54. liballegro_memfile.5.0.dylib
  55. liballegro_memfile.dylib
  56. liballegro_physfs.5.0.6.dylib
  57. liballegro_physfs.5.0.dylib
  58. liballegro_physfs.dylib
  59. liballegro_primitives.5.0.6.dylib
  60. liballegro_primitives.5.0.dylib
  61. liballegro_primitives.dylib
  62. liballegro_ttf.5.0.6.dylib
  63. liballegro_ttf.5.0.dylib
  64. liballegro_ttf.dylib
  65. Gyver:~ shawn$

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

worth-right
fantasy-obligation