Eror compiling Anura


#1

I’m using Debian Jessie (Stable)

When i try to compile Anura, i get this:

make
OPTIMIZE : yes
USE_CCACHE : yes
CCACHE : ccache
SANITIZE_ADDRESS :
SANITIZE_UNDEFINED :
USE_DB_CLIENT : no
USE_BOX2D : yes
USE_LIBVPX :
USE_LUA : yes
USE_SDL2 : yes
CXX : g++
BASE_CXXFLAGS : -O2 -Wall -Werror -Wno-literal-suffix -Wno-sign-compare -fdiagnostics-color=auto -DUSE_LUA -std=c++0x -g -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -Wno-reorder -Wno-unused -Wno-unknown-pragmas -Wno-overloaded-virtual -DUSE_SVG
CXXFLAGS :
LDFLAGS : -rdynamic
LIBS : -lX11 -lGL -L/usr/lib/x86_64-linux-gnu -lGLEW -lGLU -lGL -lSDL2_image -lSDL2 -lpng12 -lz -lfreetype -lcairo -lSDL2_ttf -lSDL2_mixer -lrt -lcairo
Building: src/kre/SurfaceSDL.cpp
Building: src/kre/RenderTarget.cpp
Building: src/kre/StencilScope.cpp
Building: src/kre/SceneTree.cpp
Building: src/kre/Scissor.cpp
Building: src/kre/ModelMatrixScope.cpp
Building: src/kre/TexPack.cpp
Building: src/kre/AttributeSetOGL.cpp
Building: src/kre/SceneNode.cpp
Building: src/kre/Color.cpp
Building: src/kre/RenderQueue.cpp
Building: src/kre/SurfaceBlur.cpp
Building: src/kre/TextureOGL.cpp
Building: src/kre/UniformBuffer.cpp
Building: src/kre/FontSTB.cpp
Building: src/kre/ShadersOGL.cpp
Building: src/kre/Renderable.cpp
Building: src/kre/EffectsOGL.cpp
Building: src/kre/Frustum.cpp
Building: src/kre/Depth.cpp
Building: src/kre/AttributeSet.cpp
Building: src/kre/SurfaceScale.cpp
Building: src/kre/TextureSDL.cpp
Building: src/kre/VGraphOGLFixed.cpp
Building: src/kre/DisplayDeviceSDL.cpp
Building: src/kre/VGraphOGL.cpp
Building: src/kre/Font.cpp
Building: src/kre/Gradients.cpp
Building: src/kre/LightObject.cpp
Building: src/kre/Util.cpp
Building: src/kre/WindowManager.cpp
Building: src/kre/ClipScope.cpp
Building: src/kre/FontDriver.cpp
Building: src/kre/Surface.cpp
Building: src/kre/ParticleSystemEmitters.cpp
Building: src/kre/Blittable.cpp
Building: src/kre/DisplayDeviceOGL.cpp
Building: src/kre/ParticleSystemParameters.cpp
Building: src/kre/ScissorOGL.cpp
Building: src/kre/FontSDL.cpp
Building: src/kre/ParticleSystem.cpp
Building: src/kre/ParticleSystemAffectors.cpp
Building: src/kre/Canvas.cpp
Building: src/kre/BlendModeScope.cpp
Building: src/kre/FontFreetype.cpp
Building: src/kre/RenderManager.cpp
Building: src/kre/SceneGraph.cpp
Building: src/kre/FboOGL.cpp
Building: src/kre/Texture.cpp
Building: src/kre/SceneObject.cpp
Building: src/kre/DisplayDevice.cpp
Building: src/kre/StencilScopeOGL.cpp
Building: src/kre/UniformBufferOGL.cpp
Building: src/kre/Shaders.cpp
Building: src/kre/Cursor.cpp
Building: src/kre/CanvasOGL.cpp
Building: src/kre/CameraObject.cpp
Building: src/kre/VGraphCairo.cpp
Building: src/kre/ClipScopeOGL.cpp
Building: src/kre/VGraph.cpp
Building: src/kre/Blend.cpp
Building: src/kre/DisplayDeviceOGLFixed.cpp
Building: src/kre/ColorScope.cpp
Building: src/kre/ParticleSystemObservers.cpp
Building: src/kre/SceneParameters.cpp
Building: src/kre/BlendOGL.cpp
Building: src/svg/svg_path_parse.cpp
Building: src/svg/svg_element.cpp
Building: src/svg/svg_transform.cpp
Building: src/svg/svg_shapes.cpp
Building: src/svg/svg_utils.cpp
Building: src/svg/easy_svg.cpp
Building: src/svg/svg_parse.cpp
Building: src/svg/svg_style.cpp
Building: src/svg/svg_paint.cpp
Building: src/svg/svg_container.cpp
Building: src/svg/svg_attribs.cpp
Building: src/svg/svg_gradient.cpp
Building: src/tiled/tmx_reader.cpp
Building: src/tiled/tiled.cpp
Building: src/hex/hex_map.cpp
Building: src/hex/hex_pathfinding.cpp
Building: src/hex/hex_logical_tiles.cpp
Building: src/hex/hex_renderable.cpp
Building: src/hex/hex_tile.cpp
Building: src/hex/hex_mask.cpp
Building: src/hex/hex_object.cpp
Building: src/xhtml/xhtml_style_tree.cpp
Building: src/xhtml/xhtml_parser.cpp
Building: src/xhtml/xhtml_line_box.cpp
Building: src/xhtml/css_selector.cpp
Building: src/xhtml/css_properties.cpp
Building: src/xhtml/xhtml_inline_block_box.cpp
Building: src/xhtml/solid_renderable.cpp
Building: src/xhtml/xhtml_script_interface.cpp
Building: src/xhtml/event_listener.cpp
Building: src/xhtml/xhtml_layout_engine.cpp
Building: src/xhtml/xhtml_background_info.cpp
Building: src/xhtml/xhtml_text_node.cpp
Building: src/xhtml/xhtml_absolute_box.cpp
Building: src/xhtml/xhtml_inline_element_box.cpp
Building: src/xhtml/url_handler.cpp
Building: src/xhtml/xhtml_block_box.cpp
Building: src/xhtml/xhtml_listitem_box.cpp
Building: src/xhtml/xslider.cpp
Building: src/xhtml/scrollable.cpp
Building: src/xhtml/xhtml_box.cpp
Building: src/xhtml/css_parser.cpp
Building: src/xhtml/css_stylesheet.cpp
Building: src/xhtml/xhtml_border_info.cpp
Building: src/xhtml/css_styles.cpp
Building: src/xhtml/xhtml_root_box.cpp
Building: src/xhtml/xhtml_text_box.cpp
Building: src/xhtml/xhtml_element.cpp
Building: src/xhtml/xhtml_render_ctx.cpp
Building: src/xhtml/css_lexer.cpp
Building: src/xhtml/xhtml_node.cpp
Building: src/xhtml/to_roman.cpp
Building: src/xhtml/css_transition.cpp
Building: src/eris/ltablib.cpp
Building: src/eris/lauxlib.cpp
Building: src/eris/lapi.cpp
Building: src/eris/test_unpersist.cpp
Building: src/eris/ldo.cpp
Building: src/eris/lgc.cpp
Building: src/eris/lctype.cpp
Building: src/eris/lcorolib.cpp
Building: src/eris/lvm.cpp
Building: src/eris/lfunc.cpp
Building: src/eris/ldump.cpp
Building: src/eris/ltable.cpp
Building: src/eris/liolib.cpp
Building: src/eris/lmem.cpp
Building: src/eris/loslib.cpp
Building: src/eris/lzio.cpp
Building: src/eris/ldebug.cpp
Building: src/eris/loadlib.cpp
Building: src/eris/linit.cpp
Building: src/eris/lmathlib.cpp
Building: src/eris/lstate.cpp
Building: src/eris/lopcodes.cpp
Building: src/eris/lstrlib.cpp
Building: src/eris/lbaselib.cpp
Building: src/eris/ldblib.cpp
Building: src/eris/ltm.cpp
Building: src/eris/luac.cpp
Building: src/eris/lua.cpp
Building: src/eris/lbitlib.cpp
Building: src/eris/lobject.cpp
Building: src/eris/lstring.cpp
Building: src/eris/eris.cpp
Building: src/eris/llex.cpp
Building: src/eris/lparser.cpp
Building: src/eris/test_persist.cpp
Building: src/eris/lcode.cpp
Building: src/eris/lundump.cpp
Building: src/collision_utils.cpp
Building: src/md5.cpp
Building: src/load_level_nothread.cpp
Building: src/checkbox.cpp
Building: src/speech_dialog.cpp
Building: src/i18n.cpp
Building: src/normal_map.cpp
Building: src/custom_object_dialog.cpp
Building: src/module_web_server.cpp
Building: src/sys.cpp
Building: src/SceneNodeCallable.cpp
Building: src/random.cpp
Building: src/stats_server.cpp
Building: src/widget.cpp
Building: src/dropdown_widget.cpp
Building: src/video_selections.cpp
Building: src/ffl_weak_ptr.cpp
Building: src/screen_handling.cpp
Building: src/voxel_editor.cpp
Building: src/user_voxel_object.cpp
Building: src/editor_layers_dialog.cpp
Building: src/surface_cache.cpp
Building: src/key_button.cpp
Building: src/clipboard.cpp
Building: src/tbs_internal_client.cpp
Building: src/voxel_animation.cpp
Building: src/db_client.cpp
Building: src/skybox.cpp
Building: src/property_editor_dialog.cpp
Building: src/text_editor_widget.cpp
Building: src/json_parser.cpp
Building: src/formula_interface.cpp
Building: src/json_tokenizer.cpp
Building: src/level_object.cpp
Building: src/gui_section.cpp
Building: src/formula_callable.cpp
Building: src/translate.cpp
Building: src/sound.cpp
Building: src/player_info.cpp
Building: src/tbs_ai_player.cpp
Building: src/bar_widget.cpp
Building: src/controls_dialog.cpp
Building: src/custom_object.cpp
Building: src/level.cpp
Building: src/formula_garbage_collector.cpp
Building: src/stats_web_server.cpp
Building: src/filesystem-android.cpp
Building: src/surface_utils.cpp
Building: src/logger.cpp
Building: src/solid_map.cpp
Building: src/voxel_model.cpp
Building: src/segment_editor_dialog.cpp
Building: src/grid_widget.cpp
Building: src/weather_particle_system.cpp
Building: src/TextureObject.cpp
Building: src/anura_shader.cpp
Building: src/game_registry.cpp
Building: src/object_events.cpp
Building: src/editor_module_properties_dialog.cpp
Building: src/file_chooser_dialog.cpp
Building: src/asserts.cpp
Building: src/utility_object_compiler.cpp
Building: src/playable_custom_object.cpp
Building: src/tree_view_widget.cpp
Building: src/custom_object_functions.cpp
Building: src/voxel_object_type.cpp
Building: src/ffl_dom.cpp
Building: src/water.cpp
Building: src/level_logic.cpp
Building: src/level_runner.cpp
Building: src/formula_visualize_widget.cpp
Building: src/stats.cpp
Building: src/poly_line_widget.cpp
Building: src/editor_stats_dialog.cpp
Building: src/editor_formula_functions.cpp
Building: src/utility_query.cpp
Building: src/module.cpp
Building: src/loading_screen.cpp
Building: src/progress_bar.cpp
Building: src/entity.cpp
Building: src/graphical_font.cpp
Building: src/checksum.cpp
Building: src/lua_iface.cpp
Building: src/external_text_editor.cpp
Building: src/main.cpp
Building: src/formula_function_registry.cpp
Building: src/ft_iface.cpp
Building: src/button.cpp
Building: src/preferences.cpp
Building: src/distortion.cpp
Building: src/settings_dialog.cpp
Building: src/framed_gui_element.cpp
Building: src/controls.cpp
Building: src/wml_formula_callable.cpp
Building: src/particle_system.cpp
Building: src/formula_test.cpp
Building: src/thread.cpp
Building: src/variant_utils.cpp
Building: src/string_utils.cpp
Building: src/decimal.cpp
Building: src/draw_scene.cpp
Building: src/preprocessor.cpp
Building: src/slider.cpp
Building: src/scrollable_widget.cpp
Building: src/http_client.cpp
Building: src/tbs_server.cpp
Building: src/editor.cpp
Building: src/multiplayer_server.cpp
Building: src/tileset_editor_dialog.cpp
Building: src/ParticleSystemWidget.cpp
Building: src/breakpad.cpp
Building: src/simplex_noise.cpp
Building: src/tbs_web_server.cpp
Building: src/SceneObjectCallable.cpp
Building: src/variant_type.cpp
Building: src/isochunk.cpp
Building: src/widget_editor.cpp
Building: src/draw_primitive.cpp
Building: src/unit_test.cpp
Building: src/debug_console.cpp
Building: src/ColorTransform.cpp
Building: src/tbs_internal_server.cpp
Building: src/load_level.cpp
Building: src/water_particle_system.cpp
Building: src/cairo.cpp
Building: src/play_vpx.cpp
Building: src/pathfinding.cpp
Building: src/LayerBlitInfo.cpp
Building: src/draw_tile.cpp
Building: src/formula_variable_storage.cpp
Building: src/tooltip.cpp
Building: src/scrollbar_widget.cpp
Building: src/background.cpp
Building: src/stats_server_main.cpp
Building: src/formula_tokenizer.cpp
Building: src/color_picker.cpp
Building: src/multiplayer.cpp
Building: src/formula_function.cpp
Building: src/dialog.cpp
Building: src/message_dialog.cpp
Building: src/utils.cpp
Building: src/multi_tile_pattern.cpp
Building: src/tbs_server_base.cpp
Building: src/animation_preview_widget.cpp
Building: src/level_solid_map.cpp
Building: src/character_editor_dialog.cpp
Building: src/joystick.cpp
Building: src/tbs_bot.cpp
Building: src/tbs_functions.cpp
Building: src/geometry_callable.cpp
Building: src/tbs_game.cpp
Building: src/StackWalker.cpp
Building: src/drag_widget.cpp
Building: src/tbs_ipc_client.cpp
Building: src/border_widget.cpp
Building: src/code_editor_dialog.cpp
Building: src/rich_text_label.cpp
Building: src/graphical_font_label.cpp
Building: src/animation_widget.cpp
Building: src/variant_callable.cpp
Building: src/difficulty.cpp
Building: src/tbs_relay_server.cpp
Building: src/voxel_object.cpp
Building: src/editor_variable_info.cpp
Building: src/filesystem.cpp
Building: src/animation_creator.cpp
Building: src/frame.cpp
Building: src/formula_object.cpp
Building: src/achievements.cpp
Building: src/editor_dialogs.cpp
Building: src/variant.cpp
Building: src/utility_render_level.cpp
Building: src/formula_callable_definition.cpp
Building: src/poly_map.cpp
Building: src/shared_memory_pipe.cpp
Building: src/tbs_matchmaking_server.cpp
Building: src/tile_map.cpp
Building: src/light.cpp
Building: src/auto_update_window.cpp
Building: src/blur.cpp
Building: src/VoronoiDiagramGenerator.cpp
Building: src/custom_object_type.cpp
Building: src/http_server.cpp
Building: src/surface_palette.cpp
Building: src/group_property_editor_dialog.cpp
Building: src/formula.cpp
Building: src/b2d_ffl.cpp
Building: src/background_task_pool.cpp
Building: src/current_generator.cpp
Building: src/voxel_object_functions.cpp
Building: src/globals.cpp
Building: src/particle_system_proxy.cpp
Building: src/base64.cpp
Building: src/layout_widget.cpp
Building: src/widget_settings_dialog.cpp
Building: src/isoworld.cpp
Building: src/preview_tileset_widget.cpp
Building: src/widget_factory.cpp
Building: src/label.cpp
Building: src/pause_game_dialog.cpp
Building: src/rect_renderable.cpp
Building: src/image_widget.cpp
Building: src/formula_constants.cpp
Building: src/rectangle_rotator.cpp
Building: src/uuid.cpp
Building: src/editor_level_properties_dialog.cpp
Building: src/compress.cpp
Building: src/code_editor_widget.cpp
Building: src/tbs_client.cpp
Building: src/formula_profiler.cpp
Building: src/custom_object_callable.cpp
Building: src/ffl_lib.cpp
Building: src/formula_callable_visitor.cpp
Building: src/input.cpp
Building: src/language_dialog.cpp
Linking : anura
./build/filesystem.o: In function copy_file': /usr/local/include/boost/filesystem/operations.hpp:497: undefined reference toboost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
Makefile:166: recipe for target ‘anura’ failed
make: *** [anura] Error 1


#2

Hmm, someone on IRC (#frogatto at irc.freenode.net) suggested it could be a version mismatch between Boost.Filesystem headers and libraries.
Probably best to make sure everything Boost is up to date.


#3

Oh, maybe it is because i installed two Boost versions (one from the package manager, another compiled from the latest version)

But Anura refused to compile with the old version too (don’t remember the error now) and the package manager don’t let me remove the old version without removing a bunch of needed stuff with it. :<

I couldn’t run the precompiled Linux binaries too, due to Boost being too old.

Something like a portable Anura Linux version with all the libs included exist?

For now i’m using Playonlinux to run the Anura Windows version, but the program crashes if i try to edit code and in some stages.