Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.46 KB

readme-clasp.org

File metadata and controls

37 lines (32 loc) · 1.46 KB

What is this?

This fork of SFML contains some early test bindings for accessing SFML from clasp

How do I compile?

  • Get the following dependency libraries as dev version via your package manger
    • pthread
    • opengl
    • xlib
    • xrandr
    • udev
    • freetype
    • glew
    • jpeg
    • sndfile
    • openal
  • Run cmake-gui, enter the src and build directories, hit configure and select “specify native compilers” and select the clang compiler from clasp-externals.
  • You will get an error message about two missing directories. Specifiy the CLASP_INCLUDE_PATH and EXTERNALS_CLASP_PATH manually.
  • Hit configure again, then generate.
  • call “make” in the sfml build directory that you specified.

What do I do with it?

Todo

SoundRecorder: There should be a to_object converter for std::vectorstd::string (is there?)

SoundBuffer: Missing Assignment operator

SoundSource: Missing to_object and from_object converters for const Vector3f&

SoundStream: Currently not handling struct Chunk: converters?

Sound : Missing assignment operator

Questions

SoundSource: How to handle copy constructors?

What to do with static functions

What to do with classes that have protected constructors, that are meant to be called by derived classes?