On 07/13/2012 06:33 PM, Roger Dannenberg wrote: > I'm better at answering questions about PortMidi than about compilers > I've never used. One thing that might simplify things is to just > compile PortMidi along with your application. It's small, and there's > no particular reason it needs to be a dynamic or even static library.
I am trying to statically compile it into my application. The problem is that it fails on building the alsa related stuff. > > Otherwise, I think the .bat file will help, but it would be good to > load up Visual C++ to you can see all the compiler and linker settings > in the workspace files. I don't have Windows or Visual C++. I am using gcc and mingw. Then I test the application in wine. Is there an ascii file I can see the compiler linker settings? I read through the make.bat and it seems that it is going to create some .class files. I am not sure how to statically link my application against this. I see in the pm_win directory there is a pmwin.c, pmwinmm.c, and a pmwinmm.h. Can I build the library using only these files somehow?...Or should I comment out the alsa code? I am guessing that will not work in windows though and there is probably some specific windows related code in the pmwin.c and pmwinmm.c. Thanks, Jeremiah > > -Roger > > On 7/13/12 5:07 PM, Jeremiah Benham wrote: >> I am trying to use gub to cross compile portmidi for win32 because it is >> a dependency of denemo. Would I pretty much follow the linux >> installation instructions or the windows instruction? In the windows >> version it uses a .bat file. Should I read the bat file and basically do >> what it does or what do you recommend? >> >> Please cc me because I am not subscribed to the mailing list. >> >> Thanks, >> Jeremiah >> _______________________________________________ >> media_api mailing list >> [email protected] >> http://lists.create.ucsb.edu/mailman/listinfo/media_api > _______________________________________________ media_api mailing list [email protected] http://lists.create.ucsb.edu/mailman/listinfo/media_api
