Max/MSP Software Development Kit

Feb 5, 2007 at 12:58pm

Max/MSP Software Development Kit

Hello list.
I want to configure my PC to work with MaxMSP-SDK, and I setup Visual Studio C++. Will it work with the SDK? Because I tried to build a few paradigms and I didnt succeed. It generated some errors concerning header files (i.e. windows.h) that I couldnt find in any of the folders. Does anyone have any clue about this?
Thanks a lot.

#30121
Feb 5, 2007 at 1:10pm

I’m not sure how windows.h got in there anywhere. To get from a fresh
install of Visual C++ to compiling one of the example externals in the
SDK, the most you’d have to do is make sure that the directories:

insert_path_herec74supportmax-includes

and

insert_path_herec74supportmsp-includes

are in the list when you do:

tools->options->Projects and Solutions->VC++ Directories->Include Files

and also

tools->options->Projects and Solutions->VC++ Directories->Library Files

Apart from that, just load the solution and build…

If this doesn’t solve any problems, then you might mention exactly
what steps you took in trying to compile an external (which example?),
and what error message concerned windows.h

Aengus.

On 2/5/07, Stavros wrote:
>
> Hello list.
> I want to configure my PC to work with MaxMSP-SDK, and I setup Visual Studio C++. Will it work with the SDK? Because I tried to build a few paradigms and I didnt succeed. It generated some errors concerning header files (i.e. windows.h) that I couldnt find in any of the folders. Does anyone have any clue about this?
> Thanks a lot.
>


____________________
http://www.am-process.org

#95572
Feb 5, 2007 at 1:41pm

Thanks for the reply.

I have done all the include files. I have just loaded 01. plussz example, and this is the error message:

Build Log
Build started: Project: plussz, Configuration: Debug|Win32
Command Lines Creating temporary file “c:maxmspsdkmax-projects1. plusszDebugRSP00000138843932.rsp” with contents

[
/Od /I "../../c74support/max-includes" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN_VERSION" /D "WIN_EXT_VERSION" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL" /Gm /EHsc /RTC1 /MDd /Zp2 /Fp".Debug/plussz.pch" /Fo".Debug/" /Fd".Debug/" /W3 /c /ZI /TC ".plussz.c"
]

Creating command line “cl.exe @”c:maxmspsdkmax-projects1. plusszDebugRSP00000138843932.rsp” /nologo /errorReport:prompt”

Output Window Compiling…
plussz.c
c:maxmspsdkc74supportmax-includesext_prefix.h(118) : fatal error C1083: Cannot open include file: ‘richedit.h’: No such file or directory

Results Build log was saved at “file://c:maxmspsdkmax-projects1. plusszDebugBuildLog.htm”
plussz – 1 error(s), 0 warning(s)

#95573
Feb 5, 2007 at 1:52pm

The file richedit.h should be found in C:Program
FilesDevStudioVcInclude

If it’s not there, you probably need to re-install your copy of VC++. If it
is there, be sure that you have this path in your include path.

Also, check the order in which you include the folders. Visual studio
mfc/atl includes should come before the max/msp specific folders.

On 2/5/07, Stavros wrote:
>
>
> Thanks for the reply.
>
> I have done all the include files. I have just loaded 01. plussz example,
> and this is the error message:
>
> Build Log
> Build started: Project: plussz, Configuration: Debug|Win32
> Command Lines Creating temporary file “c:maxmspsdkmax-projects1.
> plusszDebugRSP00000138843932.rsp” with contents
>
> [
> /Od /I "../../c74support/max-includes" /D "WIN32" /D "_DEBUG" /D
> "_WINDOWS" /D "WIN_VERSION" /D "WIN_EXT_VERSION" /D "_VC80_UPGRADE=0x0600"
> /D "_WINDLL" /Gm /EHsc /RTC1 /MDd /Zp2 /Fp".Debug/plussz.pch" /Fo".Debug/"
> /Fd".Debug/" /W3 /c /ZI /TC ".plussz.c"
> ]
>
> Creating command line “cl.exe @”c:maxmspsdkmax-projects1.
> plusszDebugRSP00000138843932.rsp” /nologo /errorReport:prompt”
>
> Output Window Compiling…
> plussz.c
> c:maxmspsdkc74supportmax-includesext_prefix.h(118) : fatal error
> C1083: Cannot open include file: ‘richedit.h’: No such file or directory
>
> Results Build log was saved at “file://c:maxmspsdkmax-projects1.
> plusszDebugBuildLog.htm”
> plussz – 1 error(s), 0 warning(s)
>
>

#95574
Feb 5, 2007 at 5:35pm

I have installed Visual Studio C++ 8 2005 again, I have done all the include files correct, and still I get the same error:

—— Build started: Project: times~, Configuration: Debug Win32 ——
Compiling…
times~.c
c:maxmspsdkc74supportmax-includesext_prefix.h(118) : fatal error C1083: Cannot open include file: ‘richedit.h’: No such file or directory
Build log was saved at “file://c:maxmspsdkmsp-projects3. times~DebugBuildLog.htm”
times~ – 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any ideas???

#95575
Feb 5, 2007 at 5:45pm

does the file richedit.h exist anywhere on your disk?

wes

On 2/5/07, Stavros wrote:
>
> I have installed Visual Studio C++ 8 2005 again, I have done all the include files correct, and still I get the same error:
>
> —— Build started: Project: times~, Configuration: Debug Win32 ——
> Compiling…
> times~.c
> c:maxmspsdkc74supportmax-includesext_prefix.h(118) : fatal error C1083: Cannot open include file: ‘richedit.h’: No such file or directory
> Build log was saved at “file://c:maxmspsdkmsp-projects3. times~DebugBuildLog.htm”
> times~ – 1 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>
> Any ideas???
>

#95576
Feb 5, 2007 at 6:28pm

No I dont think I have seen it anywhere, this is the first time. I assume this header exists in all the examples and that normally I would be able to run it. But somehow it doesnt succeed in my current configuration – and it is weird because I have just formated my pc and installed the service packs (1 and 2) as usual.

#95577

You must be logged in to reply to this topic.