Code Monkey home page Code Monkey logo

Comments (6)

sebjameswml avatar sebjameswml commented on May 19, 2024

This might have happened if you built and installed morphologica without first having installed the glfw library on your system. If the cmake process fails to find glfw, then a make install won't install Visual.h and all the other headers required for graphical programs. Here's the relevant section of the CMakeLists.txt: https://github.com/ABRG-Models/morphologica/blob/main/morph/CMakeLists.txt#L16

from morphologica.

sebjameswml avatar sebjameswml commented on May 19, 2024

I'm just trying to build standalone_examples/schnakenberg with an installed morphologica (installed into /usr/local/). There are one or two headers that are not installed - base64.h is one.

from morphologica.

sebjameswml avatar sebjameswml commented on May 19, 2024

I made sure that the Schnakenberg example in standalone_examples/ will compile against an installed morphologica now (see the most recent couple of commits). Let me know which example you're trying to build if you are still stuck.

from morphologica.

niclar avatar niclar commented on May 19, 2024

@sebjameswml Yeah I tried building/installing morph in isolation omitting examples & tests.

-Can you maybe make dependencies and examples explicitly optional (from the top level cmake) or the morph cmake "standalone". I.e use FindModule for glfw there

(also tried HEAD / 3efe3ab)

https://github.com/ABRG-Models/morphologica/files/8254410/patch.diff.txt

from morphologica.

sebjameswml avatar sebjameswml commented on May 19, 2024

Making deps and examples explicitly optional is possible, so that it's a simple make && make install process (buildling all the tests and examples does take quite a while).

from morphologica.

sebjameswml avatar sebjameswml commented on May 19, 2024

I don't think I'll change the build process. When you type make, you'll just get all the tests and examples compiled.

from morphologica.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.