[flext] Problem with build of flext libraries !? Please help

Lou Evie lou.louevie at gmail.com
Thu Oct 28 12:09:35 CEST 2010


Hi !

 I try to build flext libraries. I read all the .txt documentation when I
download the project from svn. But there is a problem...

This is what I have done :
* Get the source from the website (download from svn) [
https://svn.grrrr.org/ext/trunk/flext ]
* Get the latest sdk  version of Max [http://cycling74.com/downloads/]
section = Max 5.1 Extras Max Runtime This runtime version of Max is *not* a
Max for Live runtime.
* open a cmd windows (I am on windows)
* Go in directory where is my flext code
* Launch "C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools\vsvars32.bat" in console to have my environnement variable
to be set with the good compiler
* Launch build.bat max msvc
* Update my config-win-max-msvc.txt file which is generated the first time.
* Update this file, and do not use space in my path !!!!

This is my config-win-max-msvc.txt file :
*# where are the Max/MSP SDK header files?
# you should have the latest version!
#MAXSDKPATH="%ProgramFiles%\MaxMSP 4.5\maxmspsdk_win\4.5 headers\c74support"
MAXSDKPATH="F:\MaxSDK-5.1.1\MaxSDK-5.1.1\c74support"

# where is MS VC++?
# (not necessary if the build is run with the compiler environment)
# MSVCPATH="%ProgramFiles%\Microsoft Visual Studio .NET 2003\Vc7"
#MSVCPATH="C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin"

###############################################################

# where do/should the flext headers reside/be built?
#FLEXTINC="%CommonProgramFiles%\Cycling '74\flext"
FLEXTINC="F:\FLEXT\source"

# where do/should the flext static libraries reside/be built?
FLEXTLIB="F:\FLEXT\source"

# where do/should the flext shared libraries reside/be built?
# (a good place is the MaxMSP program folder)
#FLEXTSHLIB="%ProgramFiles%\MaxMSP 4.5"
FLEXTSHLIB="F:\MaxSDK-5.1.1\MaxSDK-5.1.1\c74support\max-includes"

###############################################################

# where should the external be built?
# (path for temporary files)
#OUTPATH=max-msvc
OUTPATH="F:\FLEXT\INCLUDE\libs"

# where should the external be installed?
#INSTPATH="%CommonProgramFiles%\Cycling '74\externals\flext"
INSTPATH="F:\FLEXT\INCLUDE\externals"

# where should the initialization files be installed?
#INITPATH="%CommonProgramFiles%\Cycling '74\init"
INITPATH="F:\FLEXT\INCLUDE\init"

# where should the help files be installed?
#HELPPATH="%ProgramFiles%\MaxMSP 4.5\max-help\flext"
HELPPATH="F:\FLEXT\INCLUDE\max-help"

###############################################################

# where is the STK installation?
# (uncomment the line with # to disable STK support)
# --------------------------------------------------------------------
# In order to use STK you must have an stk.lib library
# Using MSVC you can build it as following (from the STK main folder):
#   cl /c /GR /EHsc /Iinclude /MT /Ox src\*.cpp
#     (in case you define DYNAMIC=1 below, omit the /MT flag and set /MD
instead)
#     (you will get errors for some files, you can ignore them in the flext
context)
#   lib *.obj /out:stk.lib
#

# where to find the STK header files (e.g. stk.h)
#STK_INC=%HOMEDRIVE%\%HOMEPATH%\stk\include

# where to find the STK library (normally stk.lib)
# (comment out STK_LIB if you don't use STK)
#STK_LIB=%HOMEDRIVE%\%HOMEPATH%\stk\stk.lib

# where is the Sndobjs installation?
# (uncomment the line with # to disable SNDOBJ support)
# --------------------------------------------------------------------
# Please be sure to delete an eventual m_pd.h file from the SNDOBJ include
folder!!
# Flext must be compiled with the same compiler version as the SNDOBJ lib
(default MSVC6)
#

# where to find the SndObj header files (e.g. SndObj.h)
#SNDOBJ_INC=%HOMEDRIVE%\%HOMEPATH%\SndObj\include

# where to find the SndObj library (normally SndObj.lib)
# (comment out SNDOBJ_LIB if you don't use SndObj)
#SNDOBJ_LIB=%HOMEDRIVE%\%HOMEPATH%\SndObj\lib\SndObj.lib

###############################################################

# some user-definable flags
# (check if they match your system!)
OFLAGS=/Ox
# optimizations for Pentium 4
#OFLAGS=$(OFLAGS) /G6 /arch:SSE

# uncomment to link against dynamic C runtime libraries
# (that's ok if you compile with VC++ 7.0 and 7.1)
DYNAMIC=1*


But...
I always have this problem :
F:\FLEXT>build.bat max msvc
------------------------------
------------------

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. Tous droits r'serv's.

        "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\nmake.exe"
/NOL
OGO /f F:\FLEXT\buildsys\nmake-sub.mak  PLATFORM=win RTSYS=max
COMPILER=msvc  BU
ILDPATH=F:\FLEXT\buildsys\ PKGINFO=package.txt BUILDCLASS=flext
USRCONFIG=confi
g.txt USRMAKE=build\nmake-win-msvc.inc TARGETMODE=release TARGETTYPE=single
_bui
ld_
F:\FLEXT\buildsys\win\nmake-msvc-flext.inc(34) : fatal error U1087:
impossible d
'avoir les d'pendants : et :: pour la m^me cible
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
8\VC
\BIN\nmake.exe"' : code retour '0x2'
Stop.

It seems to refer space in space, but there is no one ! I check with a text
editor !

I really do not understand ! Can you help me ?

Lou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20101028/54f3d6be/attachment.htm>


More information about the flext mailing list