Comments (1)
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsf2flac.