Giter Club home page Giter Club logo

Comments (8)

erikd avatar erikd commented on June 29, 2024 1

Casting is the way to fix it in C++, but in C, casting like that can hide type errors.

from libsamplerate.

erikd avatar erikd commented on June 29, 2024

I have not used Windows for over a decade. There is a CMake build system in Git but I have zero idea of how to use that to build on Windows.

from libsamplerate.

Minabsapi avatar Minabsapi commented on June 29, 2024

I see... Well, isn't there any way to cross-compile it at least ? (I know it's not on the README, so if any I expect it to be hacky)

from libsamplerate.

erikd avatar erikd commented on June 29, 2024

Cross compile from Linux? That should certainly be possible, and while I have done it for other projects, I have not done it for this one.

from libsamplerate.

moebiussurfing avatar moebiussurfing commented on June 29, 2024

hey @Minabsapi , @erikd, I am not sure could be related to this issue...
but any idea of how can I solve these errors?
adamstark/BTrack#14

from libsamplerate.

erikd avatar erikd commented on June 29, 2024

That is valid C code. If you are compiling it with a C++ compiler you may get warnings on valid C code.

from libsamplerate.

moebiussurfing avatar moebiussurfing commented on June 29, 2024

ok. Thanks!
Just bypassed all the errors doing casting: (SINC_FILTER *)
if ((filter = (SINC_FILTER *) calloc (1, sizeof (SINC_FILTER) + sizeof (filter->buffer [0]) * (temp_filter.b_len + temp_filter.channels))) == NULL)
NOw having other issues but on BTrack..

from libsamplerate.

evpobr avatar evpobr commented on June 29, 2024

With CMake project this issue is outdated. Closing now.

from libsamplerate.

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.