Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to use this lib?

how to use this lib?

Scheduled Pinned Locked Moved C / C++ / MFC
questionbeta-testingtutorial
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wendyyue
    wrote on last edited by
    #1

    Hi, The lib //aubio.org/beta/win32/ did not include the def, how can I can generate the lib file in order to call it under vc? if I get the some binary files and dll files in this lib,the binary file(exe )need to call the function in dll, so how can I make it happen? and anyone can tell me how to use this lib under windows in order to get the runnng result?

    C R 2 Replies Last reply
    0
    • W wendyyue

      Hi, The lib //aubio.org/beta/win32/ did not include the def, how can I can generate the lib file in order to call it under vc? if I get the some binary files and dll files in this lib,the binary file(exe )need to call the function in dll, so how can I make it happen? and anyone can tell me how to use this lib under windows in order to get the runnng result?

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #2

      You may use runtime linking [^]. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

      W 1 Reply Last reply
      0
      • C CPallini

        You may use runtime linking [^]. :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

        W Offline
        W Offline
        wendyyue
        wrote on last edited by
        #3

        how ? can you give some example?

        C 1 Reply Last reply
        0
        • W wendyyue

          Hi, The lib //aubio.org/beta/win32/ did not include the def, how can I can generate the lib file in order to call it under vc? if I get the some binary files and dll files in this lib,the binary file(exe )need to call the function in dll, so how can I make it happen? and anyone can tell me how to use this lib under windows in order to get the runnng result?

          R Offline
          R Offline
          Rajkumar R
          wrote on last edited by
          #4

          wendyyue wrote:

          some binary files and dll files in this lib,the binary file(exe )need to call the function in dll

          linking in binary space (binary dll and binary exe) is too technical for me. as far as i understand from the link, aubio.org, the sample exe and the dll already has references to functions, it is build using cygwin and windows binaries are produced using mingw. see this Aubio on Windows[^] actually the import libraries are generated, u need to build the source.

          #include <aubio/aubio.h>
          #include <aubio/aubioext.h>

          int main( int argc, char** argv )
          {
          aubio_sndfile_t *foo = new_aubio_sndfile_ro( argv[1] );
          return 1;
          }

          g++ -laubio -laubioext -lsndfile foo.cxx -o a.out

          should resolve all linking references.

          from Re: linking problems[^] it is clear from this, that exe is linked to libraries libaubio, libaubioext, libsndfile which resolves the references. u may get more help from aubio mailing list it seems.

          W 1 Reply Last reply
          0
          • W wendyyue

            how ? can you give some example?

            C Offline
            C Offline
            CPallini
            wrote on last edited by
            #5

            Actually a sample is in the page linked by my previous post. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

            1 Reply Last reply
            0
            • R Rajkumar R

              wendyyue wrote:

              some binary files and dll files in this lib,the binary file(exe )need to call the function in dll

              linking in binary space (binary dll and binary exe) is too technical for me. as far as i understand from the link, aubio.org, the sample exe and the dll already has references to functions, it is build using cygwin and windows binaries are produced using mingw. see this Aubio on Windows[^] actually the import libraries are generated, u need to build the source.

              #include <aubio/aubio.h>
              #include <aubio/aubioext.h>

              int main( int argc, char** argv )
              {
              aubio_sndfile_t *foo = new_aubio_sndfile_ro( argv[1] );
              return 1;
              }

              g++ -laubio -laubioext -lsndfile foo.cxx -o a.out

              should resolve all linking references.

              from Re: linking problems[^] it is clear from this, that exe is linked to libraries libaubio, libaubioext, libsndfile which resolves the references. u may get more help from aubio mailing list it seems.

              W Offline
              W Offline
              wendyyue
              wrote on last edited by
              #6

              still can not get it. can anyone teach me how to run this lib?

              A 1 Reply Last reply
              0
              • W wendyyue

                still can not get it. can anyone teach me how to run this lib?

                A Offline
                A Offline
                aquawicket
                wrote on last edited by
                #7

                ** BUMP ** I've been tring to get aubio to compile in Visual Studio 2005 myself. No GO. :( I've been trying for 3 days. Any help on this matter would be great.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups