Coder Social home page Coder Social logo

Please post an executable about dsf2flac HOT 1 CLOSED

whiskytango avatar whiskytango commented on August 22, 2024
Please post an executable

from dsf2flac.

Comments (1)

whiskytango avatar whiskytango commented on August 22, 2024

got cmake working, but there's another problem:

../Programs/dsf2flac-dsd256/dsf2flac-master/src/dop_packer.cpp: In member function ‘void DopPacker::pack_buffer(dsf2flac_int32*, dsf2flac_uint32)’:
../Programs/dsf2flac-dsd256/dsf2flac-master/src/dop_packer.cpp:102:16: error: conversion from ‘div_t’ to non-scalar type ‘ldiv_t’ requested
ldiv_t d = div(static_cast(bufferLen),static_cast(reader->getNumChannels()));
^
CMakeFiles/dsf2flac.dir/build.make:75: recipe for target 'CMakeFiles/dsf2flac.dir/src/dop_packer.cpp.o' failed
make[2]: *** [CMakeFiles/dsf2flac.dir/src/dop_packer.cpp.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/dsf2flac.dir/all' failed
make[1]: *** [CMakeFiles/dsf2flac.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

The original dsf2flac dop_packer.cpp file has ldiv_t d = ldiv(bufferLen,reader->getNumChannels());
and dsd_decimator.cpp file has ldiv_t d = ldiv(bufferLen,getNumChannels());
etc

EDIT: appears to be fixed in cmake 3.19.1 running on ubuntu 20.04.

from dsf2flac.

Related Issues (3)

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.