Max/MSP Software Development Kit

StvDee's icon

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.

aengus's icon

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.
>

--
____________________
www.am-process.org

StvDee's icon

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)

d17e's icon

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)
>
>

StvDee's icon

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???

Wesley Smith's icon

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???
>

StvDee's icon

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.