Jump to content
  • Advertisement
Sign in to follow this  
Ultracoder2005

Allegro not acting right in SlickEdit.

This topic is 4228 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Okay, I tried the trial of SlickEdit. I download the package for allegro (I run ubuntu.) I link the project to the library in that package. Then I type in this code. #include <allegro.h> int main() { allegro_init(); allegro_message("Allegro Rules!"); allegro_exit(); } END_OF_MAIN(); It doesn't compile. Here is the [huge] error. ---------- Build Project: 'Tank Wars.vpj' - 'Debug' ---------- VSLICKERRORPATH=/home/adam/Tank Wars Compile/Link command change detected. Some files may be rebuilt. main.cpp Linking... Debug/main.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_redraw_window': (.text+0x937f): undefined reference to `XPutImage' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_redraw_window': (.text+0x93b7): undefined reference to `XShmPutImage' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_redraw_window': (.text+0x93f2): undefined reference to `XFillRectangle' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_set_window_defaults': (.text+0x943d): undefined reference to `XStoreName' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_set_window_defaults': (.text+0x946e): undefined reference to `XSetClassHint' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_set_window_defaults': (.text+0x94dc): undefined reference to `XpmCreatePixmapFromData' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_set_window_defaults': (.text+0x94f4): undefined reference to `XSetWMHints' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x9534): undefined reference to `XUndefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x9552): undefined reference to `XcursorImageDestroy' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x9571): undefined reference to `XCreatePixmap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x95a6): undefined reference to `XCreateGC' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x95bb): undefined reference to `XDrawPoint' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x95c7): undefined reference to `XFreeGC' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x960f): undefined reference to `XCreatePixmapCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x9622): undefined reference to `XDefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x962d): undefined reference to `XFreePixmap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x964a): undefined reference to `XCreateFontCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x965d): undefined reference to `XDefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_hide_x_mouse': (.text+0x9677): undefined reference to `XFreeCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x96cb): undefined reference to `XBlackPixel' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x96e6): undefined reference to `XDefaultRootWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x9712): undefined reference to `XCreateWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x9726): undefined reference to `XGetWindowAttributes' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x975c): undefined reference to `XCreateColormap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x9772): undefined reference to `XSetWindowColormap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x9780): undefined reference to `XInstallColormap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x9794): undefined reference to `XInternAtom' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x97af): undefined reference to `XSetWMProtocols' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x97fa): undefined reference to `XCreateGC' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_window': (.text+0x980b): undefined reference to `XcursorSupportsARGB' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_display_is_local': (.text+0x9996): undefined reference to `XDisplayName' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `free_modelines': (.text+0x9a1d): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `free_modelines': (.text+0x9a74): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `free_modelines': (.text+0x9a93): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `free_modelines': (.text+0x9aae): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `free_modelines': (.text+0x9ac9): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o):(.text+0x9ae4): more undefined references to `XFree' follow /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_fetch_mode_list': (.text+0x9c97): undefined reference to `XF86VidModeQueryExtension' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_fetch_mode_list': (.text+0x9cb1): undefined reference to `XF86VidModeQueryVersion' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_fetch_mode_list': (.text+0x9cce): undefined reference to `XF86VidModeGetAllModeLines' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_get_pointer_mapping': (.text+0x9e88): undefined reference to `XGetPointerMapping' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `xwin_set_window_name': (.text+0x9fbc): undefined reference to `XSetClassHint' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_set_window_title': (.text+0xa055): undefined reference to `XStoreName' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_vsync': (.text+0xa233): undefined reference to `XSync' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_vsync': (.text+0xa291): undefined reference to `XSync' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_flush_buffers': (.text+0xa2e2): undefined reference to `XSync' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_enable_hardware_cursor': (.text+0xa493): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_handle_input': (.text+0xa521): undefined reference to `XEventsQueued' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_handle_input': (.text+0xa56a): undefined reference to `XNextEvent' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_handle_input': (.text+0xa5c7): undefined reference to `XNextEvent' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_handle_input': (.text+0xa5e9): undefined reference to `XNextEvent' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_handle_input': (.text+0xa601): undefined reference to `XNextEvent' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_handle_input': (.text+0xa619): undefined reference to `XNextEvent' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o):(.text+0xa631): more undefined references to `XNextEvent' follow /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L1681': (.text+0xa832): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L1686': (.text+0xaa49): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L1691': (.text+0xac46): undefined reference to `XNextEvent' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_show_mouse': (.text+0xb0c6): undefined reference to `XcursorImageLoadCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_show_mouse': (.text+0xb0d9): undefined reference to `XDefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_show_mouse': (.text+0xb10e): undefined reference to `XUndefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_show_mouse': (.text+0xb11c): undefined reference to `XFreeCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_set_mouse_sprite': (.text+0xb187): undefined reference to `XcursorImageDestroy' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_set_mouse_sprite': (.text+0xb1ce): undefined reference to `XcursorImageCreate' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_destroy_screen': (.text+0xb91f): undefined reference to `XUnmapWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_destroy_screen': (.text+0xb939): undefined reference to `XUngrabPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_destroy_screen': (.text+0xb960): undefined reference to `XUngrabKeyboard' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_destroy_screen': (.text+0xb990): undefined reference to `XChangeWindowAttributes' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_destroy_screen': (.text+0xb9b3): undefined reference to `XShmDetach' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_destroy_screen': (.text+0xb9eb): undefined reference to `XF86VidModeLockModeSwitch' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_destroy_screen': (.text+0xba03): undefined reference to `XF86VidModeSwitchToMode' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_set_matching_colors': (.text+0xbd8b): undefined reference to `XStoreColors' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xbe64): undefined reference to `XUnmapWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xbe76): undefined reference to `XResizeWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xbe85): undefined reference to `XMapWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xbe8a): undefined reference to `XAllocSizeHints' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xbec3): undefined reference to `XSetWMNormalHints' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xbecb): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xbf5a): undefined reference to `XCreateImage' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc06d): undefined reference to `XAllocColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc0b8): undefined reference to `XAllocColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc106): undefined reference to `XAllocColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc154): undefined reference to `XAllocColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc1a2): undefined reference to `XAllocColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o):(.text+0xc1f0): more undefined references to `XAllocColor' follow /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc6d1): undefined reference to `XChangeWindowAttributes' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc73c): undefined reference to `XF86VidModeQueryExtension' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc7f0): undefined reference to `XF86VidModeQueryVersion' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xc81b): undefined reference to `XF86VidModeGetAllModeLines' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_private_create_screen': (.text+0xcc14): undefined reference to `XStoreColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xd274): undefined reference to `XShmQueryExtension' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xd2b4): undefined reference to `XShmCreateImage' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xd329): undefined reference to `XShmAttach' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xd347): undefined reference to `XSync' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xda28): undefined reference to `XF86VidModeSwitchToMode' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xda48): undefined reference to `XF86VidModeLockModeSwitch' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xda68): undefined reference to `XMoveWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xda7b): undefined reference to `XF86VidModeSetViewPort' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdb3f): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdb4c): undefined reference to `XSync' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdb55): undefined reference to `XDefaultRootWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdb68): undefined reference to `XGrabKeyboard' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdb9f): undefined reference to `XGrabPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdbe5): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdc07): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdc2e): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdc4f): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdef7): undefined reference to `XStoreColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xdf7a): undefined reference to `XStoreColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `.L2215': (.text+0xe001): undefined reference to `XStoreColor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe4ac): undefined reference to `XcursorImageDestroy' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe4cf): undefined reference to `XFreeGC' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe51a): undefined reference to `XUndefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe528): undefined reference to `XFreeCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe547): undefined reference to `XUnmapWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe555): undefined reference to `XDestroyWindow' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe56c): undefined reference to `XUninstallColormap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_destroy_window': (.text+0xe57a): undefined reference to `XFreeColormap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_close_display': (.text+0xe5e8): undefined reference to `XCloseDisplay' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_open_display': (.text+0xe687): undefined reference to `XOpenDisplay' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xwin.o): In function `_xwin_open_display': (.text+0xe69b): undefined reference to `XDefaultScreen' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(umodules.o): In function `_unix_unload_modules': (.text+0x3e): undefined reference to `dlsym' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(umodules.o): In function `_unix_unload_modules': (.text+0x52): undefined reference to `dlsym' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(umodules.o): In function `_unix_unload_modules': (.text+0x77): undefined reference to `dlclose' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(umodules.o): In function `_unix_load_modules': (.text+0x2b9): undefined reference to `dlopen' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(umodules.o): In function `_unix_load_modules': (.text+0x2d5): undefined reference to `dlsym' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(uptimer.o): In function `ptimer_exit': (.text+0x30): undefined reference to `pthread_join' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(uptimer.o): In function `ptimer_init': (.text+0x6d): undefined reference to `pthread_create' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(uptimer.o): In function `ptimer_thread_func': (.text+0xb8): undefined reference to `pthread_sigmask' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(uthreads.o): In function `bg_man_pthreads_exit': (.text+0x55a): undefined reference to `pthread_join' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(uthreads.o): In function `bg_man_pthreads_init': (.text+0x690): undefined reference to `pthread_create' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(uthreads.o): In function `bg_man_pthreads_threadfunc': (.text+0x6f9): undefined reference to `pthread_sigmask' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_set_leds': (.text+0x109): undefined reference to `XChangeKeyboardControl' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_set_leds': (.text+0x132): undefined reference to `XChangeKeyboardControl' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_set_leds': (.text+0x14d): undefined reference to `XChangeKeyboardControl' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_exit': (.text+0x1db): undefined reference to `XDestroyIC' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_exit': (.text+0x1fb): undefined reference to `XCloseIM' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_exit': (.text+0x21b): undefined reference to `XFreeModifiermap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_exit': (.text+0x23b): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `find_unknown_key_assignment': (.text+0x34f): undefined reference to `XKeysymToString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `find_unknown_key_assignment': (.text+0x396): undefined reference to `XKeysymToString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x446): undefined reference to `XDisplayKeycodes' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x46a): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x493): undefined reference to `XGetKeyboardMapping' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x522): undefined reference to `XKeysymToString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x52a): undefined reference to `XKeysymToString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x56d): undefined reference to `XKeysymToString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x5d4): undefined reference to `XFreeModifiermap' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x5ea): undefined reference to `XGetModifierMapping' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x635): undefined reference to `XKeycodeToKeysym' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_get_keyboard_mapping': (.text+0x63d): undefined reference to `XKeysymToString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_init': (.text+0x7db): undefined reference to `XOpenIM' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_init': (.text+0x802): undefined reference to `XGetIMValues' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_init': (.text+0x911): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_init': (.text+0x945): undefined reference to `XCreateIC' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `x_keyboard_init': (.text+0x98d): undefined reference to `XFree' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_keyboard_handler': (.text+0x13ca): undefined reference to `Xutf8LookupString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_keyboard_handler': (.text+0x140f): undefined reference to `XFilterEvent' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xkeyboard.o): In function `_xwin_keyboard_handler': (.text+0x17fb): undefined reference to `XLookupString' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xmouse.o): In function `_xwin_select_system_cursor': (.text+0x93): undefined reference to `XCreateFontCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xmouse.o): In function `_xwin_select_system_cursor': (.text+0xa6): undefined reference to `XDefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xmouse.o): In function `_xwin_select_system_cursor': (.text+0xea): undefined reference to `XUndefineCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xmouse.o): In function `_xwin_select_system_cursor': (.text+0xf8): undefined reference to `XFreeCursor' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xmouse.o): In function `_xwin_mousedrv_position': (.text+0x3a2): undefined reference to `XWarpPointer' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_clear_to_color': (.text+0x1884): undefined reference to `XSetForeground' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_clear_to_color': (.text+0x18b6): undefined reference to `XFillRectangle' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_rectfill': (.text+0x1ace): undefined reference to `XSetForeground' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_rectfill': (.text+0x1afb): undefined reference to `XFillRectangle' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_vline': (.text+0x1d74): undefined reference to `XSetForeground' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_vline': (.text+0x1d99): undefined reference to `XDrawLine' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_hline': (.text+0x1f8b): undefined reference to `XSetForeground' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_hline': (.text+0x1fa8): undefined reference to `XDrawLine' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_putpixel': (.text+0x2151): undefined reference to `XSetForeground' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(xvtable.o): In function `_xwin_putpixel': (.text+0x2166): undefined reference to `XDrawPoint' /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/liballeg.a(digmid.o): In function `digmid_init': (.text+0x1b21): undefined reference to `pow' collect2: ld returned 1 exit status *** Errors occurred during this build *** ]0;root@adam: /home/adam/Tank Warsroot@adam:/home/adam/Tank Wars# Can someone tell me what is wrong? Thanks if you help.

Share this post


Link to post
Share on other sites
Advertisement
Those are what you call linking errors. You haven't set SlickEdit to use allegro. (I don't use SlickEdit, so you'll have to find this out from someone else...) The linker can't find liballeg.a, to compile in all those functions.

Share this post


Link to post
Share on other sites
It also would appear that you are trying to compile a C++ program without linking to the C++ library.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!