[PD-dev] paths in flext buildsys

Frank Barknecht fbar at footils.org
Sat Apr 16 10:50:15 CEST 2005


Hi,

I started to convert my externals to the flext buildsystem and ran
into a problem with fluid.

The sources have this layout: 

TOPDIR=/cvs/.../footils/fluid
cpp source: TOPDIR/fluid/main.cpp
package.txt: TOPDIR/package.txt

package.txt:
NAME=fluid~
SRCS=fluid/main.cpp
LIBS=-lfluidsynth

Now I run into an error while compiling because not all directories get
auto-created: 

$ flext-build.sh pd gcc build
make -f /usr/lib/flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=/usr/lib/flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext TARGETMODE=release TARGETTYPE=single _build_
make[1]: Entering directory `/home/freak/big/audio/pd/cvs-new/externals/footils/fluid'
g++ -c -ffast-math -DNDEBUG -O3 -march=athlon -pthread -fPIC -DFLEXT_SYS=2 -I../../../pd/src -I/usr/include/flext fluid/main.cpp -o pd-linux/release-single/fluid/main.opp
Assembler messages:
FATAL: can't create pd-linux/release-single/fluid/main.opp: No such file or directory
make[1]: *** [pd-linux/release-single/fluid/main.opp] Error 1
make[1]: Leaving directory `/home/freak/big/audio/pd/cvs-new/externals/footils/fluid'
make: *** [build-release-single] Error 2

The directories "pd-linux/release-single/" get created automatically, hoever
not the final one, "pd-linux/release-single/fluid/".

Now what should I do: Create the full directory-tree for all build files? Or is
there a way to tell the buildsys to create the directories itself as needed? 

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__
             
          _ __latest track: "scans" _ http://footils.org/cms/show/41




More information about the Pd-dev mailing list