[PD-dev] Problems with building devel_0_38 on windows

Bartlomiej Bazior fev at ckmedia.pl
Mon Dec 13 19:38:08 CET 2004


Hi,

   Finall'y I've got some spare time to waste :) , so I decided
to try that devel_0_38 version of pd.
First I've tried to build it with threaded soundfiler (since
I use it _a_lot_ lately with devel_0_37). Unfortunately with no luck.
Compilation stopped at g_array.c file with this:

e:\pd_test\pd\src\g_array.c(650) : error C2143: syntax error : missing 
';' before 'type'
e:\pd_test\pd\src\g_array.c(651) : error C2143: syntax error : missing 
';' before 'type'
e:\pd_test\pd\src\g_array.c(652) : error C2275: 't_template' : illegal 
use of this type as an expression
         e:\pd_test\pd\src\g_canvas.h(214) : see declaration of 't_template'
e:\pd_test\pd\src\g_array.c(652) : error C2065: 'elemtemplate' : 
undeclared identifier
e:\pd_test\pd\src\g_array.c(653) : error C2143: syntax error : missing 
';' before 'type'
e:\pd_test\pd\src\g_array.c(655) : error C2065: 'elemtemplatecanvas' : 
undeclared identifier
e:\pd_test\pd\src\g_array.c(655) : warning C4047: 'function' : '_glist 
** ' differs in levels of indirection from 'int *'
e:\pd_test\pd\src\g_array.c(656) : warning C4047: 'function' : 
't_template ** ' differs in levels of indirection from 'int *'
e:\pd_test\pd\src\g_array.c(656) : error C2065: 'elemsize' : undeclared 
identifier
e:\pd_test\pd\src\g_array.c(656) : error C2065: 'xonset' : undeclared 
identifier
e:\pd_test\pd\src\g_array.c(656) : error C2065: 'yonset' : undeclared 
identifier
e:\pd_test\pd\src\g_array.c(656) : error C2065: 'wonset' : undeclared 
identifier
e:\pd_test\pd\src\g_array.c(663) : error C2065: 'i' : undeclared identifier
e:\pd_test\pd\src\g_array.c(672) : error C2065: 'x1' : undeclared identifier
e:\pd_test\pd\src\g_array.c(674) : error C2065: 'x2' : undeclared identifier
e:\pd_test\pd\src\g_array.c(676) : error C2440: '<' : cannot convert 
from 'double (__cdecl *)(double)' to 'float'
e:\pd_test\pd\src\g_array.c(677) : error C2440: '=' : cannot convert 
from 'float' to 'double (__cdecl *)(double)'
e:\pd_test\pd\src\g_array.c(678) : error C2065: 'y2' : undeclared identifier
e:\pd_test\pd\src\g_array.c(683) : warning C4047: '=' : 'int' differs in 
levels of indirection from 'double (__cdecl *)(double)'


Then I've tried with standard soundfiler. Compilation went ok, but
I've got these linker errors:

m_sched.obj : error LNK2019: unresolved external symbol _fifo_init 
referenced in function _m_scheduler
m_sched.obj : error LNK2019: unresolved external symbol _fifo_put 
referenced in function _set_callback
m_sched.obj : error LNK2019: unresolved external symbol _fifo_get 
referenced in function _run_idle_callbacks
..\bin\pd.dll : fatal error LNK1120: 3 unresolved externals


What might be wrong?
Should I perform some extra actions to properly build pd on windows?

ps. I'm using Microsoft compiler from Visual Toolkit.

cheers,
Bart





More information about the Pd-dev mailing list