Skip to content

Conversation

@Willenbrink
Copy link

This PR fixes some issues I encountered when compiling it with newer compiler versions.

  • Add this-> in front of operator(). Apparently this is no longer supported in newer GCC versions
  • Add #include <string.h>. Apparently this is no longer transitively included somewhere

In addition to these changes, on my computer the following changes were also necessary:

  • In cmake, disable: IVW_USE_SIGAR, IVW_MODULE_FONTRENDERING, IVW_TEST_UNIT_TESTS, IVW_TEST_INTEGRATION_TESTS and IVW_TEST_UNIT_TESTS_RUN_ON_BUILD
  • Remove inviwo-output/lib/freetype.so.6 and replace it with the one installed on your system, e.g. ln -s /usr/lib64/freetype.so.6 inviwo-output/lib/freetype.so.6. Use fd freetype.so.6 / to find the lib (or use find, don't know the syntax there).

Resubmit because I can't change the branch of an already existing PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant