[PD] PD to compile with Visual C++ .NET .

mark mark at junklight.com
Fri May 3 12:03:25 CEST 2002


Yep - it compiles fine.

Couldn't get the makefile to work as a visual studio project
(it wouldn't run from the right directory for some reason
I am to lazy to sort out). M$ in their infinite wisdom and kindness
have decided that after all these years the lib and include directories
needed to move so you need to modify these lines in the makefile:

#VC = "C:\Program Files\Microsoft Visual Studio\VC98"
VC="C:\Program Files\Microsoft Visual Studio .NET\Vc7"
INCLUDE = -I.\ -I..\Tcl\include -I$(VC)\include -I$(VC)\PlatformSDK\Include

LDIR = $(VC)\lib
LDIR2= $(VC)\PlatformSDK\lib

LIB = /NODEFAULTLIB:libc /NODEFAULTLIB:oldnames  /NODEFAULTLIB:kernel \
    /NODEFAULTLIB:uuid \
    $(LDIR)\libc.lib $(LDIR)\oldnames.lib $(LDIR)\kernel32.lib \
    $(LDIR2)\wsock32.lib $(LDIR2)\winmm.lib ..\bin\pthreadVC.lib

....

ASIOLIB = $(LDIR2)\user32.lib $(LDIR2)\gdi32.lib $(LDIR2)\winspool.lib
$(LDIR2)\comdlg32.lib \
$(LDIR2)\advapi32.lib $(LDIR2)\shell32.lib $(LDIR2)\ole32.lib
$(LDIR2)\oleaut32.lib $(LDIR2)\uuid.lib \
$(LDIR2)\odbc32.lib $(LDIR2)\odbccp32.lib ..\bin\asiolib.lib

Basicaly there is an include and lib and a platformSDK include and lib.

running nmake makefile in src works fine (run C:\Program Files\Microsoft
Visual Studio .NET\Vc7\bin\vcvars32.bat
first to setup the environment)

cheers

mark




-----Original Message-----
From: joge . [mailto:gboy at nycap.rr.com]
Sent: 02 May 2002 21:39
To: pd-list at iem.kug.ac.at
Subject: [PD] PD to compile with Visual C++ .NET .


hi all ,

any one tried to complile pd with visual c++ .net ?
it seems that there is no unistd.h file include with vc++.
also i am getting a redefintion of type modifiers error in u_pdsend.c file .
seems to be multiple declarations of the function closesocket() .
there are some other things acting up too .. but for now i am tring to get
over these errors ..

i read the recent post about the extern errors in .net .  i havent got any
of those yet , maybe after i get over these errors i will be able to get
those errors .


thanks .


joge .






More information about the Pd-list mailing list