Xcode compilation error

Hi everybody,
I have problems with Xcode, it won't compile any of my projects, it gives me the error :
"error: Couldn't distribute compilation because the recruiter daemon isn't listening (No such file or directory)"
I found a similar things in Apple Xcode 2.3 documentation in known problems, but the commands they give to repair that doesn't work for me.
I'm on Xcode 2.4 with Tiger on a MacBook.
PLease help me ! Thanks !

That sounds like you have distributed builds turned on but not setup properly. Turn off that setting and see if that fixes it.

Similar Messages

  • Xcode Compilation error (speechrecognition.framework)

    I have had a bad error with Xcode 5.1.  I am building a speech recognition application, and out of the blue I got an error saying that Xcode had an error linking directly with SpeechRecognition.Framework.  I wasn't able to fix it like I could before. Since SpeechRecognition.Framework has a link inside of it, I was able to copy the original file into the framework's folder, and it would work.  Now it won't work, and I can't compile my app.  I would appriciate any help.

    That sounds like you have distributed builds turned on but not setup properly. Turn off that setting and see if that fixes it.

  • List of Xcode compiler errors?

    Is there such a thing?
    I know some and most errors are simple and all because the use of the wrong quotation marks could cause the problem. But there are times I am just COMPLETELY stuck on debugging. (I have an un-expected '@' in program. error right now and its a killer!
    so maybe somone has a link to somewhere that has a beginners look at some errors?

    This has been solved.. by me simple n00b error... not enough closed brackets in the program

  • Compiled Error in Xcode for iphone game and other questions

    Dear all,
    Hi, I am a newbie of xcode and objective-c and I have a few questions regarding to the code sample of a game attached below. It is written in objective C, Xcode for iphone4 simulator. It is part of the code of 'ball bounce against brick" game. Instead of creating the image by IB, the code supposes to create (programmatically) 5 X 4 bricks using 4 different kinds of bricks pictures (bricktype1.png...). I have the bricks defined in .h file properly and method written in .m.
    My questions are for the following code:
    - (void)initializeBricks
    brickTypes[0] = @"bricktype1.png";
    brickTypes[1] = @"bricktype2.png";
    brickTypes[2] = @"bricktype3.png";
    brickTypes[3] = @"bricktype4.png";
    int count = 0;`
    for (int y = 0; y < BRICKS_HEIGHT; y++)
    for (int x = 0; x < BRICKS_WIDTH; x++)
    - Line1 UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]];
    - Line2 bricks[x][y] = [[[UIImageView alloc] initWithImage:image] autorelease];
    - Line3 CGRect newFrame = bricks[x][y].frame;
    - Line4 newFrame.origin = CGPointMake(x * 64, (y * 40) + 50);
    - Line5 bricks[x][y].frame = newFrame;
    - Line6 [self.view addSubview:bricks[x][y]]
    1) When it is compiled, error "ImageCache undeclared" in Line 1. But I have already added the png to the project. What is the problem and how to fix it? (If possible, please suggest code and explain what it does and where to put it.)
    2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
    brickTypes[count ++ % 4]
    For instance, returns one of the file name bricktype1.png to the image object? If true, what is the max value of "count", ends at 5? (as X increments 5 times for each Y). But then "count" will exceed the max 'index value' of brickTypes which is 3!
    3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
    4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
    5) What does Line 4 do?
    Thanks
    North

    Hi North -
    macbie wrote:
    1) When it is compiled, error "ImageCache undeclared" in Line 1. ...
    UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]]; // Line 1
    The compiler is telling you it doesn't know what ImageCache refers to. Is ImageCache the name of a custom class? In that case you may have omitted #import "ImageCache.h". Else if ImageCache refers to an instance of some class, where is that declaration made? I can't tell you how to code the missing piece(s) because I can't guess the answers to these questions.
    Btw, if the png file images were already the correct size, it looks like you could substitute this for Line 1:
    UIImage *image = [UIImage imageNamed:brickTypes[count++ % 4]]; // Line 1
    2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
    brickTypes[count ++ % 4]
    Though you don't show the declaration of brickTypes, it appears to be a "C" array of NSString object pointers. Thus brickTypes[0] is the first string, and brickTypes[3] is the last string.
    The expression (count++ % 4) does two things. Firstly, the trailing ++ operator means the variable 'count' will be incremented as soon as the current expression is evaluated. Thus 'count' is zero (its initial value) the first time through the inner loop, its value is one the second time, and two the third time. The following two code blocks do exactly the same thing::
    int index = 0;
    NSString *filename = brickTypes[index++];
    int index = 0;
    NSString *filename = brickTypes[index];
    index = index + 1;
    The percent sign is the "modulus operator" so x%4 means "x modulo 4", which evaluates to the remainder after x is divided by 4. If x starts at 0, and is incremented once everytime through a loop, we'll get the following sequence of values for x%4: 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, ...
    So repeated evaluation of (brickTypes[count++ % 4]) produces the sequence: @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", ...
    3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
    Line 2 allocs an object of type UIImageView and specifies the data at 'image' as the picture to be displayed by the new object. Since we immediately assign the address of the new UIImageView object to an element of the 'bricks' array, that address isn't stored in any named variable.
    The new UIImageView object is not associated with the name of the png file from which its picture originated. In fact the UIImage object which inited the UIImageView object is also not associated with that png filename. In other words, once a UIImage object is initialized from the contents of an image file, it's not possible to obtain the name of that file from the UIImage object. Note when you add a png media object to a UIImageView object in IB, the filename of the png resource will be retained and used to identify the image view object. But AFAIK, unless you explicitly save it somewhere in your code, that filename will not be available at run time.
    4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
    5) What does Line 4 do?
    In Line 2 we've set the current element of 'bricks' to the address of a new UIImageView object which will display one of the 4 brick types. By default, the frame of a UIImageView object is set to the size of the image which initialized it. So after Line 2, we know that frame.size for the current array element is correct (assuming the image size of the original png file was what we want to display, or assuming that the purpose of [ImageCache loadImage:...] is to adjust the png size).
    Then in Line 3, we set the rectangle named newFrame to the frame of the current array element, i.e. to the frame of the UIImageView object whose address is stored in the current array element. So now we have a rectangle whose size (width, height) is correct for the image to be displayed. But where will this rectangle be placed on the superview? The placement of this rectangle is determined by its origin.
    Line 4 computes the origin we want. Now we have a rectangle with both the correct size and the correct origin.
    Line 5 sets the frame of the new UIImageView object to the rectangle we constructed in Lines 3 and 4. When that object is then added to the superview in Line 6, it will display an image of the correct size at the correct position.
    - Ray

  • Fatal Syntax Errors Unique to XCode Compile

    I am attempting to bring a Unix library into an XCode project for iPad and compile it. This Unix library compiles for i386 without any problems when I use gcc from Terminal, which is v4.2. However, when I attempt to compile those same sources from within the XCode project, I receive hundreds of fatal syntax errors, even though I it is still compiling to i386, and it is still using GCC 4.2. Here is an example declaration where it gives an error:
    The Code:
    int memcmp(const void *, const void *, size_t);
    The error:
    Expected declaration specifiers or '...' before '(' token
    I must admit I am just now reading my introduction to Objective-C, so it is possible that there is a syntax error there according to some strict guidelines. The above code is actually C, but I did not worry about this because I was not expecting to extensively modify this library.
    How is the XCode compile so different from using Apple's built-in GCC 4.2 that I receive hundreds of fatal syntax errors from within XCode, but it compiles with only a few warnings from the command line?

    kienjakenobi wrote:
    At the moment, I am having difficulty compiling libpng. libpng does not appear to like Apple's custom stdio.h header file.
    What errors are you getting? I'm pretty sure I've build this library before, although not for iOS. Building for iOS shouldn't be much different than any cross-platform build, such as when building 32-bit on a 64-bit machine.
    I tried it myself and couldn't get the configure script to do it all. Those things never work when you need them to. I had to hack up the Makefile and libtool file. Here is a patch file:
    diff -crB libpng-1.2.44/Makefile libpng-1.2.44.iOS/Makefile
    * libpng-1.2.44/Makefile 2010-10-14 14:57:16.000000000 -0400
    --- libpng-1.2.44.iOS/Makefile 2010-10-14 14:50:06.000000000 -0400
    * 171,180 **
    AUTOHEADER = ${SHELL} /Users/jdaniel/Downloads/libpng-1.2.44/missing --run autoheader
    AUTOMAKE = ${SHELL} /Users/jdaniel/Downloads/libpng-1.2.44/missing --run automake-1.11
    AWK = awk
    ! CC = gcc
    CCDEPMODE = depmode=gcc3
    ! CFLAGS = -g -O2
    ! CPP = gcc -E
    CPPFLAGS =
    CYGPATH_W = echo
    DEFS = -DHAVECONFIGH
    --- 171,180 ----
    AUTOHEADER = ${SHELL} /Users/jdaniel/Downloads/libpng-1.2.44/missing --run autoheader
    AUTOMAKE = ${SHELL} /Users/jdaniel/Downloads/libpng-1.2.44/missing --run automake-1.11
    AWK = awk
    ! CC = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc
    CCDEPMODE = depmode=gcc3
    ! CFLAGS = -g -O2 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk -arch armv7
    ! CPP = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp -E
    CPPFLAGS =
    CYGPATH_W = echo
    DEFS = -DHAVECONFIGH
    * 194,200 **
    INSTALL_PROGRAM = ${INSTALL}
    INSTALL_SCRIPT = ${INSTALL}
    INSTALLSTRIPPROGRAM = $(install_sh) -c -s
    ! LD = /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
    LDFLAGS =
    LIBOBJS =
    LIBPNG_DEFINES = -DPNGCONFIGURELIBPNG
    --- 194,200 ----
    INSTALL_PROGRAM = ${INSTALL}
    INSTALL_SCRIPT = ${INSTALL}
    INSTALLSTRIPPROGRAM = $(install_sh) -c -s
    ! LD = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld
    LDFLAGS =
    LIBOBJS =
    LIBPNG_DEFINES = -DPNGCONFIGURELIBPNG
    diff -crB libpng-1.2.44/config.log libpng-1.2.44.iOS/config.log
    * libpng-1.2.44/config.log 2010-10-14 14:57:16.000000000 -0400
    --- libpng-1.2.44.iOS/config.log 2010-10-14 14:48:08.000000000 -0400
    * 30,37 **
    Processor type: i486 (Intel 80486)
    Processors active: 0 1
    Primary memory available: 4.00 gigabytes
    ! Default processor set: 90 tasks, 370 threads, 2 processors
    ! Load average: 0.28, Mach factor: 1.71
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    --- 30,37 ----
    Processor type: i486 (Intel 80486)
    Processors active: 0 1
    Primary memory available: 4.00 gigabytes
    ! Default processor set: 90 tasks, 374 threads, 2 processors
    ! Load average: 0.38, Mach factor: 1.60
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    diff -crB libpng-1.2.44/libtool libpng-1.2.44.iOS/libtool
    * libpng-1.2.44/libtool 2010-10-14 14:57:16.000000000 -0400
    --- libpng-1.2.44.iOS/libtool 2010-10-14 14:55:40.000000000 -0400
    * 240,249 **
    hardcodeintolibs=no
    # Compile-time system search path for libraries.
    ! syslib_search_path_spec="/usr/lib/gcc/i686-apple-darwin10/4.2.1/x8664 /usr/lib/i686-apple-darwin10/4.2.1 /usr/lib /usr/local/lib"
    # Run-time system search path for libraries.
    ! syslib_dlsearch_pathspec="/usr/local/lib /lib /usr/lib"
    # Whether dlopen is supported.
    dlopen_support=unknown
    --- 240,249 ----
    hardcodeintolibs=no
    # Compile-time system search path for libraries.
    ! syslib_search_pathspec="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib"
    # Run-time system search path for libraries.
    ! syslib_dlsearch_pathspec="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib"
    # Whether dlopen is supported.
    dlopen_support=unknown
    * 260,272 **
    # The linker used to build libraries.
    ! LD="/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld"
    # Commands used to build an old-style archive.
    oldarchivecmds="$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib"
    # A language specific compiler.
    ! CC="gcc"
    # Is the compiler the GNU compiler?
    with_gcc=yes
    --- 260,272 ----
    # The linker used to build libraries.
    ! LD="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld"
    # Commands used to build an old-style archive.
    oldarchivecmds="$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib"
    # A language specific compiler.
    ! CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc"
    # Is the compiler the GNU compiler?
    with_gcc=yes
    It seems to work:
    file ./.libs/libpng12.0.dylib
    ./.libs/libpng12.0.dylib: Mach-O dynamically linked shared library arm
    You don't need to create static libraries. Just use the "installnametool" to change the location of the dynamic libraries to @executable_path and include the required libraries inside your application bundle.

  • Compilation errors with boost 1.36

    Hi,
    My compiler
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-08 2002/06/02
    I am getting the followin*g errors when trying to compile
    Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 108: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 116: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 122: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 128: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 141: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 172: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    I have done configuration as following
    %> ./configure with-toolset=sun prefix=/u/jn/boost/boost_1_36_0
    my usr-config.jam file looks as below
    # Boost.Build Configuration
    # Automatically generated by Boost configure
    # Compiler configuration
    using sun : 6 : /home/nfs/sollocal/beatlehome1/F6U2/SUNWspro/bin/CC : <stdlib>sun-stlport
    <cxxflags>-library=stlport4 -m64 -xcode=pic32 -erroff=wvarhidemem,hidevf,hidevfinvb -errtag
    s=yes <linkflags>-library=stlport4 -m64 ;
    # Python configuration
    using python : 2.6 : /usr/local ;
    my Makefile
    BJAM=./tools/jam/src/bin.solaris/bjam
    BJAM_CONFIG= -sICU_PATH=/usr
    prefix=/u/jnarayan/boost/boost_1_36_0
    exec_prefix=$(prefix)
    libdir=$(exec_prefix)/lib
    includedir=$(prefix)/include
    LIBS=
    all: .dummy
    @echo "$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS)"
    @$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS) || \
    echo "Not all Boost libraries built properly."
    clean: .dummy
    rm -rf bin.v2
    distclean: clean
    rm -rf Makefile config.log
    check: .dummy
    @cd status && ../$(BJAM) $(BJAM_CONFIG) --user-config=../user-config.jam || echo "S
    ome Boost regression tests failed. This is normal for many compilers."
    install: .dummy
    @echo "$(BJAM) $(BJAM_CONFIG) address-model=64 user-config=user-config.jam pref
    ix=$(prefix) exec-prefix=$(exec_prefix) libdir=$(libdir) --includedir=$(includedir) $(L
    IBS) install"
    @$(BJAM) $(BJAM_CONFIG) address-model=64 --user-config=user-config.jam --prefix=$(p
    refix) --exec-prefix=$(exec_prefix) --libdir=$(libdir) --includedir=$(includedir) $(LIBS) i
    nstall || echo "Not all Boost libraries built properly."
    .dummy:
    thanks in advance for your help

    BOOST cannot be compiled with WS6u2.
    The oldest compiler that can build BOOST is Sun Studio 11 (C++ 5.8).
    You will have better luck with Sun Studio 12 (C++ 5.9). Both Studio 11 and Studio 12 are free.
    Get Sun Studio 12 here:
    [http://developers.sun.com/sunstudio/]
    Sun Studio 12 requires Solaris 9, 10, or Open Solaris.
    If you are running Solaris 8, get Sun Studio 11 instead:
    [http://developers.sun.com/sunstudio/products/previous/11/index.jsp]
    After installing the appropriate version of Sun Studio, get all current patches for it here:
    [http://developers.sun.com/sunstudio/downloads/patches/index.jsp]
    Then check Simon's blog for advice on building BOOST with Sun Studio 11 or 12.
    [http://blogs.sun.com/sga/category/Boost]

  • Studio 11 compiler error - SunIR version

    I am trying to recompile my code after installing sun studio 11, but am getting compilation errors. If I compile my code using
    f90 -KPIC -C -e -u -v -r8const mengmr5.f -c -O2
    My files seem to compile ok. If instead I use
    f90 -KPIC -C -e -u -v -r8const mengmr5.f
    (without -O2) I get the following
    ### command line files and options (expanded):
    ### -xcode=pic32 -C -e -u -v -r8const mengmr5.f -c
    ### f90: Note: NLSPATH = /ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    /ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/bin/f90comp -y-o -ymengmr5.o -N132 -ev -eI -y-ftrap=common -m3 -dq -y-fbe -y/ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/bin/fbe -y-xarch=generic -H "/ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/bin/f90 -KPIC -C -e -u -v -r8const -c " -y-xcache=generic -xcache=generic -I/ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/include/f95/v8 -p/ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/lib/modules -y-verbose -RM -xall -y-PIC -PIC -y-xcode=pic32 -xmemalign=8i -y-xmemalign=8i -r8const -y-xdbggen=no%dwarf2+stabs -xassume_control=optimize -y-xassume_control=optimize -iorounding=processor-defined -xhasc=yes mengmr5.f
    Build problem: Yabe expected SunIR version 7.0.0; got 7.1.3
    Studio 11 is installed in /ford/thishost/unix/loc/studio11/opt/SUNWspro, which I added to my path. I also have LD_LIBRARY_PATH as /ford/thishost/unix/loc/studio11/opt/SUNWspro/prod/lib:/ford/thishost/unix/loc/studio11/opt/SUNWspro/lib:/usr/local/lib:/usr/dt/lib:/usr/lib:/usr/openwin/lib:/usr/4lib:/usr/sfw/lib:/usr/share/lib:/usr/local/link/lib:/ford/thishost/u/Tools/SunOS/5.8/lib:/ford/thishost/u/Tools/SunOS/5.8/lib
    If I build optimized, I have problems debugging as I cannot see values in optimized functions. Is there a way to fix this?

    Try unsetting your LD_LIBRARY_PATH.
    You should not need it.
    If it is not that,
    then you probably have some problem with your installation
    of the compilers.
    Check the installation logs and any patch logs for clues.
    Peter.
    -pd 2/22/06

  • Compiling error C++: float.h not found

    Dear All,
    I am using a Mid 2011 Macbook Air, 1.8 GHz Intel Core i7 running Mac OS 10.9.4. I have Xcode 5.1.1 and have installed the latest Command Line Tools (Late July 2014). I have homebrew installed the gcc compiler.
    I am currently trying to install the coin-or project BCP from here. I have followed the installation instructions as provided here. The "../configure" command works, I get a positive configure message "configure: Main configuration of Bcp successful". However, the next command "make" fails with the following error message
    $ make
    Making all in CoinUtils
    Making all in src
    /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
    if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo ../../../CoinUtils/src`      -MT CoinBuild.lo -MD -MP -MF ".deps/CoinBuild.Tpo" -c -o CoinBuild.lo ../../../CoinUtils/src/CoinBuild.cpp; \
      then mv -f ".deps/CoinBuild.Tpo" ".deps/CoinBuild.Plo"; else rm -f ".deps/CoinBuild.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I../../../CoinUtils/src -MT CoinBuild.lo -MD -MP -MF .deps/CoinBuild.Tpo -c ../../../CoinUtils/src/CoinBuild.cpp  -fno-common -DPIC -o .libs/CoinBuild.o
    In file included from ../../../CoinUtils/src/CoinBuild.cpp:10:0:
    /usr/local/include/c++/4.9.0/cfloat:41:19: fatal error: float.h: No such file or directory
    #include <float.h>
                       ^
    compilation terminated.
    make[3]: *** [CoinBuild.lo] Error 1
    make[2]: *** [all] Error 2
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1
    I have dug around a bit, and found threads about Mavericks moving/deleting some header files that gcc relies on. The suggested solution was to install the latest Developer tools, which I have done.
    It looks to me, like it is a compiling error, and the compiler isn't looking for the header at the right place. My problem is, I have no real knowledge about these things, I'm more of a front end programmer. I have tried all fixed I could find on the internet, but nothing seems to work.
    Any further suggestions on how I could get this to work would be very much appreciated.
    Thank you.

    When using GCC, consider replacing <float.h> with <cfloat> which also includes <float.h>, but likely relative to its placement in GCC, not in OS X.
    When you use the OS X command line tools, the implicit path for <float.h> is in /usr/include/c++/4.2.1/tr1
    Your homebrew installed GCC will be looking for <float.h> in:
    /usr/local/lib/gcc/x86_64-apple-darwin13.1.0/4.9.0/include
    You may have to educate GCC where its include files live, and not to be confused with those of Xcode command line tools.

  • Compile errors that don't make any sense

    After spending a day coding, I did something to cause my project file to explode with errors. When I revert everything back to a known working version on source control I still get the same errors. I've tried everything I can think of to fix this. I started this problem while fixing a simple compile warning. I've made sure all the frameworks are included correctly. I feel it must be a project setting thats causing these problems. The GLSprite demo still compiles fine, but no matter how far back I go on source control my project file explodes with the same 121 errors. I'm not sure what I could of changed that won't go away with reverting. Any help would be greatly appreciated. I guess my next attempt will be uninstalling XCode.
    Heres the errors i'm getting
    Line Location UIAlert.h:30: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIAlert.h:40: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIAlert.h:147: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIAlert.h:158: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIBarButtonItem.h:55: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIBarButtonItem.h:74: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIColor.h:17: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:17: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:18: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:18: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:18: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:18: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:19: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:19: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:19: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:19: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:24: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:24: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:25: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:25: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:25: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:25: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:26: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:26: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:26: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:26: error: expected ')' before 'CGFloat'
    Line Location UIColor.h:56: error: expected ')' before 'CGFloat'
    Line Location UIFont.h:15: error: expected ')' before 'CGFloat'
    Line Location UIFont.h:23: error: expected ')' before 'CGFloat'
    Line Location UIFont.h:24: error: expected ')' before 'CGFloat'
    Line Location UIFont.h:25: error: expected ')' before 'CGFloat'
    Line Location UIFont.h:30: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIFont.h:31: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIFont.h:32: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIFont.h:33: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIFont.h:34: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIFont.h:35: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIFont.h:38: error: expected ')' before 'CGFloat'
    Line Location UIGeometry.h:13: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIGeometry.h:16: error: expected ')' before 'top'
    Line Location UIGeometry.h:22: error: 'UIEdgeInsets' has no member named 'left'
    Line Location UIGeometry.h:23: error: 'UIEdgeInsets' has no member named 'top'
    Line Location UIGeometry.h:24: error: 'UIEdgeInsets' has no member named 'right'
    Line Location UIGeometry.h:24: error: 'UIEdgeInsets' has no member named 'left'
    Line Location UIGeometry.h:25: error: 'UIEdgeInsets' has no member named 'bottom'
    Line Location UIGeometry.h:25: error: 'UIEdgeInsets' has no member named 'top'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'right'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'bottom'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'bottom'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'right'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'top'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'left'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'left'
    Line Location UIGeometry.h:30: error: 'UIEdgeInsets' has no member named 'top'
    Line Location UIImage.h:52: error: expected ')' before 'CGFloat'
    Line Location UIImage.h:54: error: expected ')' before 'CGFloat'
    Line Location UIImage.h:67: error: expected declaration specifiers or '...' before 'CGFloat'
    Line Location UIInterface.h:35: error: expected ')' before 'CGFloat'
    Line Location UIInterface.h:36: error: expected ')' before 'CGFloat'
    Line Location UIInterface.h:37: error: expected ')' before 'CGFloat'
    Line Location UIInterface.h:38: error: expected ')' before 'CGFloat'
    Line Location UILabel.h:26: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UILabel.h:27: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UILabel.h:29: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UILabel.h:69: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UINavigationBar.h:22: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UINavigationController.h:28: error: expected '=', ',', ';', 'asm' or '_attribute_' before 'UINavigationControllerHideShowBarDuration'
    Line Location UINavigationController.h:43: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UINavigationController.h:44: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIPickerView.h:83: error: expected ')' before 'CGFloat'
    Line Location UIPickerView.h:84: error: expected ')' before 'CGFloat'
    Line Location UIScrollView.h:78: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIScrollView.h:79: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIScrollView.h:108: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIScrollView.h:109: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UISearchDisplayController.h:30: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UISegmentedControl.h:71: error: expected ')' before 'CGFloat'
    Line Location UISegmentedControl.h:72: error: expected ')' before 'CGFloat'
    Line Location UISlider.h:38: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIStringDrawing.h:40: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:44: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:62: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:62: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:62: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:64: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:64: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:66: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:66: error: expected ')' before 'CGFloat'
    Line Location UIStringDrawing.h:66: error: expected ')' before 'CGFloat'
    Line Location UITableView.h:48: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableView.h:49: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableView.h:50: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableView.h:183: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableView.h:184: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableView.h:185: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableView.h:316: error: expected ')' before 'CGFloat'
    Line Location UITableView.h:317: error: expected ')' before 'CGFloat'
    Line Location UITableView.h:318: error: expected ')' before 'CGFloat'
    Line Location UITableViewCell.h:64: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableViewCell.h:66: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableViewCell.h:118: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITableViewCell.h:159: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:46: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:58: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:59: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:60: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:61: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:62: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:86: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UITextField.h:124: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIView.h:183: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIWindow.h:14: error: expected '=', ',', ';', 'asm' or '_attribute_' before 'UIWindowLevel'
    Line Location UIWindow.h:21: error: expected specifier-qualifier-list before 'CGFloat'
    Line Location UIWindow.h:60: error: expected specifier-qualifier-list before 'UIWindowLevel'
    Line Location UIWindow.h:77: error: expected '=', ',', ';', 'asm' or '_attribute_' before 'UIWindowLevelNormal'
    Line Location UIWindow.h:78: error: expected '=', ',', ';', 'asm' or '_attribute_' before 'UIWindowLevelAlert'
    Line Location UIWindow.h:79: error: expected '=', ',', ';', 'asm' or '_attribute_' before 'UIWindowLevelStatusBar'
    Line Location WSMethodInvocation.h:759: error: expected declaration specifiers or '...' before 'CFXMLTreeRef'
    Line Location WSMethodInvocation.h:759: error: expected declaration specifiers or '...' before 'CFXMLTreeRef'
    Line Location WSProtocolHandler.h:486: error: expected declaration specifiers or '...' before 'CFXMLTreeRef'
    Line Location WSProtocolHandler.h:486: error: expected declaration specifiers or '...' before 'CFXMLTreeRef'

    Hi Adam -
    Can we assume your source code control doesn't include the .xcodeproj file? Did you backup the entire project folder at any point? I'm guessing probably not or you would have tried the backup folder by now.
    So to review, are you saying that these compile errors are only showing up in your current project? In addition to GLSprite, can we assume you can compile any of the New Project templates?
    Is the behavior the same when you switch between Debug and Release? Simulator and Device? iPhone OS 3.0 and iPhone 2.x? I assume you've tried Build->Clean All Targets, Xcode->Quit Xcode, and restarting your Mac.
    There's a long list of other things we could check, but if it's only this one project that's broken, I would recommend starting a new project and moving all your source code into the new project. I had to do this once with a nearly complete app because of a similar, mysterious disintegration of my project. Despite my frustration at being unable to isolate the cause, the process went smoothly and took less than two hours. I could have worked faster, but I was trying to rebuild and run at various stages to be sure the project was still clean. I would recommend this, even if you need to make some stub classes to get a subset of the project to link.
    Backing all your files into a new project is strong medicine, but it's likely to work. A re-install of the SDK is no day at the beach either, since you need to carefully clean out the previous installation. If you make a mistake in the cleanup, the new installation may fail, leaving you with two problems: a broken project plus a broken environment.
    Of course if I misunderstood, and you can't even compile a template now, a re-install might be the only choice.
    Hope some part of the above is helpful!
    \- Ray

  • Compilation error while calling static method from another class

    Hi,
    I am new to Java Programming. I have written two class files Dummy1 and Dummy2.java in the same package Test.
    In Dummy1.java I have declared a static final variable and a static method as you can see it below.
    package Test;
    import java.io.*;
    public class Dummy1
    public static final int var1= 10;
    public static int varDisp(int var2)
    return(var1+var2);
    This is program is compiling fine.
    I have called the static method varDisp from the class Dummy2 and it is as follows
    package Test;
    import java.io.*;
    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    and when i compile Dummy2.java, there is a compilation error <identifier > expected.
    Please help me in this program.

    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    }test+=Dummy1.varDisplay(var3);
    must be in a method, it cannot just be out somewhere in the class!

  • Compile Error: "schema 'name' does not exist

    Im trying to build a program that quereys a table in a database but i keep getting this error. Am i missing a link between the files or am i missing a line of code in my program??

    Apologies. I receive a compiler error which reads as follows;
    java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
    java.sql.SQLSyntaxErrorException: Schema 'DEMO' does not exist
    Heres the main body of code i am trying to execute.
    public class Main {
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    try{
    Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
    }catch(ClassNotFoundException e){
    System.out.println(e);
    try{
    Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/SimpleDBDemo", "demo", "demo");
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM DEMO.Table1");
    while (rs.next()) {
    String s = rs.getString("Name");
    float n = rs.getFloat("Age");
    System.out.println(s + " " + n);
    }catch(SQLException e){
    System.err.println(e);
    I am using NetBeans IDE and have created a database under: Services->Databases-> Java DB->SimpleDBDemo.
    I have a database connection in which theres a simple table (called "TABLE1") created which contains the names and ages of two people.
    Hope this makes the problem a bit clearer.
    Any help would be greatly appreciated.

  • Experiencing "The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembly reference?)" compilation error

    I am just starting to implement a new user login authentication process wherein after prompting user for username & password, I hope to authenticate them againts our company Active Directory user data. Since I am just starting, I only have very few things
    done at this point which is how I wanted to work on this so that my development environment is still at its simplest state.
    I am using the following for development:
    MS-Visual Studios Professional 2013 Version 12.0.30501.00 Update 2, and
    MS .NET Framework Version 4.5.50938.
    Here are my project solution's current items:
    Web.config:
    <?xml version="1.0"?>
    <!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=169433
    -->
    <configuration>
    <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
    </system.web>
    <system.webServer>
    <defaultDocument enabled="true">
    <files>
    <add value="Login.aspx" />
    </files>
    </defaultDocument>
    </system.webServer>
    </configuration>
    Web.Debug.config:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
    <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
    <!--
    In the example below, the "SetAttributes" transform will change the value of
    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
    finds an attribute "name" that has a value of "MyDB".
    <connectionStrings>
    <add name="MyDB"
    connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
    xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
    </connectionStrings>
    -->
    <system.web>
    <compilation xdt:Transform="RemoveAttributes(debug)" />
    <!--
    In the example below, the "Replace" transform will replace the entire
    <customErrors> section of your web.config file.
    Note that because there is only one customErrors section under the
    <system.web> node, there is no need to use the "xdt:Locator" attribute.
    <customErrors defaultRedirect="GenericError.htm"
    mode="RemoteOnly" xdt:Transform="Replace">
    <error statusCode="500" redirect="InternalError.htm"/>
    </customErrors>
    -->
    </system.web>
    </configuration>
    Web.Assemblies.config:
    <?xml version="1.0"?>
    <configuration>
    <system.web>
    <compilation debug="false" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
    <assemblies>
    <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral PublicKeyToken=b03f5f7f11d50a3a"/>
    </assemblies>
    </system.web>
    </configuration>
    Login.aspx:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title></title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div id="loginForm" style="height: 562px; width: 399px; margin-left: 0px" title="Login Form">
    &nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="loginPageLabel" runat="server" Font-Bold="True" Font-Names="Arial Black" Font-Size="Large" Text="Please Log In"></asp:Label>
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="loginUsernameLabel" runat="server" Text="Username:"></asp:Label>
    &nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="loginUserNameTextBox" runat="server" OnTextChanged="loginUserNameTextBox_TextChanged" Width="213px" Wrap="False" AutoPostBack="True" TabIndex="1"></asp:TextBox>
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="loginPasswordLabel" runat="server" Text="Password:"></asp:Label>
    &nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="loginPasswordTextBox" runat="server" OnTextChanged="loginPasswordTextBox_TextChanged" Width="212px" Wrap="False" AutoPostBack="True" TabIndex="2"></asp:TextBox>
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:RadioButton ID="loginUAradioButton" runat="server" Font-Bold="True" OnCheckedChanged="loginUAradioButton_CheckedChanged" Text="TUPSS Associate" AutoPostBack="True" TabIndex="3" />
    &nbsp;&nbsp;
    <asp:RadioButton ID="loginAFradioButton" runat="server" Font-Bold="True" OnCheckedChanged="loginAFradioButton_CheckedChanged" Text="Area Franchisee" AutoPostBack="True" TabIndex="4" />
    <br />
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="loginSubmitButton" runat="server" Font-Bold="True" OnClick="loginSubmitButton_Click" Text="Log In" TabIndex="5" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="loginCancelButton" runat="server" Font-Bold="True" OnClick="loginCancelButton_Click" Text="Cancel" TabIndex="6" />
    <br />
    <br />
    &nbsp;&nbsp;
    <asp:Label ID="loginStatusInstructionLabel" runat="server" Text="Status/Instruction:"></asp:Label>
    <br />
    &nbsp;&nbsp;
    <asp:TextBox ID="loginStatusInstructionTextBox" runat="server" Height="230px" MaxLength="100" Rows="12" TextMode="MultiLine" Width="360px" EnableViewState="False" OnTextChanged="loginStatusInstructionTextBox_TextChanged" ReadOnly="True" TabIndex="-1"></asp:TextBox>
    </div>
    </form>
    </body>
    </html>
    Login.aspx.cs:
    using System;
    using System.DirectoryServices;
    public partial class Login : System.Web.UI.Page
    private string uName; // user-entered username
    private string pWord; // user-entered password
    private int loginLoadCycles; // just keeping track of how many times Page_Load is called
    protected void Page_Load(object sender, EventArgs e)
    if (this.loginUserNameTextBox.Text == String.Empty &&
    this.loginPasswordTextBox.Text == String.Empty &&
    this.loginUAradioButton.Checked == false &&
    this.loginAFradioButton.Checked == false)
    this.loginInit();
    this.setLoginVisibilityAndFocus();
    this.loginLoadCycles += 1;
    private void loginInit()
    this.uName = String.Empty;
    this.pWord = String.Empty;
    this.loginLoadCycles = 0;
    private void setLoginVisibilityAndFocus()
    // Decide on whether or not the Login submit & cancel buttons should be enabled or not
    if ( this.loginUserNameTextBox.Text == String.Empty ||
    (this.loginUAradioButton.Checked == false && this.loginAFradioButton.Checked == false) )
    this.loginSubmitButton.Enabled = false;
    this.loginCancelButton.Enabled = false;
    this.loginStatusInstructionTextBox.Text = "Please specify if you are a TUPSS Associate or an Area Franchisee by checking either the 'TUPSS Associate' or 'Area Franchisee' checkbox.";
    else
    this.loginSubmitButton.Enabled = true;
    this.loginCancelButton.Enabled = true;
    if (this.loginPasswordTextBox.Text == String.Empty)
    this.loginStatusInstructionTextBox.Text = "Now that you have entered your username & type, please enter your password.";
    else
    this.loginStatusInstructionTextBox.Text = "When you are ready, please select either the Log In button to login, or the Cancel button to abort.";
    if (this.loginUAradioButton.Checked == false && this.loginAFradioButton.Checked == false)
    this.SetFocus(this.loginUAradioButton);
    else if (this.loginUserNameTextBox.Text == String.Empty)
    this.SetFocus(this.loginUserNameTextBox);
    else if (this.loginPasswordTextBox.Text == String.Empty)
    this.SetFocus(this.loginPasswordTextBox);
    else
    this.SetFocus(this.loginSubmitButton);
    protected void loginUserNameTextBox_TextChanged(object sender, EventArgs e)
    protected void loginPasswordTextBox_TextChanged(object sender, EventArgs e)
    // For some reason, after specifying that the password entry box's textmode to 'Password' setting,
    // the UI's password textbox is emptied
    this.loginStatusInstructionTextBox.Text = "NOTICE:\nThis application is still under development.\n\n" +
    "This is why the password you entered is visible. Once this portion of the application is ready, it will be masked.\n\n" +
    "Also, still need to figure out why when changing this to Password entry mode to mask its entered data, password is getting reset.";
    protected void loginSubmitButton_Click(object sender, EventArgs e)
    this.loginLoadCycles = 0;
    this.uName = this.loginUserNameTextBox.Text;
    this.pWord = this.loginPasswordTextBox.Text;
    if (this.loginUAradioButton.Checked == true && this.loginAFradioButton.Checked == false)
    this.loginLADPauthenticate('U'); // authenticate UPS Associates against UPS Corp's Active Directory
    else if (this.loginUAradioButton.Checked == false && this.loginAFradioButton.Checked == true)
    this.loginLADPauthenticate('A'); // authenticate Area Franchisees against UPS Store's iNet Active Directory
    else
    // set colors to show that this is an error instead of a status message or instruction
    this.loginStatusInstructionTextBox.Text = "ERROR: Cannot log in without specifying if you are an UPS Associate or an Area Franchisee!";
    protected void loginCancelButton_Click(object sender, EventArgs e)
    this.loginStatusInstructionTextBox.Text = "You have selected to cancel from logging in...";
    // Still need to plan what to do when user cancels out of logging in. For now, just initialize class attributes
    this.loginInit();
    protected void loginUAradioButton_CheckedChanged(object sender, EventArgs e)
    String msg = String.Empty;
    if (this.loginUAradioButton.Checked == true)
    this.loginAFradioButton.Checked = false;
    msg = "Thanks for specifying that you are a TUPSS Associate. ";
    if (this.loginUserNameTextBox.Text == String.Empty)
    msg += "Now please specify your username.";
    else if (this.loginPasswordTextBox.Text == String.Empty)
    msg += "Now please enter your password.";
    this.loginStatusInstructionTextBox.Text = msg;
    protected void loginAFradioButton_CheckedChanged(object sender, EventArgs e)
    String msg = String.Empty;
    if (this.loginAFradioButton.Checked == true)
    this.loginUAradioButton.Checked = false;
    msg = "Thanks for specifying that you are an Area Franchisee. ";
    if (this.loginUserNameTextBox.Text == String.Empty)
    msg += "Now please specify your username.";
    else if (this.loginPasswordTextBox.Text == String.Empty)
    msg += "Now please enter your password.";
    this.loginStatusInstructionTextBox.Text = msg;
    private void loginLADPauthenticate(char whichActiveDirectory)
    String msg = "Authenticating user '" + this.uName + "' with password '" + this.pWord + "' against ";
    if (whichActiveDirectory == 'U')
    msg += "UPS Corp's Active Directory...";
    else if (whichActiveDirectory == 'A')
    msg += "The UPS Store's Franchisee Active Directory...";
    msg += "\n\nNOTICE:\nThis is still under development.\n\nAt this point, this application is supposed to do something else now but is not yet ready.";
    this.loginStatusInstructionTextBox.Text = msg;
    this.loginStatusInstructionTextBox.AutoPostBack = true;
    // Authenticate using LDAP
    protected void loginStatusInstructionTextBox_TextChanged(object sender, EventArgs e)
    I confirmed that I have System.DirectoryServices.dll located in
    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\v4.0_4.0.0.0__b03f5f7f11d50a3a\ folder and that I as well as System have read as well as read&execute privileges
    not only to all folders in its path but also to the DLL file itself.
    I would appreciate any help in trying to resolve this compilation error so that I can proceed with implementing LDAP features for this endeavor.
    Thanks so much,
    hguico @ The UPS Store

    Hi,
    For web application problem, please post your thread in
    ASP.NET forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and
    makes it easier for other visitors to find the resolution later.

  • PL/SQL Procedure Compilation error

    Hi,
    <br><br>
    I have wrote a PL/SQL Stored Procedure to read a couple of table values and then output some data to a file, when I create the procedure on the database I get the following compilation error:
    <br><br>
    LINE/COL ERROR<br>
    -------- -----------------------------------------------------------------<br>
    25/7 PLS-00103: Encountered the symbol ")" when expecting one of the<br>
    following:<br>
    ( - + case mod new null <an identifier><br>
    <a double-quoted delimited-identifier> <a bind variable> avg<br>
    count current max min prior sql stddev sum variance execute<br>
    forall merge time timestamp interval date<br>
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe<br>
    The symbol "null" was substituted for ")" to continue.<br>
    <br>
    The script is below: <br><br>
    CREATE OR REPLACE <br>
         PROCEDURE TDF_EXTRACT AS<br>
    v_file UTL_FILE.FILE_TYPE;<br>
    YEAR number(4);<br>
    Q1_VALUE NUMBER(7);<br><br>
    BEGIN<br><br>
    SELECT PERSON_VALUE<br>
    INTO     Q1_VALUE<br>
    FROM PERSON<br>
    WHERE ID = 79;<br><br>
    SELECT EXTRACT(YEAR FROM SYSDATE)<br>
    INTO YEAR <br>
    FROM DUAL;<br><br>
    v_file := UTL_FILE.FOPEN(location => '/tmp',<br>
    filename => 'extratced_values.txt',<br>
    open_mode => 'W',<br>
    max_linesize => 32767);<br><br>
    UTL_FILE.PUT_LINE(v_file,<br>
    'Q1'     ||     YEAR     ||     '23'     ||     Q1_VALUE || '\r\n' ||<br>
              );<br><br>
    UTL_FILE.FCLOSE(v_file);<br><br>
    END TDF_EXTRACT;

    'Q1' || YEAR || '23' || Q1_VALUE || '\r\n' ||
    );Syntax error during concatenation, maybe?
    C.
    Message was edited by:
    cd

  • Can't Export Movie - Unknown Compile Error - Help!

    I edited a 32 minute movie in Premiere Elements 10, and now I'm trying to export it.  At some point during the export, and it seems to vary, I get an unknown compile error.  I've been trying to export the movie for the past week and all I get is failure despite trying just about everything I've found written about how to solve this.
    I have Win 7 Ultimate SP 1 running on a Lenovo desktop machine with an Intel Core 2 Quad CPU at 2.67 GHz, 4GB of RAM, 32 bit proc.
    Premiere is installed on system C drive with 6 GB of free space.
    Project and scrach disks are on D drive with 165 GB of free space.
    Media files are on 2nd E drive with 50GB of free space.
    Project and most source material is NTSC DV -- there are quite a few photos with motion, plus some iPhone HD video on the timeline, hundreds of clips in all plus narration, a few titles, etc.
    Export destination folder is on D drive.
    Everything will render to green lines atop timeline (sometimes it quits during render and I have to keep hitting Enter to continue rendering, but eventually it's all green)
    So far I've tried:
    - Reinstalling PE 10
    - Reinstalling Quicktime
    - Copying all the photos to their own separate folder
    - Editing each photo slightly (outside of PE 10) and resaving to make sure none of the photos are corrupted
    - Emptying the temp folder
    - Deleting all the renders and cache files and letting them rebuild
    - Exporting small pieces of the timeline to try to identify a bad clip -- this is a maddening process and I did find one clip that would generate the error, but I managed to export that to AVI and reimport and replace on timeline.  It would be awfully nice if PE would just TELL ME which clip it doesn't like if in fact it's a clip error.
    - Turning off the shadow / highlight feature I had on some clips, but this wasn't the issue, smaller sections with these clips exported fine
    - Tried exporting to various formats: Vimeo SD, MPEG DV Standard, iPad Standard High Quality, AVI -- all result in the same error (the format I want by the way is Vimeo SD)
    - Rebooting the machine and turning everything off that might possibly consume memory
    This machine has never had problems exporting in the past.  One thing I did try that worked -- installed PE 10 on another (less capable) Win 7 machine, and fed it all the media via an external drive.  The other machine did the export fine (though it took a while given it is underpowered).  This is nothing more than a work around though as I don't normally have access to this machine and I'm not done editing.
    I'm at my wits' end!  What else can I do to get this movie file to export?
    Appreciate any help or clues you can provide to solve this mystery.

    Oh, that is tragic!
    I never had any issues with mine. Maybe it knew how respectful I was, having come from manual rewinds and a sync block? The Moviola was a godsend, at least for me. I am glad that I got to edit film, and on many setups, as some of that translated well to digital Video. Back when I was in film school, Video was 2" tape, and the only editing was by cutting at a 45 degree angle, and splicing the tape. There was not even deck-to-deck editing, way back then. Also, Video looked like crap, at least to my eyes. We could only use a switcher, to "edit," or do a feed to air. Looked like crap!
    As for the Lexus, I can imagine all sorts of problems. My new LX-570 requires me to "Accept," when I put it into reverse, on the rear-view monitor! At least my wife's MB does not require that, but it is a 2011 model, so maybe the 2013 models will require that the user sign off on all sorts of "stuff."
    Now, I can play Finding Nemo, for my rear-seat passengers, while driving, but the front-seat passengers cannot see it, which is just fine. When driving, I am not even a fan of hands-free calls, and declined most of the streaming stock quotes, etc. for XM/Sirius radio. NOT while I am driving. I will save that for reading the WSJ in the club at the airport.
    Some years ago, our driver in London got a new BMW 7-series, and it allowed the playing of DVD's, even in the front, while driving. Not sure that I would want that, but such is life. At least his seats' ventilation system was "well-chilled," where ours' are just air. He almost froze my bum, showing off his new auto.
    Now, working with PS, or PrE in an auto, or even on a mobile device, is just not something that I can wrap my old head around. I want a fast computer, with a big display, and cannot imagine editing Images, or Video, on any handheld (or auto) device.
    Hunt

  • How can I read ALL the compilation errors in a DOS window?

    On compilation using a DOS window, if the number of errors exceeds the window size, some of the errors disappear off the top of the window and I cannot read them.
    Is there an effective solution to somehow use scrolling of the DOS window or transfer the compilation errors to a file?

    Hey buddy,
    When I first started programming with Java, I wondered the same thing. I have the very best solution for you. This one is waaay easy!!!!
    There is a text editor which will not only color code your text for you, but you can easily configure it to give you the compiler /DOS output for Java. Just go to this website and download the program. Enjoy!
    http://www.textpad.com/

Maybe you are looking for

  • How do I set up iCloud account in iCal?

    When I go into the iCal preferences to add a new account, enter my info and hit create, I get "Server With Secure Communication Unavailable"  No matter what settings I try it won't allow me to set up my calander on another device.  My calanders work

  • Question about "Native ISO" and Color Grading in PP

    I have a question about "Native ISO" in the real world and how it relates to color grading.  I was shooting 35mm film before all these digital cameras became flat-out amazing practically overnight.  Then the goal was always to shoot with the lowest I

  • Can't find fonts

    People have been telling me for years that "command-f" does not always work, and I always say, you're wrong, you mistyped what you're looking for. But I am now having problems using the command when searching for my fonts on my machine. It simply won

  • Font Problem - Blocky, black outlined type

    This just started happening after an archive and reinstall of Leopard on my system. I have tried every tip I could find online, I have removed all duplicate fonts, and my entire Font Book validates with no errors. I am at a loss! Here's some screen s

  • I have iMovie 08.  Should I buy imovies 11

    I am just starting to try to use imovie8 with absolutely no success, nothing works.  Should I buy iMovie 11? Or would that on,y create even more difficulties?