Coder Social home page Coder Social logo

jean-bovet / btrain Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 1.0 24.38 MB

A free and open-source automatic model railway management software for Marklin Central Station 3, written for macOS using Swift and SwiftUI.

License: MIT License

Swift 99.77% Rich Text Format 0.23%
model-railway marklin-cs3 model-railroad marklin maerklin swiftui

btrain's Issues

Error compiling

Hi, trying to compile your program and get this error:

kasparstromme@xxxxxx btrain % swiftc btrainapp.swift
btrainapp.swift:15:1: error: 'main' attribute cannot be used in a module that contains top-level code
@main
^
btrainapp.swift:1:1: note: top-level code defined in this source file
// Copyright 2021-22 Jean Bovet
^
btrainapp.swift:22:13: error: cannot find 'LayoutDocument' in scope
LayoutDocument(layout: Layout(uuid: "new-layout"))
^~~~~~~~~~~~~~
btrainapp.swift:22:36: error: cannot find 'Layout' in scope
LayoutDocument(layout: Layout(uuid: "new-layout"))
^~~~~~
btrainapp.swift:24:13: error: cannot find 'DocumentView' in scope
DocumentView(document: configuration.document, layout: configuration.document.layout)
^~~~~~~~~~~~
kasparstromme@xxxxxx btrain %

Any tips? I am not too familiar with coding so maybe I am doing something very wrong also :) But I have a CS 2 and would like to see what I can do with your software. Best Kaspar

Locomotive speed

Currently, BTrain uses a fixed speed for every locomotive. This needs to be improved to take into account the actual speed of each locomotive.

Binary release

XCode is not really intended for non-technical Mac users. Also it occupies a vast amount of disk space. I would imagine that many potential BTrain enthusiasts do not have it installed.

Would it be possible to make a binary release ?

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.