[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] [PATCH] revert osx project files



The scsynth target is:

ARCHS = ppc i386
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)
CONFIGURATION_TEMP_DIR = $(PROJECT_DIR)/Intermediate Build Files
COPY_PHASE_STRIP = YES
GCC_AUTO_VECTORIZATION = YES
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_ENABLE_SSE3_EXTENSIONS = YES
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
GCC_MODEL_TUNING = G4
GCC_OPTIMIZATION_LEVEL = 3
OBJROOT = $(PROJECT_DIR)/Intermediate Build Files
OTHER_CFLAGS =
OTHER_LDFLAGS =
OTHER_REZFLAGS =
PREBINDING = NO
PRODUCT_NAME = All
SDKROOT = macosx10.4
SECTORDER_FLAGS =
WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
ZERO_LINK = NO


scplugins is:

ARCHS = i386 ppc
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)
CONFIGURATION_TEMP_DIR = $(PROJECT_DIR)/Intermediate Build Files
COPY_PHASE_STRIP = YES
EXECUTABLE_EXTENSION = scx
GCC_ALTIVEC_EXTENSIONS = YES
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_ENABLE_SSE3_EXTENSIONS = YES
GCC_MODEL_TUNING = G4
GCC_OPTIMIZATION_LEVEL = 3
GCC_UNROLL_LOOPS = YES
KEEP_PRIVATE_EXTERNS = NO
LINK_WITH_STANDARD_LIBRARIES = YES
MACH_O_TYPE = mh_bundle
OBJROOT = $(PROJECT_DIR)/Intermediate Build Files
OPTIMIZATION_CFLAGS = -O3 -faltivec
OTHER_CFLAGS =
OTHER_LDFLAGS =
OTHER_REZFLAGS =
PREBINDING = NO
PRODUCT_NAME = SC_Synth PlugIns
SDKROOT = macosx10.4
SECTORDER_FLAGS =
SYMROOT = build/plugins
USER_HEADER_SEARCH_PATHS = ./nova-simd
WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
ZERO_LINK = NO



The errors you are getting are ones that occur is scsynth is 64-bit, and the plugins are only built as 32. Can you open a target in the XCode Plugins file, click the target, and tell me what the architecture field says?

Best,

Josh

On Dec 15, 2009, at 2:29 PM, Julian Rohrhuber wrote:

 intel, os 10.6.2

 They are - Julian - what OS are you on? intel or PPC?

 Josh

 On Dec 15, 2009, at 1:46 PM, Julian Rohrhuber wrote:

Is the current build of the plugins and servers supposed to compile? It doesn't for me:


*** ERROR: dlopen '/Volumes/data/sc/SuperCollider3/build/plugins/BinaryOpUGens.scx' err 'dlopen(/Volumes/data/sc/SuperCollider3/build/plugins/BinaryOpUGens.scx, 2): no suitable image found. Did find:

/Volumes/data/sc/SuperCollider3/build/plugins/BinaryOpUGens.scx: no matching architecture in universal wrapper'

 and

 exception in GrafDef_Load: UGen 'Control' not installed.


 Thanks Josh. Now I get this:

 /Users/dan/SuperCollider3/Source/app/SCGraphView.M:766: error:
 'NSInteger' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/SCGraphView.M:766: error:
 expected primary-expression before ')' token

Similar fix I guess? Not sure what sort of integer is the best replacement


 2009/12/15 Josh Parmenter <josh@xxxxxxxxxxxxxxxxx>:
 This should do it Dan.

 Josh



 On Dec 15, 2009, at 12:53 PM, Josh Parmenter wrote:

 I'll look for a fix for that Dan... just a few minutes

 Josh

 On Dec 15, 2009, at 12:33 PM, Dan Stowell wrote:

 2009/12/15 Tim Blechmann <tim@xxxxxxxxxx>:

 Signed-off-by: Tim Blechmann <tim@xxxxxxxxxx>
 ---
 Language.xcodeproj/project.pbxproj |   16 +--
Plugins.xcodeproj/project.pbxproj | 314 +++++++++---------------------------
 Synth.xcodeproj/project.pbxproj    |   18 +--
 3 files changed, 92 insertions(+), 256 deletions(-)


 Thanks - after applying this patch to rev 9617 I get:

 CompileC "Intermediate Build

Files/Language.build/SuperCollider.build/Objects-normal/ppc/GUIPrimitives.o"
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M normal ppc
 objective-c++ com.apple.compilers.gcc.4_0
   cd /Users/dan/SuperCollider3
   /Developer/usr/bin/gcc-4.0 -x objective-c++ -arch ppc -pipe
 -Wno-trigraphs -fobjc-exceptions -fpascal-strings -fasm-blocks -Os
 >>>>>>> -fmessage-length=0 -funroll-loops -mtune=G4 -ftree-vectorize
 -fvisibility=hidden -fvisibility-inlines-hidden
 -I/Users/dan/SuperCollider3/Intermediate\ Build\
 Files/Language.build/SuperCollider.build/SuperCollider.hmap
 -mdynamic-no-pic -F/Users/dan/SuperCollider3/build

-F/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks
 -F/Users/dan/SuperCollider3/build
 -I/Users/dan/SuperCollider3/build/include -IHeaders/icu
 -I/Users/dan/SuperCollider3/Intermediate\ Build\
 Files/Language.build/SuperCollider.build/DerivedSources -DSC_DARWIN
 -Wstrict-aliasing -c
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M -o
 /Users/dan/SuperCollider3/Intermediate\ Build\

Files/Language.build/SuperCollider.build/Objects-normal/ppc/GUIPrimitives.o
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M: In function 'int
 prTextWindow_GetBackgroundColor(VMGlobals*, int)':
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:219: error:
 'CGFloat' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:219: error:
 expected `;' before 'red'
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:220: error: 'red'
 was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:220: error:
 'green' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:220: error:
 'blue' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:220: error:
 'alpha' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M: In function 'int
 prTextWindow_GetSelectedBackgroundColor(VMGlobals*, int)':
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:317: error:
 >>>>> 'CGFloat' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:317: error:
 expected `;' before 'red'
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:318: error: 'red'
 was not declared in this scope
 >>> /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:318: error:
 'green' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:318: error:
 'blue' was not declared in this scope
 /Users/dan/SuperCollider3/Source/app/GUIPrimitives.M:318: error:
 'alpha' was not declared in this scope
 ** BUILD FAILED **


 This is ppc 10.4.11, "./compile.sh ARCHS=ppc"

 Dan

 _______________________________________________
 sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
 archive: https://listarc.bham.ac.uk/marchives/sc-dev/
 search: https://listarc.bham.ac.uk/lists/sc-dev/search/

 ******************************************
 /* Joshua D. Parmenter
 http://www.realizedsound.net/josh/

"Every composer - at all times and in all cases - gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
 */


 _______________________________________________
 sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
 archive: https://listarc.bham.ac.uk/marchives/sc-dev/
 search: https://listarc.bham.ac.uk/lists/sc-dev/search/

 ******************************************
 /* Joshua D. Parmenter
 http://www.realizedsound.net/josh/

"Every composer - at all times and in all cases - gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
 >>>>> */






 --
 http://www.mcld.co.uk

 _______________________________________________
 sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
 archive: https://listarc.bham.ac.uk/marchives/sc-dev/
 search: https://listarc.bham.ac.uk/lists/sc-dev/search/


 --





 .

 _______________________________________________
 sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
 archive: https://listarc.bham.ac.uk/marchives/sc-dev/
 search: https://listarc.bham.ac.uk/lists/sc-dev/search/

 ******************************************
 /* Joshua D. Parmenter
 http://www.realizedsound.net/josh/

"Every composer - at all times and in all cases - gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
 */


 _______________________________________________
 sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
 archive: https://listarc.bham.ac.uk/marchives/sc-dev/
 search: https://listarc.bham.ac.uk/lists/sc-dev/search/


 --





 .

 _______________________________________________
 sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
 archive: https://listarc.bham.ac.uk/marchives/sc-dev/
 search: https://listarc.bham.ac.uk/lists/sc-dev/search/

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

"Every composer - at all times and in all cases - gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/


--





.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/