Hi,
I`ve recently installed code blocks, but I have some problems in using it:
1- in new "new projects" window I have chosen wxWidgets...at the begining when I haven`t add any object to forrm , if I run the project ...the following errors are shown
/usr/local/include/wx-2.8/wx/hashmap.h||In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:|
/usr/local/include/wx-2.8/wx/hashmap.h|714|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/clntdata.h||In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:|
/usr/local/include/wx-2.8/wx/clntdata.h|20|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/clntdata.h||In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:|
/usr/local/include/wx-2.8/wx/clntdata.h|25|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/gdicmn.h||In member function ‘wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:|
/usr/local/include/wx-2.8/wx/gdicmn.h|544|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/image.h||In member function ‘wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const’:|
/usr/local/include/wx-2.8/wx/image.h|136|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/hashmap.h||In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:|
/usr/local/include/wx-2.8/wx/hashmap.h|714|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/clntdata.h||In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:|
/usr/local/include/wx-2.8/wx/clntdata.h|20|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/clntdata.h||In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:|
/usr/local/include/wx-2.8/wx/clntdata.h|25|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/local/include/wx-2.8/wx/gdicmn.h||In member function ‘wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:|
/usr/local/include/wx-2.8/wx/gdicmn.h|544|warning: dereferencing type-punned pointer will break strict-aliasing rules|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_sequence_set'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_sequence_sort_iter'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_sequence_get_begin_iter'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_context_new'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_uri_list_extract_uris'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_group_set_translation_domain'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_get_locale_string'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_bookmark_file_get_modified'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_unlink'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_free'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_group_new'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_slice_alloc0'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_bookmark_file_get_title'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_intern_static_string'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_get_groups'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_group_set_parse_hooks'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_filename_display_name'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_context_free'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_markup_printf_escaped'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_bookmark_file_get_applications'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_object_interface_install_property'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_sequence_new'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_context_parse'|
/usr/local/lib/libwx_gtk2_adv-2.8.so||undefined reference to `g_assert_warning'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_strv_get_type'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_sequence_get_end_iter'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_atomic_int_compare_and_exchange'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_sequence_free'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_sequence_swap'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_bookmark_file_move_item'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_get_start_group'|
/usr/lib/libpango-1.0.so.0||undefined reference to `g_once_init_enter_impl'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_type_class_add_private'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_get_user_config_dir'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_get_string'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_get_language_names'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_bookmark_file_get_app_info'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_get_keys'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_get_integer'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_group_add_entries'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_key_file_set_boolean'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_mapped_file_free'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_str_has_suffix'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_once_init_enter'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_context_set_help_enabled'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_option_context_add_main_entries'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_ptr_array_foreach'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_bookmark_file_get_mime_type'|
/usr/lib/libgtk-x11-2.0.so.0||undefined reference to `g_initially_unowned_get_type'|
/usr/lib/libgdk_pixbuf-2.0.so.0||undefined reference to `g_ascii_strtoll'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 9 warnings ===|
it seems that the problem is with some header files that cannot be found at running time.....
but I don`t know how to solve it ...I`d be thankful if any one can help.........
2- Is there any tutorial and sample programs for using Code Blocks..I`d be thankful if you could introduce me some.....
thanks