Giter Club home page Giter Club logo

Comments (3)

Bromeon avatar Bromeon commented on August 23, 2024 1

@RealAstolfo thanks for the heads-up, I'll look deeper into how this version looks exactly 👍

Edit: fixed on master

from gdext.

RealAstolfo avatar RealAstolfo commented on August 23, 2024

similar issue with me,
` Found 'godot4' executable in PATH: /usr/bin/godot4
cargo:rerun-if-changed=/usr/bin/godot4
Godot version: 4.0.beta8.gentoo.45cac42c0

--- stderr
Build selected for Linux/Windows.
thread 'main' panicked at 'failed to parse Godot version '4.0.beta8.gentoo.45cac42c0
': Regex capture failed', /home/dots/.cargo/git/checkouts/gdextension-25c68fb170a9fb9d/eaefd45/godot-codegen/src/godot_exe.rs:87:13
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace`

this function seems to be the fault https://github.com/godot-rust/gdextension/blob/fc41cc4ae2cb053e6a69006958269adf4fb091c4/godot-codegen/src/godot_version.rs#L29

my suggestion is to change the regex to accept everything after "4.0.beta" since those seem to be all that matters anyway

from gdext.

RealAstolfo avatar RealAstolfo commented on August 23, 2024
   Compiling bindgen v0.63.0
error: failed to run custom build command for `godot-core v0.1.0 (https://github.com/godot-rust/gdextension?branch=master#5513c001)`

Caused by:
  process didn't exit successfully: `/home/dots/Documents/Projects/Exorium-Godot/target/debug/build/godot-core-c8db86b873c89a88/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=/home/dots/.cargo/git/checkouts/gdextension-25c68fb170a9fb9d/5513c00/godot-codegen/input/gen/extension_api.json
  Found 'godot4' executable in PATH: /usr/bin/godot4
  cargo:rerun-if-changed=/usr/bin/godot4
  Godot version: 4.0.beta8.gentoo.45cac42c0


  --- stderr
  thread 'main' panicked at 'failed to parse Godot version '4.0.beta8.gentoo.45cac42c0
  ': Version substring cannot be parsed: `4.0.beta8.gentoo.45cac42c0
  `', /home/dots/.cargo/git/checkouts/gdextension-25c68fb170a9fb9d/5513c00/godot-codegen/src/godot_exe.rs:87:13

problem still exists for gentoo builds

Edit Bromeon: formatting

from gdext.

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.