NYU ITP 4-in-4

Cinder…ugh

In what seemed to be a catalyst for Greg B’s post on what makes a programming language good, I ran into similar issues. After spending most of my day attempting to really understand what I was doing with Cinder and not just copying and pasting code here and there, I ran into a ridiculous roadblock. My code compiles. MY CODE…all the code I was putting together compiled. This was after finding some stray hashes and semi-colons. After I got my code clean, I compiled again and I wound up with errors in assert.h and stexcept. Both of which are not in MY code, but in the cinder code.

UPDATE: Upon further consideration…there’s nothing wrong with Cinder. It’s just not telling me what exactly is the problem with my code.

here…have some errors:

Build FFT of project FFT with configuration Debug

CompileC build/FFT.build/Debug/FFT.build/Objects-normal/i386/FFTApp.o ../src/FFTApp.cpp normal i386 c++ com.apple.compilers.gcc.4_2

cd "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode"

setenv LANG en_US.US-ASCII

/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.6.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-generated-files.hmap" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-own-target-headers.hmap" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-all-target-headers.hmap" -iquote "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-project-headers.hmap" "-F/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/Debug" -iquote../../../../cinder_master/include -iquote../include "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/Debug/include" -I../../../../cinder_master/boost "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/DerivedSources/i386" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/DerivedSources" -include /var/folders/iF/iFQAD1uqFJe7A-ddlymUp++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/FFT_Prefix-bjvzihvszmjwomfykhprfwxbhlpa/FFT_Prefix.pch -c "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/../src/FFTApp.cpp" -o "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/Objects-normal/i386/FFTApp.o"

In file included from /Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Emitter.h:14,

from /Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/../src/FFTApp.cpp:7:

../../../../cinder_master/include/cinder/gl/Texture.h:34: error: expected unqualified-id before 'namespace'

CompileC build/FFT.build/Debug/FFT.build/Objects-normal/i386/Particle.o Particle.cpp normal i386 c++ com.apple.compilers.gcc.4_2

cd "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode"

setenv LANG en_US.US-ASCII

/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.6.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-generated-files.hmap" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-own-target-headers.hmap" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-all-target-headers.hmap" -iquote "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-project-headers.hmap" "-F/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/Debug" -iquote../../../../cinder_master/include -iquote../include "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/Debug/include" -I../../../../cinder_master/boost "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/DerivedSources/i386" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/DerivedSources" -include /var/folders/iF/iFQAD1uqFJe7A-ddlymUp++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/FFT_Prefix-bjvzihvszmjwomfykhprfwxbhlpa/FFT_Prefix.pch -c "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Particle.cpp" -o "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/Objects-normal/i386/Particle.o"

In file included from /Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cassert:49,

from ../../../../cinder_master/boost/boost/random/linear_congruential.hpp:20,

from ../../../../cinder_master/boost/boost/random.hpp:36,

from ../../../../cinder_master/include/cinder/Rand.h:25,

from /Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Particle.cpp:11:

/Developer/SDKs/MacOSX10.6.sdk/usr/include/assert.h:75: error: expected unqualified-id before string constant

CompileC build/FFT.build/Debug/FFT.build/Objects-normal/i386/Emitter.o Emitter.cpp normal i386 c++ com.apple.compilers.gcc.4_2

cd "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode"

setenv LANG en_US.US-ASCII

/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.6.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-generated-files.hmap" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-own-target-headers.hmap" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-all-target-headers.hmap" -iquote "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/FFT-project-headers.hmap" "-F/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/Debug" -iquote../../../../cinder_master/include -iquote../include "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/Debug/include" -I../../../../cinder_master/boost "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/DerivedSources/i386" "-I/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/DerivedSources" -include /var/folders/iF/iFQAD1uqFJe7A-ddlymUp++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/FFT_Prefix-bjvzihvszmjwomfykhprfwxbhlpa/FFT_Prefix.pch -c "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Emitter.cpp" -o "/Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/build/FFT.build/Debug/FFT.build/Objects-normal/i386/Emitter.o"

In file included from ../../../../cinder_master/include/cinder/Color.h:26,

from /Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Emitter.h:13,

from /Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Emitter.cpp:10:

../../../../cinder_master/include/cinder/ChanTraits.h:29: error: expected unqualified-id before 'namespace'

In file included from ../../../../cinder_master/boost/boost/rational.hpp:59,

from ../../../../cinder_master/include/cinder/Area.h:30,

from ../../../../cinder_master/include/cinder/Rect.h:26,

from ../../../../cinder_master/include/cinder/gl/gl.h:41,

from ../../../../cinder_master/include/cinder/gl/Texture.h:26,

from /Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Emitter.h:14,

from /Users/michaelcohen/Documents/Cinder Projects/FFT/xcode/Emitter.cpp:10:

/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/stdexcept:47: error: expected declaration before end of line

If anyone has ideas, lemme know. I’m pretty much at a complete impasse.

January 19th, 2011


Leave a Comment

Required

Required, hidden

Trackback this post  |  Subscribe to the comments via RSS Feed

Daily Posts

  • Day 1
  • Day 2
  • Day 3
  • Day 4
  • Day 5
  • feed

    Search


    type and hit 'enter'