Skip to content

Upgrade to openFrameworks 0.10.1 #20

@MatthewScholefield

Description

@MatthewScholefield

Someone asked about upgrading openFrameworks so I decided to create an issue here to do it. There currently isn't a clear process for how to upgrade this library, so we can try to develop one by documenting the problems we face while trying to do it. So far, here is the best idea of how to start:

  • Replace src/openframeworks with libs/openFrameworks/ inside the .tar.gz of the latest release
  • Try building (probably won't work)
  • Probably regenerate sources in CMakeLists.txt using a command like the following:
find src/openframeworks -name '*.c*' | sed -e "s/\.\/\(.*\)/    \"\${OF_ROOT_DIR}\/\\1\"/gm"
# This generates a bunch of lines like the following below which can be copied into the CMakeLists.txt to replace the old list of source files:
#     "${OF_ROOT_DIR}/src/openframeworks/app/ofBaseApp.cpp"
  • Try building again, and if it still fails post any errors
  • If it fails to compile because of libraries, they might need to be upgraded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions