Code Monkey home page Code Monkey logo

Comments (9)

mdesantis avatar mdesantis commented on May 5, 2024 1

It affects me too: Ubuntu 18.04.3 LTS, i7-2600K, 4.15.0-72-generic. I confirm that building from source works fine.

from abstreet.

dabreegster avatar dabreegster commented on May 5, 2024 1

I tried the v0.1.18 build on an older Linux laptop, but couldn't repro -- it runs fine.

I built another binary in a Docker container using cross build --release --target x86_64-unknown-linux-gnu --bin game -- would you mind trying out https://www.dropbox.com/s/wy02ug5nyf8pxrg/game_x86_64-unknown-linux-gnu?dl=0
If that works, I'll change my build scripts to always use cross. I'm still not sure what the difference is; it's a statically linked binary for x86_64 architecture

from abstreet.

dabreegster avatar dabreegster commented on May 5, 2024 1

Try out https://github.com/dabreegster/abstreet/releases/tag/v0.1.19 if you get a chance

from abstreet.

dabreegster avatar dabreegster commented on May 5, 2024

Weird. I'm running Ubuntu 18.04.3 as well with 4.15.0-1064-oem (a preinstalled Dell kernel). I'm using https://github.com/rust-embedded/cross to cross-compile to Windows, so there's probably a generic x86_64 target. I'll look into this.

from abstreet.

pmontrasio avatar pmontrasio commented on May 5, 2024

Ubuntu 19.10, same problem.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 19.10
Release:	19.10
Codename:	eoan

$ uname -a
Linux connettizb 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ ./play_abstreet.sh 
./play_abstreet.sh: line 4: 21879 Floating point exception(core dumped) RUST_BACKTRACE=1 ./game --rng_seed=42

I don't have Rust installed so I'm not trying to build from sources.

from abstreet.

Servuc avatar Servuc commented on May 5, 2024

Hello,

Your version works fine ;)

EDIT : Not really, game goes down on starting to play (after S pressed)

from abstreet.

dabreegster avatar dabreegster commented on May 5, 2024

That might be some other bug unrelated to the binary compatibility. Can you send the terminal output?

I'll put out a new build tomorrow, probably using this new method with cross. I also got lots of good hints from https://old.reddit.com/r/rust/comments/eaa8f7/building_compatible_linux_binaries/ that I'll try out. Turns out making one binary that works across different Linux distros, Wayland vs Xorg, libc versions, etc, is kind of tricky.

from abstreet.

Servuc avatar Servuc commented on May 5, 2024

This version is better ! 👍

Seems that there is no problem

from abstreet.

dabreegster avatar dabreegster commented on May 5, 2024

Great, please reopen if anyone has problems

from abstreet.

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.