Re: Target ignoring search headers - oops spoke too soon
Re: Target ignoring search headers - oops spoke too soon
- Subject: Re: Target ignoring search headers - oops spoke too soon
- From: T Anthony Allen <email@hidden>
- Date: Fri, 10 Mar 2006 18:31:12 -0500
Belay my last email. Totally wrong. It still fails. Here are the
build transcript and target settings. I hope you can see something in
them that I cannot.
Tony
Build transcript:
Building target “test” of project “plg”
Checking Dependencies
CompileC build/plg.build/Development/test.build/Objects-normal/ppc/
Set.o /Users/anthony/data/Tawk/Parse/NewPLG/Set.C normal ppc c++
com.apple.compilers.gcc.4_0
cd /Users/anthony/data/Tawk/Parse
/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-
strings -fasm-blocks -g -O0 -fmessage-length=0 -mtune=G5 -mfix-and-
continue -Wno-invalid-offsetof -fvisibility-inlines-hidden -I/Users/
anthony/data/Tawk/Parse/build/plg.build/Development/test.build/
test.hmap -F/Users/anthony/data/Tawk/Parse/build/Development -I/Users/
anthony/data/Tawk/Parse/build/Development/include -I/Users/anthony/
data/Tawk/Parse/build/plg.build/Development/test.build/DerivedSources
-c /Users/anthony/data/Tawk/Parse/NewPLG/Set.C -o /Users/anthony/data/
Tawk/Parse/build/plg.build/Development/test.build/Objects-normal/ppc/
Set.o
/Users/anthony/data/Tawk/Parse/NewPLG/Set.C:3:28: error:
StringRoutines.h: No such file or directory
/Users/anthony/data/Tawk/Parse/NewPLG/Set.C:4:26: error:
StringBuffer.h: No such file or directory
/Users/anthony/data/Tawk/Parse/NewPLG/Set.C: In member function
'char* Set::toString()':
/Users/anthony/data/Tawk/Parse/NewPLG/Set.C:46: error: 'StringBuffer'
was not declared in this scope
/Users/anthony/data/Tawk/Parse/NewPLG/Set.C:46: error: 'buffer' was
not declared in this scope
/Users/anthony/data/Tawk/Parse/NewPLG/Set.C:46: error: expected type-
specifier before 'StringBuffer'
/Users/anthony/data/Tawk/Parse/NewPLG/Set.C:46: error: expected `;'
before 'StringBuffer'
Bundlizing /Users/anthony/data/Tawk/Parse/build/plg.build/Development/
test.build/Objects-normal/ppc/libTawkFrame.ab /Users/anthony/lib/
libTawkFrame.a
cd /Users/anthony/data/Tawk/Parse
/usr/bin/gcc-4.0 -bundle -arch ppc /Users/anthony/lib/
libTawkFrame.a -Wl,-all_load -mmacosx-version-min=10.4 -Wl,-
twolevel_namespace -Wl,-twolevel_namespace_hints -Wl,-undefined -
Wl,dynamic_lookup -Wl,-multiply_defined -Wl,suppress -o /Users/
anthony/data/Tawk/Parse/build/plg.build/Development/test.build/
Objects-normal/ppc/libTawkFrame.ab
Target settings:
ARCHS = $(NATIVE_ARCH)
SDKROOT =
SYMROOT = build
OBJROOT = $(SYMROOT)
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)
CONFIGURATION_TEMP_DIR = $(PROJECT_TEMP_DIR)/$(CONFIGURATION)
SHARED_PRECOMPS_DIR = $(CACHE_ROOT)/SharedPrecompiledHeaders
HEADER_SEARCH_PATHS = /Users/anthony/data/Tawk/Frame
USER_HEADER_SEARCH_PATHS =
LIBRARY_SEARCH_PATHS = $(LIBRARY_SEARCH_PATHS) $(SRCROOT)/../../../lib
FRAMEWORK_SEARCH_PATHS =
REZ_SEARCH_PATHS =
ALWAYS_SEARCH_USER_PATHS = YES
VERSIONING_SYSTEM =
CURRENT_PROJECT_VERSION =
BUILD_VARIANTS = normal
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
GENERATE_PROFILING_CODE = NO
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
MACH_O_TYPE =
INIT_ROUTINE =
PREBINDING = NO
ZERO_LINK = NO
LINK_WITH_STANDARD_LIBRARIES = YES
KEEP_PRIVATE_EXTERNS = NO
EXPORTED_SYMBOLS_FILE =
UNEXPORTED_SYMBOLS_FILE =
SEPARATE_SYMBOL_EDIT = NO
BUNDLE_LOADER =
DYLIB_CURRENT_VERSION =
DYLIB_COMPATIBILITY_VERSION =
SECTORDER_FLAGS =
DEAD_CODE_STRIPPING = NO
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
ONLY_LINK_ESSENTIAL_SYMBOLS = NO
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINKER_DISPLAYS_FILES_FOR_UNDEFINED_SYMBOLS = YES
WARNING_LDFLAGS =
OTHER_LDFLAGS =
GENERATE_MASTER_OBJECT_FILE = NO
PRELINK_LIBS =
PRELINK_FLAGS =
PRODUCT_NAME = test
EXECUTABLE_PREFIX =
EXECUTABLE_EXTENSION =
WRAPPER_EXTENSION =
PRIVATE_HEADERS_FOLDER_PATH =
PUBLIC_HEADERS_FOLDER_PATH =
GENERATE_PKGINFO_FILE = NO
INFOPLIST_FILE =
INFOPLIST_PREPROCESS = NO
INFOPLIST_PREFIX_HEADER =
INFOPLIST_PREPROCESSOR_DEFINITIONS =
INFOPLIST_OTHER_PREPROCESSOR_FLAGS =
COPYING_PRESERVES_HFS_DATA = NO
FRAMEWORK_VERSION = A
MACOSX_DEPLOYMENT_TARGET =
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DSTROOT = /tmp/$(PROJECT_NAME).dst
INSTALL_PATH = "$(HOME)/bin"
SKIP_INSTALL = NO
STRIP_INSTALLED_PRODUCT =
SEPARATE_STRIP = NO
STRIP_STYLE = all
STRIPFLAGS =
COPY_PHASE_STRIP = YES
INSTALL_OWNER = $(USER)
INSTALL_GROUP = $(GROUP)
INSTALL_MODE_FLAG = a-w,a+rX
ALTERNATE_PERMISSIONS_FILES =
ALTERNATE_OWNER = $(INSTALL_OWNER)
ALTERNATE_GROUP = $(INSTALL_GROUP)
ALTERNATE_MODE = $(INSTALL_MODE_FLAG)
TEST_HOST =
TEST_RIG =
GCC_INPUT_FILETYPE = automatic
GCC_C_LANGUAGE_STANDARD = compiler-default
GCC_CHAR_IS_UNSIGNED_CHAR = NO
GCC_ENABLE_ASM_KEYWORD = YES
GCC_ENABLE_TRIGRAPHS = NO
GCC_ENABLE_CPP_EXCEPTIONS = YES
GCC_ENABLE_CPP_RTTI = YES
GCC_ENABLE_OBJC_EXCEPTIONS = NO
GCC_NO_NIL_RECEIVERS = NO
GCC_ENABLE_PASCAL_STRINGS = YES
GCC_SHORT_ENUMS = NO
GCC_ONE_BYTE_BOOL = NO
GCC_ALTIVEC_EXTENSIONS = NO
GCC_CW_ASM_SYNTAX = YES
GCC_PREFIX_HEADER = $(PREFIX_HEADER)
GCC_PRECOMPILE_PREFIX_HEADER = $(PRECOMPILE_PREFIX_HEADER)
OTHER_CFLAGS =
OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS)
GCC_USE_GCC3_PFE_SUPPORT = $(USE_GCC3_PFE_SUPPORT)
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
GCC_DEBUGGING_SYMBOLS = default
GCC_ENABLE_SYMBOL_SEPARATION = YES
GCC_OPTIMIZATION_LEVEL = s
GCC_NO_COMMON_BLOCKS = NO
GCC_REUSE_STRINGS = YES
GCC_DYNAMIC_NO_PIC = YES
GCC_FAST_OBJC_DISPATCH = NO
GCC_UNROLL_LOOPS = NO
GCC_FAST_MATH = NO
GCC_STRICT_ALIASING = NO
GCC_MODEL_TUNING = G5
GCC_MODEL_PPC64 = NO
GCC_AUTO_VECTORIZATION = NO
GCC_ENABLE_SSE3_EXTENSIONS = NO
GCC_FEEDBACK_DIRECTED_OPTIMIZATION = Off
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_USE_NASM_FOR_ASM_FILETYPE = NO
GCC_OBJC_CALL_CXX_CDTORS = NO
GCC_THREADSAFE_STATICS = YES
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
GCC_GENERATE_TEST_COVERAGE_FILES = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = NO
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO
GCC_WARN_ABOUT_RETURN_TYPE = NO
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO
GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO
GCC_WARN_MISSING_PARENTHESES = NO
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO
GCC_WARN_UNUSED_FUNCTION = NO
GCC_WARN_UNUSED_LABEL = NO
GCC_WARN_UNUSED_PARAMETER = NO
GCC_WARN_UNUSED_VARIABLE = NO
GCC_WARN_UNUSED_VALUE = NO
GCC_WARN_UNINITIALIZED_AUTOS = NO
GCC_WARN_UNKNOWN_PRAGMAS = NO
GCC_WARN_INHIBIT_ALL_WARNINGS = NO
GCC_WARN_PEDANTIC = NO
GCC_WARN_SHADOW = NO
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
GCC_WARN_SIGN_COMPARE = NO
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
GCC_WARN_ABOUT_MISSING_NEWLINE = NO
WARNING_CFLAGS =
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
GCC_PREPROCESSOR_DEFINITIONS =
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS =
On Mar 10, 2006, at 5:44 PM, T Anthony Allen wrote:
You gotta love xcode. I just recreated the target (again, about the
fourth time) and it now works like a champ. My threat with the 2x4
must have worked but who knows why? I was planning to PROVE to you
all that it was acting all balky and then success. Its perverse :-)
By the way, I am a heavy eclipse user in addition to using xcode.
Eclipse has a feature that I use all the time, it can show you a
list of all references to a field or method. Does xcode provide
such a feature?
Tony
On Mar 9, 2006, at 7:24 PM, Chris Espinosa wrote:
On Mar 9, 2006, at 2:17 PM, T Anthony Allen wrote:
Using xcode 2.2, I have a C++ project in which I created a
command tool target. I edited the target to specify a header
search path in the search headers option of the build tab. When I
build the target, the header search path is being ignored and is
not added to the compile directives so the build fails because
the compiler cannot resolve the includes that would be found in
the header search path that I added. A similar target that I
created long ago, probably in an earlier version of xcode, does
not have this problem.
What size 2x4 should I use and where should I apply it to make
xcode include the header search path in the build? Right now the
2x4 is being applied to my forehead out of frustration.
You know that 2x4s aren't actually 2 by 4 inches, don't you? :-)
Be sure that:
a) You are editing the correct configuration of the target (for
best results with search paths, you should probably be editing
"All configurations")
b) If you're using any build settings (like $(SRCROOT) ) expanded
in your paths, that the whole is quoted to guard against spaces, etc.
It would help, as always, if you would copy and paste the portion
of the build transcript that's relevant to the problem (in this
case, the compiler invocation and errors) so we can see whether
indeed the paths are or are not being passed. You can do this by
simply selecting the "Compiling foo.c" and following "Error:
include file not found" lines from the build log and dragging and
dropping them into a Mail message.
Similarly, seeing the actual build settings for your target would
be a big help. Open the Target Settings, select the configuration
in question, pick the "Customized settings" group, select all, and
just drag and drop them into the reply.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden