Hi:

First post in this list :-)

I've got portmidi working in Ubuntu Linux without major problems. My goal:
Qt cross-platform application using portmidi.

Now I'm installing portmidi under Windows to see if my program works the
same in Windows.

First thing. I don't have MS Visual Studio 6, I've got the .Net edition (7.1).
Windows XP.

I download portmidi from: http://www.cs.cmu.edu/~music/portmusic/portmidi/

So I open the Windows README:


=============================================================================
TO INSTALL PORTMIDI:
=============================================================================
1)  download portmidi.zip

Ok.

2)  unzip portmidi.zip into directory: <...>\portmidi

Ok.

=============================================================================
TO COMPILE PORTMIDI:
=============================================================================

3)  cd to or open the portmidi directory

Ok.

4)  start or click on the portmidi.dsw workspace

ERRORS!

"The project file
'C:\msys\1.0\etc\portmidi17Jan07\portmidi\PM_TEST\latency.dsp' has been
corrupted and cannot be opened.

Sure... there is no such a file in the downloaded packaged... I downloaded
several times, just in case there was a problem with the download...

The same for the midithread.dsp and midithru.dsp

Now it tries to convert pm_dll.dsp into the new VC++ project format....  the
same with portmidi and porttime... ok.

The corrupted error for sysex.dsp and test.dsp

After this it loads the project. Well, I don't need the examples so let's
try to go with portmidi, portaudio and pm_dll which are the things I'm
interested in.


5)  the following projects exist within this workspace:
   - portmidi (the PortMidi library)
   - pm_dll (the dll library used to close midi ports on program exit)
   - porttime (a small portable library implementing timer facilities)
   - test (simple midi I/O testing)
   - multithread (an example illustrating low-latency MIDI processing
           using a dedicated low-latency thread)
   - sysex (simple sysex message I/O testing)
   - latency (uses porttime to measure system latency)

Well, the first three exists and the rest are unavailable...

6)  verify that all project settings are for Win32 Debug release:
   - type Alt-F7
   - highlight all three projects in left part of Project Settings window;
   - "Settings For" should say "Win32 Debug"

Ok.

7)  use Build->Batch Build ... to build everything in the project

Errors!

Some warnings and a couple of these errors:

c:\msys\1.0\etc\portmidi17Jan07\portmidi\pm_common\portmidi.c(1002): error
C2039: 'queue' : is not a member of 'pm_internal_struct'
       c:\msys\1.0\etc\portmidi17Jan07\portmidi\pm_common\pminternal.h(98)
: see declaration of 'pm_internal_struct'


So, I stop here....


Probably I'm missing some documentation somewhere or some forum with these
type of things answered because the latest release of portmidi is from 2007
so I guess that people now uses newer versions of Visual Studio and this has
happened before to many people...

Any ideas of what is my mistake here in this process?

Thanks for helping me with this, and thanks for building this library!!! In
Linux is working quite well!!

Regards,
Fran
_______________________________________________
media_api mailing list
[email protected]
http://www.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to