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

Lou Evie lou.louevie at gmail.com
Thu Oct 28 14:42:35 CEST 2010


Here my message to the list... Sorry ^^

> I try to build it again with the default option, I just change the version
> of MAX
> But there is problem in compilation...
>
> *C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(96) :
> warning C4190: '&' a une liaison C sp‚cifi‚e, mais retourne 'M64' UDT qui
> est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(77)ÿ: voir la d‚claration de 'M64'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(97) :
> warning C4190: '|' a une liaison C sp‚cifi‚e, mais retourne 'M64' UDT qui
> est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(77)ÿ: voir la d‚claration de 'M64'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(98) :
> warning C4190: '^' a une liaison C sp‚cifi‚e, mais retourne 'M64' UDT qui
> est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(77)ÿ: voir la d‚claration de 'M64'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(99) :
> warning C4190: 'andnot' a une liaison C sp‚cifi‚e, mais retourne 'M64' UDT
> qui est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(77)ÿ: voir la d‚claration de 'M64'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(162) :
> warning C4190: 'cmpeq' a une liaison C sp‚cifi‚e, mais retourne 'I32vec2'
> UDT qui est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(133)ÿ: voir la d‚claration de 'I32vec2'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(163) :
> warning C4190: 'cmpneq' a une liaison C sp‚cifi‚e, mais retourne 'I32vec2'
> UDT qui est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(133)ÿ: voir la d‚claration de 'I32vec2'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(165) :
> warning C4190: 'unpack_low' a une liaison C sp‚cifi‚e, mais retourne
> 'I32vec2' UDT qui est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(133)ÿ: voir la d‚claration de 'I32vec2'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(166) :
> warning C4190: 'unpack_high' a une liaison C sp‚cifi‚e, mais retourne
> 'I32vec2' UDT qui est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(133)ÿ: voir la d‚claration de 'I32vec2'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(233) :
> warning C4190: 'cmpeq' a une liaison C sp‚cifi‚e, mais retourne 'Is32vec2'
> UDT qui est incompatible avec C
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(171)ÿ: voir la d‚claration de 'Is32vec2'
> C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\ivec.h(233) :
> error C2733: seconde liaison C d'une fonction surcharg‚e 'cmpeq' non
> autoris‚e
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\INCLUDE\ivec.h(233)ÿ: voir la d‚claration de 'cmpeq'*
>
> In fact, I was thinking that this problem was due to the fact that I have
> to rebuilt flext for visual studio 2005. But it is other ?
>
> Have you already met that ?
>
> Thanks you for your answer.
>
> Lou
>
>
> 2010/10/28 Thomas Grill <gr at grrrr.org>
>
>> Hi Lou,
>> the error does not refer to a problem with spaces in a path, but with a
>> strange clash with the definition of make targets.
>> At the moment i can't see why your situation is special, i can only guess
>> that targets that are normally distinct are the same in your case.
>> I would suggest that e.g. you try to set FLEXTINC and FLEXTLIB to
>> different paths, and if other paths are similar, to try to disambiguate
>> them.
>> gr~~~
>>
>> Am 28.10.2010 um 12:09 schrieb Lou Evie:
>>
>> 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
>> _______________________________________________
>> http://grrrr.org/ext/flext
>>
>> flext mailing list
>> flext at grrrr.org
>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20101028/f08825e6/attachment-0001.htm>


More information about the flext mailing list