[flext] R: Re: Re: Troubles building flext

Matteo Zichella matteo.zichella at studenti.unimi.it
Tue Jul 19 01:32:50 CEST 2011


Hi Thomas, thanks for your interest. Actually i have to build the external by nonpolynomial labs np_mindset, but first i have to build and install flext or i'm wrong?


Is it possible to build an external without instaling flext? Sorry but i' m very confused!


 
Il 17/07/11, Thomas Grill <gr at grrrr.org> ha scritto:
> 
> Hi Matteo,
> i'm sorry, i misread your original mail, thinking that you had
> troubles building your own external using flext.
> Problems with building flext proper are more serious, and i can't
> really help you, because i don' have a Windows machine.
> By the way, please always respond to the list - you may want to ask
> other Windows developers there if they can help you.
> 
> all the best, Thomas
> 
> 2011/7/17 Matteo Zichella <matteo.zichella at studenti.unimi.it>:
> > Thanks for the reply. This is the content of package.txt:
> >
> > #
> > # flext - C++ layer for Max/MSP and pd (pure data) externals
> > #
> > # Copyright (c) 2001-2008 Thomas Grill (gr at grrrr.org)
> > #
> > # $LastChangedRevision: 3659 $
> > # $LastChangedDate: 2009-02-10 00:05:18 +0100 (mar, 10 feb 2009) $
> > # $LastChangedBy: thomas $
> > #
> > # For information on usage and redistribution, and for a DISCLAIMER OF ALL
> > # WARRANTIES, see the file, "license.txt," in this distribution.
> > #
> > # more information on http://grrrr.org/ext
> > # ------------------------------------------------------------------------
> > #
> > # This file contains information for the building process
> > #
> > # DO NOT EDIT!!
> > #
> > # ------------------------------------------------------------------------
> >
> >
> > NAME=flext
> >
> >
> > BUILDCLASS=flext
> > BUILDMODE=all
> > BUILDTYPE=all
> >
> >
> > BUILDDIR=build
> >
> >
> > SRCDIR=source
> >
> >
> > PRECOMPILE=flext.h
> >
> >
> > SRCS= \
> >        flbase.cpp flext.cpp flbuf.cpp fldsp.cpp fllib.cpp \
> >        flxlet.cpp flattr.cpp flattr_ed.cpp flsupport.cpp \
> >        flutil.cpp flatom.cpp flatom_pr.cpp flthr.cpp fltimer.cpp flsimd.cpp flout.cpp \
> >        flatom_part.cpp flitem.cpp flmeth.cpp flmsg.cpp \
> >        flproxy.cpp flqueue.cpp flbind.cpp flmap.cpp
> > HDRS= \
> >        flext.h flprefix.h flstdc.h flinternal.h flfeatures.h \
> >        flpushns.h flpopns.h \
> >        flbase.h flclass.h flsupport.h fldsp.h \
> >        flmap.h flcontainers.h \
> >        fldefs.h fldefs_hdr.h fldefs_setup.h \
> >        fldefs_methcb.h fldefs_meththr.h fldefs_methadd.h fldefs_methbind.h fldefs_methcall.h \
> >        fldefs_attrcb.h fldefs_attrvar.h fldefs_attradd.h \
> >     lockfree/prefix.hpp lockfree/cas.hpp lockfree/branch_hints.hpp \
> >     lockfree/atomic_int.hpp lockfree/atomic_ptr.hpp \
> >     lockfree/fifo.hpp lockfree/stack.hpp
> >
> >
> >
> >
> > SRCS_SNDOBJ=flsndobj.cpp
> > HDRS_SNDOBJ=flsndobj.h
> >
> >
> > SRCS_STK=flstk.cpp
> > HDRS_STK=flstk.h
> >
> >
> >
> >
> > This is the content of config-win-max-msvc.txt
> >
> >
> > # where are the Max/MSP SDK header files?
> > # you should have the latest version!
> > MAXSDKPATH="C:\Cycling74\Max50\MaxSDK517\c74support"
> >
> > # where is MS VC++?
> > # (not necessary if the build is run with the compiler environment)
> > #MSVCPATH="C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC"
> >
> > ###############################################################
> >
> > # where do/should the flext headers reside/be built?
> > FLEXTINC="C:\Users\ZikyMan\Downloads\flext\source"
> >
> > # where do/should the flext static libraries reside/be built?
> > FLEXTLIB=$(FLEXTINC)
> >
> > # where do/should the flext shared libraries reside/be built?
> > # (a good place is the MaxMSP program folder)
> > FLEXTSHLIB="C:\Cycling74\Max50"
> >
> > ###############################################################
> >
> > # where should the external be built?
> > # (path for temporary files)
> > OUTPATH=max-msvc
> >
> > # where should the external be installed?
> > INSTPATH="C:\Cycling74\Max50\externals\flext"
> >
> > # where should the initialization files be installed?
> > INITPATH="C:\Cycling74\init"
> >
> > # where should the help files be installed?
> > HELPPATH="C:\Cycling74\Max5.0\max-help\flext"
> >
> > ###############################################################
> >
> > # 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
> >
> >
> > I downloaded the sources the last version of via subversion.
> >
> >
> >
> >
> > Il 17/07/11, Thomas Grill  <gr at grrrr.org> ha scritto:
> >>
> >> Hi Matteo,
> >> i can't reproduce your problem because i dont have access to a Windows
> >> machine. Nevertheless flext has been compiled many times using VC++
> >> 2008, so it should work for you too.
> >> Most important would be to know _what_ exactly you want to compile, so
> >> please show us your sources and the contents of package.txt.
> >> gr~~~
> >>
> >> 2011/7/15 Matteo Zichella <matteo.zichella at studenti.unimi.it>:
> >> > Hi to all, i'm having several troubles building flext with visual studio
> >> > 2008 and windows 7 professional x64. Every time i try to build flext the
> >> > compiler came up with a fatal error :
> >> > C:\Users\ZikyMan\Downloads\flext>build max msvc
> >> > ------------------------------------------------
> >> > Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> >> > Copyright (C) Microsoft Corporation.  All rights reserved.
> >> >         1 file copiati.
> >> > -------------------------------------------------------------------------
> >> > A default system configuration file has been created.
> >> > Please edit
> >> > C:\Users\ZikyMan\Downloads\flext\buildsys\config-win-max-msvc.txt
> >> > to match your platform and start again.
> >> > -------------------------------------------------------------------------
> >> > NMAKE : fatal error U1077: 'exit' : return code '0x1'
> >> > Stop.
> >> > Anyway i set up my config-win-max-msvc.txt and the config.txt file created
> >> > at the second launch of build max msvc. When i try to build after the
> >> > creation of the config.txt, the compiler came up with a lot of errors :
> >> >   C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\ivec.h(133
> >> > ) : see declaration of 'I32vec2'
> >> > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\ivec.h(743) :
> >> > erro
> >> > r C2733: second C linkage of overloaded function 'operator -' not allowed
> >> >         C:\Program Files (x86)\Microsoft Visual Studio
> >> > 9.0\VC\include\ivec.h(743
> >> > ) : see declaration of 'operator -'
> >> > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\ivec.h(743) :
> >> > fata
> >> > l error C1003: error count exceeds 100; stopping compilation
> >> > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> >> > 9.0\
> >> > VC\BIN\cl.EXE"' : return code '0x2'
> >> > Stop.
> >> > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> >> > 9.0\
> >> > VC\BIN\nmake.exe"' : return code '0x2'
> >> > Stop.
> >> >
> >> > I'm not skilled in C programming, and i can't figure out what's wrong. I
> >> > really need to get flext working because i'm writing a thesis for my first
> >> > level degree, and i'm going crazy! I Hope in yor help, thank in advance.
> >> >
> >> >                                                             Matteo Zichella
> >> > P.S. Sorry for my not perfect english!
> >> >
> >> > _______________________________________________
> >> > http://grrrr.org/ext/flext
> >> >
> >> > flext mailing list
> >> > flext at grrrr.org
> >> > http://grrrr.org/cgi-bin/mailman/listinfo/flext
> >> >
> >>
> >>
> >>
> >> --
> >> Thomas Grill
> >> http://grrrr.org
> >>
> >
> 
> 
> 
> -- 
> Thomas Grill
> http://grrrr.org
> 


More information about the flext mailing list