Jump to content
  • Advertisement

RajTheIndieGuy

Member
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

122 Neutral

About RajTheIndieGuy

  • Rank
    Newbie
  1. Anyways, I upgraded my Ubuntu to 14.04, now there is no problem. Strange things happen sometimes.
  2. RajTheIndieGuy

    How can I use sfml with codeblocks in Ubuntu ?

    At last i upgraded my Ubuntu to 14.04, now there is no problem.
  3. I want to know how to install sfml 2.3 properly in ubuntu 12.04.
  4. RajTheIndieGuy

    How can I use sfml with codeblocks in Ubuntu ?

      It is very far behind. Ubuntu 12.04 has SFML 1.6 in its repositories, whereas the current version is 2.3. I have already tried this 1.6 version but it was totally messed up. The syntax of its functions were very different from the new SFML versions. So I downloaded the latest SFML for linux, placed its header files in usr/local/lib and placed the modules in usr/local/include, which are the standard locations for installing libraries. Now it is giving me these undefined reference errors in code::blocks, and also when I compile and run from the terminal.
  5. RajTheIndieGuy

    How can I use sfml with codeblocks in Ubuntu ?

    I installed them. Now only the first three warnings are gone, but these 34 undefined reference errors are still showing :-   /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_action@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_list_entry_get_next@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info_sizes'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_list_entry_get_name@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_query_version'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_new@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info_reply'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_receive_device@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_create_pixmap_from_bitmap_data'| /usr/local/lib/libsfml-graphics.so||undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_devnode@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_enable_receiving@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_new@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_id'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_get_fd@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_query_version_reply'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_property_value@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_filter_add_match_subsystem_devtype@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_set_screen_config_reply'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_get_list_entry@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_scan_devices@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_add_match_subsystem@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_syspath@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_sysattr_value@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info_sizes_length'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_set_screen_config'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_new_from_netlink@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_new_from_syspath@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_parent_with_subsystem_devtype@LIBUDEV_183'| ||=== Build finished: 34 errors ===|
  6. RajTheIndieGuy

    How can I use sfml with codeblocks in Ubuntu ?

    @teh_progreammer     Yes. Instead of copying only the contents of the include and lib folder, I had copied the whole include folder inside the /usr/local/include and the whole lib folder inside the usr/local/lib, but I corrected it now. But it is still not working. This error is coming :-   ||warning: libxcb-image.so.0, needed by /usr/local/lib/libsfml-window.so, not found (try using -rpath or -rpath-link)| ||warning: libxcb-randr.so.0, needed by /usr/local/lib/libsfml-window.so, not found (try using -rpath or -rpath-link)| ||warning: libudev.so.1, needed by /usr/local/lib/libsfml-window.so, not found (try using -rpath or -rpath-link)| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_action@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_list_entry_get_next@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info_sizes'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_list_entry_get_name@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_query_version'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_new@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info_reply'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_receive_device@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_create_pixmap_from_bitmap_data'| /usr/local/lib/libsfml-graphics.so||undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_devnode@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_enable_receiving@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_new@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_id'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_get_fd@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_query_version_reply'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_unref@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_property_value@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_filter_add_match_subsystem_devtype@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_set_screen_config_reply'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_get_list_entry@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_scan_devices@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_enumerate_add_match_subsystem@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_syspath@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_sysattr_value@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info_sizes_length'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_set_screen_config'| /usr/local/lib/libsfml-window.so||undefined reference to `xcb_randr_get_screen_info'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_monitor_new_from_netlink@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_new_from_syspath@LIBUDEV_183'| /usr/local/lib/libsfml-window.so||undefined reference to `udev_device_get_parent_with_subsystem_devtype@LIBUDEV_183'| ||=== Build finished: 34 errors, 3 warnings ===|  
  7. I am having a problem in ubuntu 12.04. I am not able to use SFML in my c++ project using codeblocks. In the SFML folder there are include and lib sub folders. include contains header files (.h files). lib contains library files (.so files). When I link the library in the project build options in code::blocks,  compiler cannot find the files. It is giving undefined reference errors. With some research, I came to know that I have to place the sfml files in standard path so that code::blocks will find them automatically. So, I put the sfml's include folder in usr / local / include,  and its lib folder in / usr / local / lib. But it is still giving the same error: fatal error: SFML/Graphics.hpp: No such file or directory
  8. I am in college and I do not have $100 to buy the steam license. Is there any place where I can sell my game commercially without having to pay for license ?
  • 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!