Giter Site home page Giter Site logo

make error about libxtract HOT 7 CLOSED

jamiebullock avatar jamiebullock commented on September 25, 2024
make error

from libxtract.

Comments (7)

jamiebullock avatar jamiebullock commented on September 25, 2024

Hi,

Are you passing -lxtract to the linker to tell it to link to the libxtract shared library. If you're compiling and linking in one pass, the command should look something like this:

gcc -o simpletest simpletest.c -lxtract

from libxtract.

26mansi avatar 26mansi commented on September 25, 2024

i removed argument for building the simpletest from the configure command. i will do it late using gcc and linking it with lxtract.
configure works fine but the make after that throws up an error saying
/usr/bin/ld: cannot find -lxtract

also what are the args to be passed to enable fft

thanks

mansi

from libxtract.

jamiebullock avatar jamiebullock commented on September 25, 2024

That's strange. What system are you running on? I can't reproduce the error here, e.g. if I do sudo make uninstall && make maintainer-clean && ./autogen.sh && ./configure --enable-simpletest && make then everything works as expected.

Regarding FFT, FFT is always enabled. It will use Apple's Accelerate framework for FFT if it is available, otherwise it will use the Ooura implementation bundled with LibXtract. You can explicitly use Ooura on an Accelerate system using --with-ooura

from libxtract.

26mansi avatar 26mansi commented on September 25, 2024

I'm running Mint Nadia .
here is the output of the entire
sudo make uninstall && make maintainer-clean && ./autogen.sh && ./configure --enable-simpletest && make

http://pastebin.com/LnD5AtDx

hopefully it can throw leads to what could be wrong

from libxtract.

jamiebullock avatar jamiebullock commented on September 25, 2024

Right, I think I know what the problem might be. It seems to be passing the correct linker flags and paths, so I think my original suspicion was probably wrong. I think it might be the case that it's not building with any FFT implementation at all, not even Ooura. I'll take a look at this tonight and try to push a build system fix.

from libxtract.

sairashaheen avatar sairashaheen commented on September 25, 2024

I also found /usr/bin/ld: cannot find -lxtract
collect2: error: ld returned 1 exit status
error

from libxtract.

jamiebullock avatar jamiebullock commented on September 25, 2024

I just build LibXtract from scratch using Mint 15, codename "Olivia", and everything worked just fine.

Closing the issue unless someone reports further problems installing on Mint.

from libxtract.

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.