Giter Site home page Giter Site logo

connor-brooks / ecosim Goto Github PK

View Code? Open in Web Editor NEW
390.0 390.0 11.0 21.32 MB

An interactive ecosystem and evolution simulator written in C and OpenGL, for GNU/Linux.

License: GNU General Public License v2.0

Makefile 0.95% C 94.68% Python 3.50% C++ 0.71% Shell 0.15%
boids ecosystem evolution game genetic-algorithm life linux simulation

ecosim's People

Contributors

connor-brooks avatar smcameron avatar timgates42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ecosim's Issues

No graphics in VMware player

Running Ubuntu 18.04 LTS in VMWare player 15. Had to add -fPIC compile option in order to build. Now builds, runs, and plays sound. Opens window, but window remains dark (blank) until closed.

Segmentation fault when using Nvidia drivers

I've cloned the repo and built it with make, but when I try to run the executable, it segfaults:

$ ./ecosim
[1]    28758 segmentation fault  ./ecosim

Logging python script appears to be broken as well, unable to find module logger_data. It doesn't sound like some actual python module that can be installed (and duckduckgo search agrees) so I assume it's supposed to be a part of this software but it's not here

$ ./ecosim_with_log.sh 
Starting Ecosim...
./ecosim_with_log.sh: line 4: 30315 Segmentation fault   ./ecosim
Starting logger plot
Traceback (most recent call last):
  File "./logger_plot.py", line 7, in <module>
    import logger_data
ModuleNotFoundError: No module named 'logger_data'

As a side note, I had to change the python script's shebang to #!/usr/bin/env python3 because python3.5 is not a thing on my system, I imagine I'm not the only one

Should I make this into two issues? Cause now that I think about this these are two separate problems but it feels kinda weird

No such file or directory

Building ecosim-git...
==> Making package: ecosim-git r204.1cac4af-1 (So 15 Mär 2020 14:47:48 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating ecosim-git git repo...
Fetching origin
==> Validating source files with sha256sums...
    ecosim-git ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of ecosim-git git repo...
Cloning into 'ecosim-git'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
c logger.c
make: c: No such file or directory
make: [Makefile:31: logger.o] Error 127 (ignored)
c quadtree.c
make: c: No such file or directory
make: [Makefile:28: quadtree.o] Error 127 (ignored)
c graphics.c
make: c: No such file or directory
make: [Makefile:25: graphics.o] Error 127 (ignored)
c utils.c
make: c: No such file or directory
make: [Makefile:22: utils.o] Error 127 (ignored)
c agents.c
make: c: No such file or directory
make: [Makefile:19: agents.o] Error 127 (ignored)
c input.c
make: c: No such file or directory
make: [Makefile:16: input.o] Error 127 (ignored)
c main.c
make: c: No such file or directory
make: [Makefile:13: main.o] Error 127 (ignored)
march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt logger.o quadtree.o graphics.o utils.o agents.o input.o main.o -o ecosim -lGL -lm -lglfw -lGLEW
/bin/sh: -mtune=generic: command not found
make: [Makefile:10: ecosim] Error 127 (ignored)
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'ecosim': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

Hello,
can you please tell me, what can I do about this?

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.