Transcript

Last login: Fri Sep 14 11:57:16 on ttys000saidas-MacBook-Pro:~ fiddu$ portMacPorts 2.1.2Entering interactive mode... ("help" for help, "quit" to quit)[Users/fiddu] > exitGoodbyesaidas-MacBook-Pro:~ fiddu$ sudo port -v selfupdate---> Updating MacPorts base sources using rsyncreceiving file list ... done

sent 36 bytes received 69 bytes 70.00 bytes/sectotal size is 3543040 speedup is 33743.24receiving file list ... done

sent 36 bytes received 76 bytes 74.67 bytes/sectotal size is 512 speedup is 4.57MacPorts base version 2.1.2 installed,MacPorts base version 2.1.2 downloaded.---> Updating the ports treeSynchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tarreceiving file list ... done

sent 36 bytes received 70 bytes 70.67 bytes/sectotal size is 54108160 speedup is 510454.34receiving file list ... done

sent 36 bytes received 77 bytes 226.00 bytes/sectotal size is 512 speedup is 4.53Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports

Total number of ports parsed:0 Ports successfully parsed:0 Ports failed:0 Up-to-date ports skipped:15700

---> MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdatedsaidas-MacBook-Pro:~ fiddu$ port install cmakeError: Insufficient privileges to write to MacPorts install prefix.saidas-MacBook-Pro:~ fiddu$ sudo port install cmake---> Computing dependencies for cmake---> Dependencies to be installed: libidn gettext expat libiconv gperf ncurses openssl zlib---> Fetching archive for expat---> Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/expat---> Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/expat---> Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat---> Fetching distfiles for expat---> Attempting to fetch expat-2.1.0.tar.gz from http://downloads.sourceforge.net/project/expat/expat/2.1.0---> Verifying checksum(s) for expat---> Extracting expat---> Configuring expat---> Building expat---> Staging expat into destroot---> Installing expat @2.1.0_0---> Activating expat @2.1.0_0---> Cleaning expat---> Fetching archive for gperf---> Attempting to fetch gperf-3.0.4_2.darwin_12.x86_64.tbz2 from http://packages.macports.org/gperf---> Attempting to fetch gperf-3.0.4_2.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gperf---> Attempting to fetch gperf-3.0.4_2.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gperf---> Fetching distfiles for gperf---> Attempting to fetch gperf-3.0.4.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/gperf---> Verifying checksum(s) for gperf---> Extracting gperf---> Applying patches to gperf---> Configuring gperf---> Building gperf---> Staging gperf into destroot---> Installing gperf @3.0.4_2---> Activating gperf @3.0.4_2---> Cleaning gperf---> Fetching archive for libiconv---> Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/libiconv---> Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/libiconv---> Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libiconv---> Fetching distfiles for libiconv---> Attempting to fetch libiconv-1.14.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/libiconv---> Verifying checksum(s) for libiconv---> Extracting libiconv---> Applying patches to libiconv---> Configuring libiconv---> Building libiconv---> Staging libiconv into destroot---> Installing libiconv @1.14_0---> Activating libiconv @1.14_0---> Cleaning libiconv---> Fetching archive for ncurses---> Attempting to fetch ncurses-5.9_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/ncurses---> Attempting to fetch ncurses-5.9_1.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/ncurses---> Attempting to fetch ncurses-5.9_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ncurses---> Fetching distfiles for ncurses---> Attempting to fetch ncurses-5.9.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/ncurses---> Verifying checksum(s) for ncurses---> Extracting ncurses---> Applying patches to ncurses---> Configuring ncurses---> Building ncurses---> Staging ncurses into destroot---> Installing ncurses @5.9_1---> Activating ncurses @5.9_1---> Cleaning ncurses---> Fetching archive for gettext---> Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from http://packages.macports.org/gettext---> Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gettext---> Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext---> Fetching distfiles for gettext---> Attempting to fetch gettext-0.18.1.1.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/gettext---> Verifying checksum(s) for gettext---> Extracting gettext---> Applying patches to gettext---> Configuring gettext---> Building gettext---> Staging gettext into destroot---> Installing gettext @0.18.1.1_2---> Activating gettext @0.18.1.1_2---> Cleaning gettext---> Fetching archive for libidn---> Attempting to fetch libidn-1.25_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/libidn---> Attempting to fetch libidn-1.25_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/libidn---> Attempting to fetch libidn-1.25_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libidn---> Fetching distfiles for libidn---> Attempting to fetch libidn-1.25.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/libidn---> Verifying checksum(s) for libidn---> Extracting libidn---> Configuring libidn---> Building libidn---> Staging libidn into destroot---> Installing libidn @1.25_0---> Activating libidn @1.25_0---> Cleaning libidn---> Fetching archive for zlib---> Attempting to fetch zlib-1.2.7_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/zlib---> Attempting to fetch zlib-1.2.7_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/zlib---> Attempting to fetch zlib-1.2.7_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/zlib---> Fetching distfiles for zlib---> Attempting to fetch zlib-1.2.7.tar.bz2 from http://www.zlib.net/---> Verifying checksum(s) for zlib---> Extracting zlib---> Configuring zlib---> Building zlib---> Staging zlib into destroot---> Installing zlib @1.2.7_0---> Activating zlib @1.2.7_0---> Cleaning zlib---> Fetching archive for openssl---> Attempting to fetch openssl-1.0.1c_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/openssl---> Attempting to fetch openssl-1.0.1c_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/openssl---> Attempting to fetch openssl-1.0.1c_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/openssl---> Fetching distfiles for openssl---> Attempting to fetch openssl-1.0.1c.tar.gz from http://www.openssl.org/source/---> Verifying checksum(s) for openssl---> Extracting openssl---> Applying patches to openssl---> Configuring openssl---> Building openssl---> Staging openssl into destroot---> Installing openssl @1.0.1c_0---> Activating openssl @1.0.1c_0---> Cleaning openssl---> Fetching archive for cmake---> Attempting to fetch cmake-2.8.9_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/cmake---> Attempting to fetch cmake-2.8.9_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/cmake---> Attempting to fetch cmake-2.8.9_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cmake---> Fetching distfiles for cmake---> Attempting to fetch cmake-2.8.9.tar.gz from http://www.cmake.org/files/v2.8/---> Verifying checksum(s) for cmake---> Extracting cmake---> Applying patches to cmake---> Configuring cmake---> Building cmake---> Staging cmake into destroot---> Installing cmake @2.8.9_0---> Activating cmake @2.8.9_0---> Cleaning cmake---> Updating database of binaries: 100.0%---> Scanning binaries for linking errors: 100.0%---> No broken files found.saidas-MacBook-Pro:~ fiddu$ gcci686-apple-darwin11-llvm-gcc-4.2: no input filessaidas-MacBook-Pro:~ fiddu$ lsDesktopDownloadsMoviesPicturesDocumentsLibraryMusicPublicsaidas-MacBook-Pro:~ fiddu$ cd Documentssaidas-MacBook-Pro:Documents fiddu$ cd..-bash: cd..: command not foundsaidas-MacBook-Pro:Documents fiddu$ cd../-bash: cd../: No such file or directorysaidas-MacBook-Pro:Documents fiddu$ Last login: Fri Sep 14 12:23:40 on consolesaidas-MacBook-Pro:Documents fiddu$ lsCG programsangel_codeCourse_Powerpointsangel_code 2saidas-MacBook-Pro:Documents fiddu$ cd angel_codesaidas-MacBook-Pro:angel_code fiddu$ lsAPPENDIX_A_EXAMPLESCHAPTER09_CODEbinCHAPTER02_CODECHAPTER10_CODEbuildCHAPTER03_CODECMakehomework1CHAPTER04_CODECMakeLists.txtincludeCHAPTER05_CODECommonlibCHAPTER07_CODEEXTRASshadersCHAPTER08_CODEREADMEsaidas-MacBook-Pro:angel_code fiddu$ cd CHAPTER02_CODEsaidas-MacBook-Pro:CHAPTER02_CODE fiddu$ lsCMakeLists.txtMAC_VERSIONSWINDOWS_VERSIONSGENERAL_VERSIONSREADMEsaidas-MacBook-Pro:CHAPTER02_CODE fiddu$ cd MAC_VERSIONSsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ lsCMakeLists.txtexample2.5.cppvshader21.glslexample2.1.cppfshader21.glslvshader22.glslexample2.1.orig.cppfshader22.glslvshader23.glslexample2.2.cppfshader23.glslvshader24.glslexample2.3.cppfshader24.glslvshader24b.glslexample2.4.cppfshader24b.glslvshader25.glslexample2.4b.cppfshader25.glslsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cmake..-bash: cmake..: command not foundsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cmake ..-- The C compiler identification is GNU 4.2.1-- The CXX compiler identification is Clang 4.0.0-- Checking whether C compiler has -isysroot-- Checking whether C compiler has -isysroot - yes-- Checking whether C compiler supports OSX deployment target flag-- Checking whether C compiler supports OSX deployment target flag - yes-- Check for working C compiler: /usr/bin/gcc-- Check for working C compiler: /usr/bin/gcc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working CXX compiler: /usr/bin/c++-- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - doneCMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000".This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done-- Generating done-- Build files have been written to: /Users/fiddu/Documents/angel_code/CHAPTER02_CODE/MAC_VERSIONSsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ lsCMakeCache.txtexample2.3.cppfshader25.glslCMakeFilesexample2.4.cppvshader21.glslCMakeLists.txtexample2.4b.cppvshader22.glslGENERAL_VERSIONSexample2.5.cppvshader23.glslMakefilefshader21.glslvshader24.glslcmake_install.cmakefshader22.glslvshader24b.glslexample2.1.cppfshader23.glslvshader25.glslexample2.1.orig.cppfshader24.glslexample2.2.cppfshader24b.glslsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ build example2.1.cpp-bash: build: command not foundsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cd build-bash: cd: build: No such file or directorysaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cmake ..CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000".This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done-- Generating done-- Build files have been written to: /Users/fiddu/Documents/angel_code/CHAPTER02_CODE/MAC_VERSIONSsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ makesaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cmakecmake version 2.8.9Usage

cmake [options] cmake [options]

Options -C = Pre-load a script to populate the cache. -D := = Create a cmake cache entry. -U = Remove matching entries from CMake cache. -G = Specify a makefile generator. -Wno-dev = Suppress developer warnings. -Wdev = Enable developer warnings. -E = CMake command mode. -i = Run in wizard mode. -L[A][H] = List non-advanced cached variables. --build = Build a CMake-generated project binary tree. -N = View mode only. -P = Process script mode. --find-package = Run in pkg-config like mode. --graphviz=[file] = Generate graphviz of dependencies. --system-information [file] = Dump information about this system. --debug-trycompile = Do not delete the try_compile build tree. Only useful on one try_compile at a time. --debug-output = Put cmake in a debug mode. --trace = Put cmake in trace mode. --warn-uninitialized = Warn about uninitialized values. --warn-unused-vars = Warn about unused variables. --no-warn-unused-cli = Don't warn about command line options. --check-system-vars = Find problems with variable usage in system files. --help-command cmd [file] = Print help for a single command and exit. --help-command-list [file] = List available listfile commands and exit. --help-commands [file] = Print help for all commands and exit. --help-compatcommands [file]= Print help for compatibility commands. --help-module module [file] = Print help for a single module and exit. --help-module-list [file] = List available modules and exit. --help-modules [file] = Print help for all modules and exit. --help-custom-modules [file]= Print help for all custom modules and exit. --help-policy cmp [file] = Print help for a single policy and exit. --help-policies [file] = Print help for all policies and exit. --help-property prop [file] = Print help for a single property and exit. --help-property-list [file] = List available properties and exit. --help-properties [file] = Print help for all properties and exit. --help-variable var [file] = Print help for a single variable and exit. --help-variable-list [file] = List documented variables and exit. --help-variables [file] = Print help for all variables and exit. --copyright [file] = Print the CMake copyright and exit. --help,-help,-usage,-h,-H,/?= Print usage information and exit. --help-full [file] = Print full help and exit. --help-html [file] = Print full help in HTML format. --help-man [file] = Print full help as a UNIX man page and exit. --version,-version,/V [file]= Show program name/version banner and exit.

Generators

The following generators are available on this platform: Ninja = Generates build.ninja files (experimental). Unix Makefiles = Generates standard UNIX makefiles. Xcode = Generate Xcode project files. CodeBlocks - Ninja = Generates CodeBlocks project files. CodeBlocks - Unix Makefiles = Generates CodeBlocks project files. Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files. Eclipse CDT4 - Unix Makefiles = Generates Eclipse CDT 4.0 project files. KDevelop3 = Generates KDevelop 3 project files. KDevelop3 - Unix Makefiles = Generates KDevelop 3 project files.

saidas-MacBook-Pro:MAC_VERSIONS fiddu$ camke ..-bash: camke: command not foundsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cmake ..CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000".This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done-- Generating done-- Build files have been written to: /Users/fiddu/Documents/angel_code/CHAPTER02_CODE/MAC_VERSIONSsaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cd../-bash: cd../: No such file or directorysaidas-MacBook-Pro:MAC_VERSIONS fiddu$ cd ..saidas-MacBook-Pro:CHAPTER02_CODE fiddu$ cd ..saidas-MacBook-Pro:angel_code fiddu$ mkdir buildmkdir: build: File existssaidas-MacBook-Pro:angel_code fiddu$ cd buildsaidas-MacBook-Pro:build fiddu$ lssaidas-MacBook-Pro:build fiddu$ cmake ..-- The C compiler identification is GNU 4.2.1-- The CXX compiler identification is Clang 4.0.0-- Checking whether C compiler has -isysroot-- Checking whether C compiler has -isysroot - yes-- Checking whether C compiler supports OSX deployment target flag-- Checking whether C compiler supports OSX deployment target flag - yes-- Check for working C compiler: /usr/bin/gcc-- Check for working C compiler: /usr/bin/gcc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working CXX compiler: /usr/bin/c++-- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework -- Found GLUT: -framework GLUT -- All graphics subsystems needed are present? TRUE-- Using include: ./include/System/Library/Frameworks/OpenGL.framework/System/Library/Frameworks/GLUT.framework/HeadersCMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.1" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.2" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.3" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4b" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.5" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.5" which is not built in this directory.

-- Configuring incomplete, errors occurred!saidas-MacBook-Pro:build fiddu$ cmake ..-- All graphics subsystems needed are present? TRUE-- Using include: ./include/System/Library/Frameworks/OpenGL.framework/System/Library/Frameworks/GLUT.framework/HeadersCMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.1" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.2" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.3" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4b" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.5" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.5" which is not built in this directory.

-- Configuring incomplete, errors occurred!saidas-MacBook-Pro:build fiddu$ lsAPPENDIX_A_EXAMPLESCHAPTER05_CODECHAPTER10_CODECHAPTER02_CODECHAPTER07_CODECMakeCache.txtCHAPTER03_CODECHAPTER08_CODECMakeFilesCHAPTER04_CODECHAPTER09_CODEhomework1saidas-MacBook-Pro:build fiddu$ cd ..saidas-MacBook-Pro:angel_code fiddu$ cd ..saidas-MacBook-Pro:Documents fiddu$ cd ..saidas-MacBook-Pro:~ fiddu$ cd Documentssaidas-MacBook-Pro:Documents fiddu$ lsCG programsangel_codeCourse_Powerpointsangel_code 2saidas-MacBook-Pro:Documents fiddu$ angel_code-bash: angel_code: command not foundsaidas-MacBook-Pro:Documents fiddu$ lsCG programsangel_codeCourse_Powerpointsangel_code 2saidas-MacBook-Pro:Documents fiddu$ cd angel_codesaidas-MacBook-Pro:angel_code fiddu$ cd buildsaidas-MacBook-Pro:build fiddu$ cmake ..-- All graphics subsystems needed are present? TRUE-- Using include: ./include/System/Library/Frameworks/OpenGL.framework/System/Library/Frameworks/GLUT.framework/HeadersCMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.1" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.2" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.3" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4b" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.5" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.5" which is not built in this directory.

-- Configuring incomplete, errors occurred!saidas-MacBook-Pro:build fiddu$ cmake ..-- The C compiler identification is GNU 4.2.1-- The CXX compiler identification is Clang 4.0.0-- Checking whether C compiler has -isysroot-- Checking whether C compiler has -isysroot - yes-- Checking whether C compiler supports OSX deployment target flag-- Checking whether C compiler supports OSX deployment target flag - yes-- Check for working C compiler: /usr/bin/gcc-- Check for working C compiler: /usr/bin/gcc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working CXX compiler: /usr/bin/c++-- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework -- Found GLUT: -framework GLUT -- All graphics subsystems needed are present? TRUE-- Using include: ./include/System/Library/Frameworks/OpenGL.framework/System/Library/Frameworks/GLUT.framework/HeadersCMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.1" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.2" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.3" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4b" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.5" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.5" which is not built in this directory.

-- Configuring incomplete, errors occurred!saidas-MacBook-Pro:build fiddu$ cmakecmake version 2.8.9Usage

cmake [options] cmake [options]

Options -C = Pre-load a script to populate the cache. -D := = Create a cmake cache entry. -U = Remove matching entries from CMake cache. -G = Specify a makefile generator. -Wno-dev = Suppress developer warnings. -Wdev = Enable developer warnings. -E = CMake command mode. -i = Run in wizard mode. -L[A][H] = List non-advanced cached variables. --build = Build a CMake-generated project binary tree. -N = View mode only. -P = Process script mode. --find-package = Run in pkg-config like mode. --graphviz=[file] = Generate graphviz of dependencies. --system-information [file] = Dump information about this system. --debug-trycompile = Do not delete the try_compile build tree. Only useful on one try_compile at a time. --debug-output = Put cmake in a debug mode. --trace = Put cmake in trace mode. --warn-uninitialized = Warn about uninitialized values. --warn-unused-vars = Warn about unused variables. --no-warn-unused-cli = Don't warn about command line options. --check-system-vars = Find problems with variable usage in system files. --help-command cmd [file] = Print help for a single command and exit. --help-command-list [file] = List available listfile commands and exit. --help-commands [file] = Print help for all commands and exit. --help-compatcommands [file]= Print help for compatibility commands. --help-module module [file] = Print help for a single module and exit. --help-module-list [file] = List available modules and exit. --help-modules [file] = Print help for all modules and exit. --help-custom-modules [file]= Print help for all custom modules and exit. --help-policy cmp [file] = Print help for a single policy and exit. --help-policies [file] = Print help for all policies and exit. --help-property prop [file] = Print help for a single property and exit. --help-property-list [file] = List available properties and exit. --help-properties [file] = Print help for all properties and exit. --help-variable var [file] = Print help for a single variable and exit. --help-variable-list [file] = List documented variables and exit. --help-variables [file] = Print help for all variables and exit. --copyright [file] = Print the CMake copyright and exit. --help,-help,-usage,-h,-H,/?= Print usage information and exit. --help-full [file] = Print full help and exit. --help-html [file] = Print full help in HTML format. --help-man [file] = Print full help as a UNIX man page and exit. --version,-version,/V [file]= Show program name/version banner and exit.

Generators

The following generators are available on this platform: Ninja = Generates build.ninja files (experimental). Unix Makefiles = Generates standard UNIX makefiles. Xcode = Generate Xcode project files. CodeBlocks - Ninja = Generates CodeBlocks project files. CodeBlocks - Unix Makefiles = Generates CodeBlocks project files. Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files. Eclipse CDT4 - Unix Makefiles = Generates Eclipse CDT 4.0 project files. KDevelop3 = Generates KDevelop 3 project files. KDevelop3 - Unix Makefiles = Generates KDevelop 3 project files.

saidas-MacBook-Pro:build fiddu$ apt-get install cmake-bash: apt-get: command not foundsaidas-MacBook-Pro:build fiddu$ apt-get-bash: apt-get: command not foundsaidas-MacBook-Pro:build fiddu$ apt-get install cmake-bash: apt-get: command not foundsaidas-MacBook-Pro:build fiddu$ apt-get install cmake-bash: apt-get: command not foundsaidas-MacBook-Pro:build fiddu$ helpGNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)These shell commands are defined internally. Type `help' to see this list.Type `help name' to find out more about the function `name'.Use `info bash' to find out more about the shell in general.Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

JOB_SPEC [&] (( expression )) . filename [arguments] : [ arg... ] [[ expression ]] alias [-p] [name[=value] ... ] bg [job_spec ...] bind [-lpvsPVS] [-m keymap] [-f fi break [n] builtin [shell-builtin [arg ...]] caller [EXPR] case WORD in [PATTERN [| PATTERN]. cd [-L|-P] [dir] command [-pVv] command [arg ...] compgen [-abcdefgjksuv] [-o option complete [-abcdefgjksuv] [-pr] [-o continue [n] declare [-afFirtx] [-p] [name[=val dirs [-clpv] [+N] [-N] disown [-h] [-ar] [jobspec ...] echo [-neE] [arg ...] enable [-pnds] [-a] [-f filename] eval [arg ...] exec [-cl] [-a name] file [redirec exit [n] export [-nf] [name[=value] ...] or false fc [-e ename] [-nlr] [first] [last fg [job_spec] for NAME [in WORDS ... ;] do COMMA for (( exp1; exp2; exp3 )); do COM function NAME { COMMANDS ; } or NA getopts optstring name [arg] hash [-lr] [-p pathname] [-dt] [na help [-s] [pattern ...] history [-c] [-d offset] [n] or hi if COMMANDS; then COMMANDS; [ elif jobs [-lnprs] [jobspec ...] or job kill [-s sigspec | -n signum | -si let arg [arg ...] local name[=value] ... logout popd [+N | -N] [-n] printf [-v var] format [arguments] pushd [dir | +N | -N] [-n] pwd [-LP] read [-ers] [-u fd] [-t timeout] [ readonly [-af] [name[=value] ...] return [n] select NAME [in WORDS ... ;] do CO set [--abefhkmnptuvxBCHP] [-o opti shift [n] shopt [-pqsu] [-o long-option] opt source filename [arguments] suspend [-f] test [expr] time [-p] PIPELINE times trap [-lp] [arg signal_spec ...] true type [-afptP] name [name ...] typeset [-afFirtx] [-p] name[=valu ulimit [-SHacdfilmnpqstuvx] [limit umask [-p] [-S] [mode] unalias [-a] name [name ...] unset [-f] [-v] [name ...] until COMMANDS; do COMMANDS; done variables - Some variable names an wait [n] while COMMANDS; do COMMANDS; done { COMMANDS ; }saidas-MacBook-Pro:build fiddu$ cmake ..-- All graphics subsystems needed are present? TRUE-- Using include: ./include/System/Library/Frameworks/OpenGL.framework/System/Library/Frameworks/GLUT.framework/HeadersCMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.1" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.2" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.3" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4b" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.5" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.5" which is not built in this directory.

-- Configuring incomplete, errors occurred!saidas-MacBook-Pro:build fiddu$ opengl-bash: opengl: command not foundsaidas-MacBook-Pro:build fiddu$ opengl -v-bash: opengl: command not foundsaidas-MacBook-Pro:build fiddu$ glxinfo-bash: glxinfo: command not foundsaidas-MacBook-Pro:build fiddu$ lsAPPENDIX_A_EXAMPLESCHAPTER05_CODECHAPTER10_CODECHAPTER02_CODECHAPTER07_CODECMakeCache.txtCHAPTER03_CODECHAPTER08_CODECMakeFilesCHAPTER04_CODECHAPTER09_CODEhomework1saidas-MacBook-Pro:build fiddu$ lsAPPENDIX_A_EXAMPLESCHAPTER05_CODECHAPTER10_CODECHAPTER02_CODECHAPTER07_CODECMakeCache.txtCHAPTER03_CODECHAPTER08_CODECMakeFilesCHAPTER04_CODECHAPTER09_CODEhomework1saidas-MacBook-Pro:build fiddu$ cd ..saidas-MacBook-Pro:angel_code fiddu$ lsAPPENDIX_A_EXAMPLESCHAPTER09_CODEbinCHAPTER02_CODECHAPTER10_CODEbuildCHAPTER03_CODECMakehomework1CHAPTER04_CODECMakeLists.txtincludeCHAPTER05_CODECommonlibCHAPTER07_CODEEXTRASshadersCHAPTER08_CODEREADMEsaidas-MacBook-Pro:angel_code fiddu$ cd build/saidas-MacBook-Pro:build fiddu$ cmake ..-- All graphics subsystems needed are present? TRUE-- Using include: ./include/System/Library/Frameworks/OpenGL.framework/System/Library/Frameworks/GLUT.framework/HeadersCMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.1" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.2" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.3" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4b" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.5" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.5" which is not built in this directory.

-- Configuring incomplete, errors occurred!saidas-MacBook-Pro:build fiddu$ cd ..saidas-MacBook-Pro:angel_code fiddu$ rm -fr build/saidas-MacBook-Pro:angel_code fiddu$ mkdir buildsaidas-MacBook-Pro:angel_code fiddu$ cd build/saidas-MacBook-Pro:build fiddu$ lssaidas-MacBook-Pro:build fiddu$ cmake ..-- The C compiler identification is GNU 4.2.1-- The CXX compiler identification is Clang 4.0.0-- Checking whether C compiler has -isysroot-- Checking whether C compiler has -isysroot - yes-- Checking whether C compiler supports OSX deployment target flag-- Checking whether C compiler supports OSX deployment target flag - yes-- Check for working C compiler: /usr/bin/gcc-- Check for working C compiler: /usr/bin/gcc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working CXX compiler: /usr/bin/c++-- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework -- Found GLUT: -framework GLUT -- All graphics subsystems needed are present? TRUE-- Using include: ./include/System/Library/Frameworks/OpenGL.framework/System/Library/Frameworks/GLUT.framework/HeadersCMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.1" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.1" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.2" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.2" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.3" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.3" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.4b" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/AGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System/Library/Frameworks/OpenGL.framework" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework GLUT" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "-framework Cocoa" to target "example2.4b" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:14 (add_executable): add_executable cannot create target "example2.5" because another target with the same name already exists. The existing target is an executable created in source directory "/Users/fiddu/Documents/angel_code/CHAPTER02_CODE/GENERAL_VERSIONS". See documentation for policy CMP0002 for more details.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "angel_common" to target "example2.5" which is not built in this directory.

CMake Error at homework1/GENERAL_VERSIONS/CMakeLists.txt:15 (target_link_libraries): Attempt to add link library "/System


Top Related