GithubHelp home page GithubHelp logo

fusilero / libbalistica Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 1.0 135 KB

Open source ballistics library

License: GNU General Public License v3.0

Vala 97.14% Meson 2.86%
vala ballistics meson gplv3

libbalistica's People

Contributors

steveno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

steveno

libbalistica's Issues

Error during build: Creation method of abstract class cannot be public.

Dearly want to run this program for some time now, but receive the same build error every time I attempt to build it.

../test/AbstractTestCase.vala:11.2-11.24: error: Creation method of abstract class cannot be public. public AbstractTestCase(string name)

Meson output during configuration showing dependency version and information:

The Meson build system 
Version: 0.54.1 
Source dir: /home/User/Sandbox/libbalistica 
Build dir: /home/User/Sandbox/libbalistica/build 
Build type: native build 
Project name: libbalistica 
Project version: 1.1 
C compiler for the host machine: cc (gcc 9.3.0 "cc (Debian 9.3.0-11) 9.3.0") 
C linker for the host machine: cc ld.bfd 2.34 
Vala compiler for the host machine: valac (valac 0.48.5) 
Host machine cpu family: x86_64 
Host machine cpu: x86_64 
Dependency glib-2.0 found: YES 2.64.2 (cached) 
Dependency gobject-2.0 found: YES 2.64.2 (cached) 
Dependency gee-0.8 found: YES 0.20.3 (cached) 
Build targets in project: 2

Found ninja-1.10.0 at /usr/bin/ninja

It appears that all dependencies meet the required versions. Is there a more recent release of VALA that fixes this error?

build error: Creation method of abstract class cannot be public

Attempted to build and received an odd error that I have never seen before.

[13/35] Compiling Vala source ../test/ConversionTests.vala ../test/LibBalisti...on/Mass.vala ../lib/conversion/Angle.vala ../lib/conversion/Temperature.vala.
FAILED: test/9f86d08@@libbalistica-test@exe/ConversionTests.c test/9f86d08@@libbalistica-test@exe/LibBalisticaTests.c test/9f86d08@@libbalistica-test@exe/MillerTests.c test/9f86d08@@libbalistica-test@exe/GreenhillTests.c test/9f86d08@@libbalistica-test@exe/TestRunner.c test/9f86d08@@libbalistica-test@exe/AbstractTestCase.c test/9f86d08@@libbalistica-test@exe/Atmosphere.c test/9f86d08@@libbalistica-test@exe/Greenhill.c test/9f86d08@@libbalistica-test@exe/Miller.c test/9f86d08@@libbalistica-test@exe/Retard.c test/9f86d08@@libbalistica-test@exe/Solve.c test/9f86d08@@libbalistica-test@exe/Zero.c test/9f86d08@@libbalistica-test@exe/LibBalistica.c test/9f86d08@@libbalistica-test@exe/Pbr.c test/9f86d08@@libbalistica-test@exe/Solution.c test/9f86d08@@libbalistica-test@exe/Windage.c test/9f86d08@@libbalistica-test@exe/Mass.c test/9f86d08@@libbalistica-test@exe/Angle.c test/9f86d08@@libbalistica-test@exe/Temperature.c 
valac -C --debug --debug --pkg gee-0.8 --target-glib 2.40.0 --pkg glib-2.0 --color=always --directory test/9f86d08@@libbalistica-test@exe --basedir ../test ../test/ConversionTests.vala ../test/LibBalisticaTests.vala ../test/MillerTests.vala ../test/GreenhillTests.vala ../test/TestRunner.vala ../test/AbstractTestCase.vala ../lib/Atmosphere.vala ../lib/Greenhill.vala ../lib/Miller.vala ../lib/Retard.vala ../lib/Solve.vala ../lib/Zero.vala ../lib/LibBalistica.vala ../lib/Pbr.vala ../lib/Solution.vala ../lib/Windage.vala ../lib/conversion/Mass.vala ../lib/conversion/Angle.vala ../lib/conversion/Temperature.vala
../test/AbstractTestCase.vala:11.4-11.26: error: Creation method of abstract class cannot be public.
   public AbstractTestCase (string name) {
   ^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
[14/35] Compiling C object 'lib/76b5a35@@balistica@sha/meson-generated_Solution.c.o'.
ninja: build stopped: subcommand failed.

Error: Creation method of abstract class cannot be public.

Abstract class cannot be public, seems completely foreign to me, probably has an abstract meeting. I have two C compilers clang and gcc, and two make programs the standard make for cland and gmake for gcc.

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.