Вы находитесь на странице: 1из 108

Last login: Fri Sep 14 11:57:16 on ttys000

saidas-MacBook-Pro:~ fiddu$ port


MacPorts 2.1.2
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/fiddu] > exit
Goodbye
saidas-MacBook-Pro:~ fiddu$ sudo port -v selfupdate
---> Updating MacPorts base sources using rsync
receiving file list ... done
sent 36 bytes received 69 bytes 70.00 bytes/sec
total size is 3543040 speedup is 33743.24
receiving file list ... done
sent 36 bytes received 76 bytes 74.67 bytes/sec
total size is 512 speedup is 4.57
MacPorts base version 2.1.2 installed,
MacPorts base version 2.1.2 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
sent 36 bytes received 70 bytes 70.67 bytes/sec
total size is 54108160 speedup is 510454.34
receiving file list ... done
sent 36 bytes received 77 bytes 226.00 bytes/sec
total size is 512 speedup is 4.53
Creating 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 outdated
saidas-MacBook-Pro:~ fiddu$ port install cmake
Error: 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$ gcc
i686-apple-darwin11-llvm-gcc-4.2: no input files
saidas-MacBook-Pro:~ fiddu$ ls
Desktop Downloads Movies Pictures
Documents Library Music Public
saidas-MacBook-Pro:~ fiddu$ cd Documents
saidas-MacBook-Pro:Documents fiddu$ cd..
-bash: cd..: command not found
saidas-MacBook-Pro:Documents fiddu$ cd../
-bash: cd../: No such file or directory
saidas-MacBook-Pro:Documents fiddu$
Last login: Fri Sep 14 12:23:40 on console
saidas-MacBook-Pro:Documents fiddu$ ls
CG programs angel_code
Course_Powerpoints angel_code 2
saidas-MacBook-Pro:Documents fiddu$ cd angel_code
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ cd CHAPTER02_CODE
saidas-MacBook-Pro:CHAPTER02_CODE fiddu$ ls
CMakeLists.txt MAC_VERSIONS WINDOWS_VERSIONS
GENERAL_VERSIONS README
saidas-MacBook-Pro:CHAPTER02_CODE fiddu$ cd MAC_VERSIONS
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ ls
CMakeLists.txt example2.5.cpp vshader21.glsl
example2.1.cpp fshader21.glsl vshader22.glsl
example2.1.orig.cpp fshader22.glsl vshader23.glsl
example2.2.cpp fshader23.glsl vshader24.glsl
example2.3.cpp fshader24.glsl vshader24b.glsl
example2.4.cpp fshader24b.glsl vshader25.glsl
example2.4b.cpp fshader25.glsl
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ cmake..
-bash: cmake..: command not found
saidas-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 - done
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_VERSIONS
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ ls
CMakeCache.txt example2.3.cpp fshader25.glsl
CMakeFiles example2.4.cpp vshader21.glsl
CMakeLists.txt example2.4b.cpp vshader22.glsl
GENERAL_VERSIONS example2.5.cpp vshader23.glsl
Makefile fshader21.glsl vshader24.glsl
cmake_install.cmake fshader22.glsl vshader24b.glsl
example2.1.cpp fshader23.glsl vshader25.glsl
example2.1.orig.cpp fshader24.glsl
example2.2.cpp fshader24b.glsl
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ build example2.1.cpp
-bash: build: command not found
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ cd build
-bash: cd: build: No such file or directory
saidas-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_VERSIONS
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ make
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ cmake
cmake version 2.8.9
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
Options
-C <initial-cache> = Pre-load a script to populate the cache.
-D <var>:<type>=<value> = Create a cmake cache entry.
-U <globbing_expr> = Remove matching entries from CMake cache.
-G <generator-name> = 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 <dir> = Build a CMake-generated project binary tree.
-N = View mode only.
-P <file> = 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 found
saidas-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_VERSIONS
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ cd../
-bash: cd../: No such file or directory
saidas-MacBook-Pro:MAC_VERSIONS fiddu$ cd ..
saidas-MacBook-Pro:CHAPTER02_CODE fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ mkdir build
mkdir: build: File exists
saidas-MacBook-Pro:angel_code fiddu$ cd build
saidas-MacBook-Pro:build fiddu$ ls
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/Headers
CMake 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/Headers
CMake 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$ ls
APPENDIX_A_EXAMPLES CHAPTER05_CODE
CHAPTER10_CODE
CHAPTER02_CODE CHAPTER07_CODE CMakeCache.txt
CHAPTER03_CODE CHAPTER08_CODE CMakeFiles
CHAPTER04_CODE CHAPTER09_CODE homework1
saidas-MacBook-Pro:build fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ cd ..
saidas-MacBook-Pro:Documents fiddu$ cd ..
saidas-MacBook-Pro:~ fiddu$ cd Documents
saidas-MacBook-Pro:Documents fiddu$ ls
CG programs angel_code
Course_Powerpoints angel_code 2
saidas-MacBook-Pro:Documents fiddu$ angel_code
-bash: angel_code: command not found
saidas-MacBook-Pro:Documents fiddu$ ls
CG programs angel_code
Course_Powerpoints angel_code 2
saidas-MacBook-Pro:Documents fiddu$ cd angel_code
saidas-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/Headers
CMake 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/Headers
CMake 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
cmake version 2.8.9
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
Options
-C <initial-cache> = Pre-load a script to populate the cache.
-D <var>:<type>=<value> = Create a cmake cache entry.
-U <globbing_expr> = Remove matching entries from CMake cache.
-G <generator-name> = 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 <dir> = Build a CMake-generated project binary tree.
-N = View mode only.
-P <file> = 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 found
saidas-MacBook-Pro:build fiddu$ apt-get
-bash: apt-get: command not found
saidas-MacBook-Pro:build fiddu$ apt-get install cmake
-bash: apt-get: command not found
saidas-MacBook-Pro:build fiddu$ apt-get install cmake
-bash: apt-get: command not found
saidas-MacBook-Pro:build fiddu$ help
GNU 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/Headers
CMake 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 found
saidas-MacBook-Pro:build fiddu$ opengl -v
-bash: opengl: command not found
saidas-MacBook-Pro:build fiddu$ glxinfo
-bash: glxinfo: command not found
saidas-MacBook-Pro:build fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER05_CODE
CHAPTER10_CODE
CHAPTER02_CODE CHAPTER07_CODE CMakeCache.txt
CHAPTER03_CODE CHAPTER08_CODE CMakeFiles
CHAPTER04_CODE CHAPTER09_CODE homework1
saidas-MacBook-Pro:build fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER05_CODE
CHAPTER10_CODE
CHAPTER02_CODE CHAPTER07_CODE CMakeCache.txt
CHAPTER03_CODE CHAPTER08_CODE CMakeFiles
CHAPTER04_CODE CHAPTER09_CODE homework1
saidas-MacBook-Pro:build fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-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/Headers
CMake 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 build
saidas-MacBook-Pro:angel_code fiddu$ cd build/
saidas-MacBook-Pro:build fiddu$ ls
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/Headers
CMake 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$ ls
APPENDIX_A_EXAMPLES CHAPTER05_CODE
CHAPTER10_CODE
CHAPTER02_CODE CHAPTER07_CODE CMakeCache.txt
CHAPTER03_CODE CHAPTER08_CODE CMakeFiles
CHAPTER04_CODE CHAPTER09_CODE homework1
saidas-MacBook-Pro:build fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ cd homework1/
saidas-MacBook-Pro:homework1 fiddu$ ls
CMakeLists.txt MAC_VERSIONS WINDOWS_VERSIONS
GENERAL_VERSIONS README
saidas-MacBook-Pro:homework1 fiddu$ vi CMakeLists.txt
saidas-MacBook-Pro:homework1 fiddu$ vi ../CMakeLists.txt
saidas-MacBook-Pro:homework1 fiddu$ cd GENERAL_VERSIONS/
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ ls
CMakeLists.txt example2.2.cpp example2.4.cpp example2.5.cpp
example2.1.cpp example2.3.cpp example2.4b.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ vi CMakeLists.txt
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ cd ..
saidas-MacBook-Pro:homework1 fiddu$ ls
CMakeLists.txt MAC_VERSIONS WINDOWS_VERSIONS
GENERAL_VERSIONS README
saidas-MacBook-Pro:homework1 fiddu$ vi CMakeLists.txt
saidas-MacBook-Pro:homework1 fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ rm -fr build/
saidas-MacBook-Pro:angel_code fiddu$ mkdir build
saidas-MacBook-Pro:angel_code fiddu$ cd build/
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/Headers
CMake 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:~ fiddu$ ls
Desktop Downloads Movies Pictures
Documents Library Music Public
saidas-MacBook-Pro:~ fiddu$ ls -la
total 56
drwxr-xr-x+ 17 fiddu staff 578 Sep 14 13:12 .
drwxr-xr-x 6 root admin 204 Sep 13 21:52 ..
-rw------- 1 fiddu staff 3 Sep 13 13:51 .CFUserTextEncoding
-rw-r--r--@ 1 fiddu staff 15364 Sep 14 12:52 .DS_Store
drwx------ 18 fiddu staff 612 Sep 14 12:54 .Trash
-rw------- 1 fiddu staff 506 Sep 14 12:37 .bash_history
drwxr-xr-x 3 fiddu staff 102 Sep 14 12:00 .macports
-rw-r--r-- 1 fiddu staff 241 Sep 14 11:58 .profile
-rw------- 1 fiddu staff 2276 Sep 14 13:12 .viminfo
drwx------+ 4 fiddu staff 136 Sep 14 12:54 Desktop
drwx------+ 8 fiddu staff 272 Sep 14 09:25 Documents
drwx------+ 11 fiddu staff 374 Sep 14 11:58 Downloads
drwx------@ 42 fiddu staff 1428 Sep 14 09:26 Library
drwx------+ 3 fiddu staff 102 Sep 13 13:51 Movies
drwx------+ 3 fiddu staff 102 Sep 13 13:51 Music
drwx------+ 6 fiddu staff 204 Sep 13 22:24 Pictures
drwxr-xr-x+ 4 fiddu staff 136 Sep 13 13:51 Public
saidas-MacBook-Pro:~ fiddu$ vi .profile
saidas-MacBook-Pro:~ fiddu$ locate gl
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
saidas-MacBook-Pro:~ fiddu$ cd ..
saidas-MacBook-Pro:Users fiddu$ cd /
saidas-MacBook-Pro:/ fiddu$ ls
Applications bin opt
Library cores private
Network dev sbin
System etc tmp
User Information home usr
Users mach_kernel var
Volumes net
saidas-MacBook-Pro:/ fiddu$ ls opt/local/
bin etc include lib libexec man sbin share var
saidas-MacBook-Pro:/ fiddu$ ls opt/local/bin/
autopoint infocmp ncursesw5-config
c_rehash infotocap ngettext
captoinfo msgattrib openssl
ccmake msgcat port
clear msgcmp portf
cmake msgcomm portindex
cmakexbuild msgconv portmirror
cpack msgen recode-sr-latin
ctest msgexec reset
daemondo msgfilter tabs
envsubst msgfmt tic
gettext msggrep toe
gettext.sh msginit tput
gettextize msgmerge tset
gperf msgunfmt xgettext
iconv msguniq xmlwf
idn ncurses5-config
saidas-MacBook-Pro:/ fiddu$ ls opt/local/lib
engines libidn.11.dylib
gettext libidn.a
libasprintf.0.dylib libidn.dylib
libasprintf.a libidn.la
libasprintf.dylib libintl.8.dylib
libasprintf.la libintl.a
libcharset.1.dylib libintl.dylib
libcharset.a libintl.la
libcharset.dylib libmenu.5.dylib
libcharset.la libmenu.a
libcrypto.1.0.0.dylib libmenu.dylib
libcrypto.a libmenuw.5.dylib
libcrypto.dylib libmenuw.a
libcurses.a libmenuw.dylib
libcurses.dylib libncurses++.a
libexpat.1.dylib libncurses++w.a
libexpat.a libncurses.5.dylib
libexpat.dylib libncurses.a
libexpat.la libncurses.dylib
libform.5.dylib libncursesw.5.dylib
libform.a libncursesw.a
libform.dylib libncursesw.dylib
libformw.5.dylib libpanel.5.dylib
libformw.a libpanel.a
libformw.dylib libpanel.dylib
libgettextlib-0.18.1.dylib libpanelw.5.dylib
libgettextlib.dylib libpanelw.a
libgettextlib.la libpanelw.dylib
libgettextpo.0.dylib libssl.1.0.0.dylib
libgettextpo.a libssl.a
libgettextpo.dylib libssl.dylib
libgettextpo.la libtermcap.dylib
libgettextsrc-0.18.1.dylib libz.1.2.7.dylib
libgettextsrc.dylib libz.1.dylib
libgettextsrc.la libz.a
libiconv.2.dylib libz.dylib
libiconv.a pkgconfig
libiconv.dylib terminfo
libiconv.la
saidas-MacBook-Pro:/ fiddu$ ls
Applications bin opt
Library cores private
Network dev sbin
System etc tmp
User Information home usr
Users mach_kernel var
Volumes net
saidas-MacBook-Pro:/ fiddu$ printenv | grep path
saidas-MacBook-Pro:/ fiddu$ printenv | grep PATH
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
saidas-MacBook-Pro:/ fiddu$ ls
Applications bin opt
Library cores private
Network dev sbin
System etc tmp
User Information home usr
Users mach_kernel var
Volumes net
saidas-MacBook-Pro:/ fiddu$ ls dev/
afsc_type5 ptyt5 ttyr0
auditpipe ptyt6 ttyr1
auditsessions ptyt7 ttyr2
autofs ptyt8 ttyr3
autofs_control ptyt9 ttyr4
autofs_homedirmounter ptyta ttyr5
autofs_notrigger ptytb ttyr6
autofs_nowait ptytc ttyr7
bpf0 ptytd ttyr8
bpf1 ptyte ttyr9
bpf2 ptytf ttyra
bpf3 ptyu0 ttyrb
console ptyu1 ttyrc
cu.Bluetooth-Modem ptyu2 ttyrd
cu.Bluetooth-PDA-Sync ptyu3 ttyre
disk0 ptyu4 ttyrf
disk0s1 ptyu5 ttys0
disk0s2 ptyu6 ttys000
disk0s3 ptyu7 ttys1
dtrace ptyu8 ttys2
dtracehelper ptyu9 ttys3
fbt ptyua ttys4
fd ptyub ttys5
fsevents ptyuc ttys6
io8log ptyud ttys7
io8logmt ptyue ttys8
klog ptyuf ttys9
lockstat ptyv0 ttysa
machtrace ptyv1 ttysb
null ptyv2 ttysc
pf ptyv3 ttysd
pfm ptyv4 ttyse
pmCPU ptyv5 ttysf
profile ptyv6 ttyt0
ptmx ptyv7 ttyt1
ptyp0 ptyv8 ttyt2
ptyp1 ptyv9 ttyt3
ptyp2 ptyva ttyt4
ptyp3 ptyvb ttyt5
ptyp4 ptyvc ttyt6
ptyp5 ptyvd ttyt7
ptyp6 ptyve ttyt8
ptyp7 ptyvf ttyt9
ptyp8 ptyw0 ttyta
ptyp9 ptyw1 ttytb
ptypa ptyw2 ttytc
ptypb ptyw3 ttytd
ptypc ptyw4 ttyte
ptypd ptyw5 ttytf
ptype ptyw6 ttyu0
ptypf ptyw7 ttyu1
ptyq0 ptyw8 ttyu2
ptyq1 ptyw9 ttyu3
ptyq2 ptywa ttyu4
ptyq3 ptywb ttyu5
ptyq4 ptywc ttyu6
ptyq5 ptywd ttyu7
ptyq6 ptywe ttyu8
ptyq7 ptywf ttyu9
ptyq8 random ttyua
ptyq9 rdisk0 ttyub
ptyqa rdisk0s1 ttyuc
ptyqb rdisk0s2 ttyud
ptyqc rdisk0s3 ttyue
ptyqd sdt ttyuf
ptyqe stderr ttyv0
ptyqf stdin ttyv1
ptyr0 stdout ttyv2
ptyr1 systrace ttyv3
ptyr2 tty ttyv4
ptyr3 tty.Bluetooth-Modem ttyv5
ptyr4 tty.Bluetooth-PDA-Sync ttyv6
ptyr5 ttyp0 ttyv7
ptyr6 ttyp1 ttyv8
ptyr7 ttyp2 ttyv9
ptyr8 ttyp3 ttyva
ptyr9 ttyp4 ttyvb
ptyra ttyp5 ttyvc
ptyrb ttyp6 ttyvd
ptyrc ttyp7 ttyve
ptyrd ttyp8 ttyvf
ptyre ttyp9 ttyw0
ptyrf ttypa ttyw1
ptys0 ttypb ttyw2
ptys1 ttypc ttyw3
ptys2 ttypd ttyw4
ptys3 ttype ttyw5
ptys4 ttypf ttyw6
ptys5 ttyq0 ttyw7
ptys6 ttyq1 ttyw8
ptys7 ttyq2 ttyw9
ptys8 ttyq3 ttywa
ptys9 ttyq4 ttywb
ptysa ttyq5 ttywc
ptysb ttyq6 ttywd
ptysc ttyq7 ttywe
ptysd ttyq8 ttywf
ptyse ttyq9 urandom
ptysf ttyqa vn0
ptyt0 ttyqb vn1
ptyt1 ttyqc vn2
ptyt2 ttyqd vn3
ptyt3 ttyqe zero
ptyt4 ttyqf
saidas-MacBook-Pro:/ fiddu$ ls
Applications bin opt
Library cores private
Network dev sbin
System etc tmp
User Information home usr
Users mach_kernel var
Volumes net
saidas-MacBook-Pro:/ fiddu$ clear
saidas-MacBook-Pro:/ fiddu$ ls
Applications bin opt
Library cores private
Network dev sbin
System etc tmp
User Information home usr
Users mach_kernel var
Volumes net
saidas-MacBook-Pro:/ fiddu$ ls usr/
X11/ bin/ lib/ llvm-gcc-4.2/ share/
X11R6/ include/ libexec/ sbin/ standalone/
saidas-MacBook-Pro:/ fiddu$ ls usr/
X11/ bin/ lib/ llvm-gcc-4.2/ share/
X11R6/ include/ libexec/ sbin/ standalone/
saidas-MacBook-Pro:/ fiddu$ ls usr/bin/
2to3 mdfind
2to3- mdimport
2to3-2.7 mdls
2to32.6 mdutil
BuildStrings memcached
CpMac merge
DeRez mesg
GetFileInfo mib2c
MergePef mib2c-update
MvMac mig
PPCExplain mkbom
RSA_SecurID_getpasswd mkdep
ResMerger mkfifo
Rez mklocale
RezDet mktemp
RezWack mmroff
SetFile mnthome
SplitForks moose-outdated
UnRezWack moose-outdated5.12
a2p more
a2p5.10 mp2bug
a2p5.12 msgs
addftinfo mvn
afclip nano
afconvert nasm
afhash native2ascii
afinfo nbdst
afmtodit nc
afplay ncal
agentxtrap ncurses5.4-config
agvtool ndisasm
alias neqn
allmemory net-snmp-cert
ant net-snmp-config
applesingle net-snmp-create-v3-user
appletviewer nettop
apply newaliases
apr-1-config newgrp
apropos newproc.d
apt nfsstat
apu-1-config nice
ar nl
arch nm
as nmedit
asa nohup
asctl notificationconf
at notifyutil
atos nroff
atq nslookup
atrm nsupdate
atsutil ntp-keygen
automator ntpq
auval od
auvaltool odutil
avconvert open
avmetareadwrite opendiff
awk opensnoop
banner openssl
base64 orbd
basename osacompile
bashbug osadecompile
batch osalang
bc osascript
bg otool
biff pack200
binhex package-stash-conflicts
bison package-stash-conflicts5.12
bitesize.d pagesize
bsdtar pagestuff
bspatch par.pl
bunzip2 par5.12.pl
bzcat parl
bzcmp parl5.12
bzdiff parldyn
bzegrep parldyn5.12
bzfgrep passwd
bzgrep paste
bzip2 patch
bzip2recover pathchk
bzless pathopens.d
bzmore pbcopy
c++ pbpaste
c++filt pcap-config
c2ph pcsctest
c2ph5.10 pcsctool
c2ph5.12 pdfroff
c89 perfdiagnose
c99 perl
c_rehash perl5.10
caffeinate perl5.12
cal perlbug
calendar perlbug5.10
cancel perlbug5.12
cap_mkdb perldoc
captoinfo perldoc5.10
cc perldoc5.12
cd perlivp
certtool perlivp5.10
checknr perlivp5.12
chflags perlthanks
chfn perlthanks5.10
chgrp perlthanks5.12
chpass pfbtops
chsh pg_basebackup
ci pg_config
cksum pg_dump
clang pg_dumpall
clang++ pg_restore
clear pg_upgrade
clusterdb pgrep
cmp phar
cmpdylib phar.phar
co php
codesign php-config
codesign_allocate phpize
col pic
colcrt pic2graph
colldef pico
colrm piconv
column piconv5.10
comm piconv5.12
command pidpersec.d
compileHelp pkgbuild
compress pkill
config_data pl
config_data5.10 pl2pm
config_data5.12 pl2pm5.10
corelist pl2pm5.12
corelist5.10 plockstat
corelist5.12 pltcl_delmod
cpan pltcl_listmod
cpan2dist pltcl_loadmod
cpan2dist5.10 plutil
cpan2dist5.12 pmset
cpan5.10 pod2html
cpan5.12 pod2html5.10
cpanp pod2html5.12
cpanp-run-perl pod2latex
cpanp-run-perl5.10 pod2latex5.10
cpanp-run-perl5.12 pod2latex5.12
cpanp5.10 pod2man
cpanp5.12 pod2man5.10
cpio pod2man5.12
cpp pod2readme
cpuwalk.d pod2readme5.10
crc32 pod2readme5.12
crc325.10 pod2text
crc325.12 pod2text5.10
creatbyproc.d pod2text5.12
createdb pod2usage
createlang pod2usage5.10
createuser pod2usage5.12
crlrefresh podchecker
crontab podchecker5.10
csplit podchecker5.12
csreq podselect
ctags podselect5.10
ctf_insert podselect5.12
cu policytool
cups-config post-grohtml
cupstestdsc postgres_real
cupstestppd pp
curl pp5.12
curl-config ppdc
cut ppdhtml
cvaffinity ppdi
cvcp ppdmerge
cvmkdir ppdpo
cvmkfile pr
cvs pre-grohtml
cvsbug priclass.d
dappprof pridist.d
dapptrace printenv
darwinup printf
db_archive procmail
db_checkpoint procsystime
db_codegen productbuild
db_deadlock productsign
db_dump profiles
db_hotbackup projectInfo
db_load prove
db_printlog prove5.10
db_recover prove5.12
db_stat psed
db_upgrade psed5.10
db_verify psed5.12
dbicadmin psql
dbicadmin5.12 pstopdf
dbilogstrip pstruct
dbilogstrip5.10 pstruct5.10
dbilogstrip5.12 pstruct5.12
dbiprof ptar
dbiprof5.10 ptar5.10
dbiprof5.12 ptar5.12
dbiproxy ptardiff
dbiproxy5.10 ptardiff5.10
dbiproxy5.12 ptardiff5.12
dc pubsub
defaults purge
desdp pwpolicy
diff pydoc
diff3 pydoc2.5
diffstat pydoc2.6
dig pydoc2.7
dirname python
diskhits python-config
dispqlen.d python2.5
ditto python2.5-config
dns-sd python2.6
dprofpp python2.6-config
dprofpp5.10 python2.7
dprofpp5.12 python2.7-config
dropdb pythonw
droplang pythonw2.5
dropuser pythonw2.6
drutil pythonw2.7
dscacheutil qc2movie
dscl qlmanage
dserr qtdefaults
dsexport quota
dsimport radclient
dsmemberutil radconf2xml
dsymutil radcrypt
dtruss radeapclient
du radlast
dwarfdump radsniff
dyldinfo radsqlrelay
easy_install radtest
easy_install-2.5 radwho
easy_install-2.6 radzap
easy_install-2.7 rails
ecpg rake
efax ranlib
efix rcs
egrep rcs2log
emacs rcsclean
emacs-undumped rcsdiff
emacsclient rcsmerge
enc2xs rdoc
enc2xs5.10 read
enc2xs5.12 readlink
encode_keychange rebase
env redo_prebinding
eqn refer
eqn2graph reindexdb
erb renice
errinfo reset
etags resolveLinks
ex rev
execsnoop ri
expand rlm_dbm_cat
expect rlm_dbm_parser
extcheck rlog
eyapp rlogin
eyapp5.12 rmic
false rmid
fax rmiregistry
fc rpcgen
fddist rs
fdesetup rsh
fg rsync
fgrep ruby
file runocc.d
filebyproc.d ruptime
filtercalltree rview
find rvim
find2perl rwbypid.d
find2perl5.10 rwbytype.d
find2perl5.12 rwho
findrule rwsnoop
findrule5.12 s2p
finger s2p5.10
fixproc s2p5.12
flex sample
flex++ sampleproc
fmt sandbox-exec
fold sandbox-simplify
fontrestore sar
formail say
format-sql sc_usage
format-sql5.12 scandeps.pl
from scandeps5.12.pl
fs_usage schemagen
ftp scp
funzip screen
fuser script
fwkdp sdef
fwkpfv sdiff
g++ sdp
gatherheaderdoc sdx
gcc security
gcov sed
gcov-4.2 seeksize.d
gdb segedit
gdiffmk seq
gem serialver
gen_bridge_metadata servertool
gencat setregion
genstrings setuids.d
getconf sftp
getopt shar
getopts shasum
git shasum5.10
git-cvsserver shasum5.12
git-receive-pack shlock
git-shell showmount
git-upload-archive sigdist.d
git-upload-pack sips
gitk size
gluedialect slogin
gluedialect5.10 smbencrypt
gluedialect5.12 smbutil
gluedoc smtpd.py
gluedoc5.10 smtpd2.5.py
gluedoc5.12 smtpd2.6.py
glueedit smtpd2.7.py
glueedit5.10 sndiskmove
glueedit5.12 snfsdefrag
gluemac snmp-bridge-mib
gluemac5.10 snmpbulkget
gluemac5.12 snmpbulkwalk
gluescriptadds snmpconf
gluescriptadds5.10 snmpdelta
gluescriptadds5.12 snmpdf
gm4 snmpget
gnuattach snmpgetnext
gnuclient snmpinform
gnudoit snmpnetstat
gnumake snmpset
gnuserv snmpstatus
gnutar snmptable
gperf snmptest
gprof snmptranslate
grap2graph snmptrap
grep snmpusm
grn snmpvacm
grodvi snmpwalk
groff sntp
groffer soelim
grog sort
grolbp spfd
grolj4 spfd5.10
grops spfd5.12
grotty spfquery
groups spfquery5.10
gunzip spfquery5.12
gzcat splain
gzexe splain5.10
gzip splain5.12
h2ph split
h2ph5.10 sqlite3
h2ph5.12 srm
h2xs ssh
h2xs5.10 ssh-add
h2xs5.12 ssh-agent
hash ssh-keygen
hdid ssh-keyscan
hdiutil stat
hdxml2manxml stringdups
head strings
headerdoc2html strip
heap stty.pl
hexdump stty5.12.pl
hiutil su
host sudo
hostinfo sum
hotspot.d svn
hpftodit svnadmin
htmltree svndumpfilter
htmltree5.12 svnlook
httpdstat.d svnserve
i686-apple-darwin11-llvm-g++-4.2svnsync
i686-apple-darwin11-llvm-gcc-4.2 svnversion
ibtool sw_vers
iconutil symbols
iconv symbolscache
id syscallbypid.d
ident syscallbyproc.d
idle syscallbysysc.d
idle2.5 sysdiagnose
idle2.6 syslog
idle2.7 tab2space
idlj tabs
indent tail
indxbib talk
info tar
infocmp tbl
infokey tccutil
infotocap tclsh
install tclsh8.4
install-info tclsh8.5
install_name_tool tconf
instmodsh tee
instmodsh5.10 telnet
instmodsh5.12 testrb
instruments texi2dvi
iodbc-config texi2pdf
iodbctest texindex
iodbctestw textutil
iofile.d tfmtodit
iofileb.d tftp
iopattern tic
iopending tidy
iosnoop tiff2icns
iotop tiffutil
ip2cc time
ip2cc5.10 tkcon
ip2cc5.12 tkmib
ipcount tkpp
ipcount5.10 tkpp5.12
ipcount5.12 tmdiagnose
ipcrm tmutil
ipcs tnameserv
ipptool toe
iprofiler top
iptab tops
iptab5.10 topsyscall
iptab5.12 topsysproc
irb touch
isc-config.sh tput
jar tr
jarsigner trace
java traptoemail
javac treereg
javadoc treereg5.12
javah trial
javap troff
javaws true
jcmd tset
jconsole tsort
jdb tty
jhat twistd
jinfo type
jmap ubcontrol
jobs ul
join ulimit
jot umask
jps unalias
jrunscript uname
jsadebugd uncompress
jstack unexpand
jstat unifdef
jstatd unifdefall
jvisualvm uniq
kcc units
kdestroy unpack200
kextutil unvis
keytool unwinddump
kgetcred unzip
kill.d unzipsfx
killall update_dyld_shared_cache
kinit uptime
klist users
kpasswd uucp
krb5-config uudecode
kswitch uuencode
lam uuidgen
last uulog
lastcomm uuname
lastwords uupick
latency uustat
ld uuto
ldapadd uux
ldapcompare vacuumdb
ldapdelete vgrind
ldapexop vi
ldapmodify view
ldapmodrdn vim
ldappasswd vimdiff
ldapsearch vimtutor
ldapurl vis
ldapwhoami vm_stat
leaks vmmap
leave w
less wait
lessecho wall
lex wc
libnetcfg weblatency.d
libnetcfg5.10 what
libnetcfg5.12 whatis
libtool whereis
lipo which
lkbib who
lldb whoami
llvm-cpp-4.2 whois
llvm-g++ wifidiagnose
llvm-g++-4.2 wish
llvm-gcc wish8.4
llvm-gcc-4.2 wish8.5
loads.d write
locale wsgen
localedef wsimport
locate xar
lockfile xargs
logger xattr
login xattr-2.5
logname xattr-2.6
look xattr-2.7
lookbib xcode-select
lorder xcodebuild
lp xcrun
lpoptions xed
lppasswd xgettext.pl
lpq xgettext5.10.pl
lpr xgettext5.12.pl
lprm xip
lpstat xjc
lsbom xml2-config
lsm xml2man
lsvfs xmlcatalog
lwp-download xmllint
lwp-download5.10 xpath
lwp-download5.12 xpath5.10
lwp-dump xpath5.12
lwp-dump5.10 xslt-config
lwp-dump5.12 xsltproc
lwp-mirror xsubpp
lwp-mirror5.10 xsubpp5.10
lwp-mirror5.12 xsubpp5.12
lwp-request xxd
lwp-request5.10 yacc
lwp-request5.12 yes
lwp-rget ypcat
lwp-rget5.10 ypmatch
m4 ypwhich
macbinary zcat
macerror zcmp
macerror5.10 zdiff
macerror5.12 zegrep
machine zfgrep
mail zforce
mailq zgrep
mailstat zip
mailx zipcloak
make zipgrep
makeinfo zipinfo
malloc_history zipnote
man zipsplit
manpath zless
mcxquery zmore
mcxrefresh znew
mddiagnose zprint
saidas-MacBook-Pro:/ fiddu$ ls usr/
X11/ bin/ lib/ llvm-gcc-4.2/ share/
X11R6/ include/ libexec/ sbin/ standalone/
saidas-MacBook-Pro:/ fiddu$ ls usr/lib
arc libmecab.dylib
arch_tool libmecabra.dylib
bundle1.o libmenu.5.4.dylib
c++ libmenu.dylib
charset.alias libmx.A.dylib
clang libmx.dylib
cron libncurses.5.4.dylib
crt1.10.5.o libncurses.5.dylib
crt1.10.6.o libncurses.dylib
crt1.o libneon.27.dylib
dtrace libneon.dylib
dyld libnetsnmp.15.1.2.dylib
dylib1.10.5.o libnetsnmp.15.dylib
dylib1.o libnetsnmp.25.dylib
freeradius libnetsnmp.5.2.1.dylib
gcrt1.o libnetsnmp.5.dylib
groff libnetsnmp.dylib
java libnetsnmpagent.25.dylib
lazydylib1.o libnetsnmpagent.dylib
libACSClient.dylib libnetsnmphelpers.25.dylib
libBSDPClient.A.dylib libnetsnmphelpers.dylib
libBSDPClient.dylib libnetsnmpmibs.25.dylib
libCRFSuite.dylib libnetsnmpmibs.dylib
libCRFSuite0.12.dylib libnetsnmptrapd.25.dylib
libCoreStorage.dylib libnetsnmptrapd.dylib
libDHCPServer.A.dylib libobjc.A.dylib
libDHCPServer.dylib libobjc.dylib
libDiagnosticMessagesClient.dylib libodbc.a
libIOKit.A.dylib libodfde.dylib
libIOKit.dylib libpam.1.dylib
libLTO.dylib libpam.2.dylib
libMatch.1.dylib libpam.dylib
libMatch.dylib libpanel.5.4.dylib
libOpenScriptingUtil.dylib libpanel.dylib
libScreenReader.dylib libpcap.A.dylib
libSystem.B.dylib libpcap.dylib
libSystem.B_debug.dylib libpcre.0.dylib
libSystem.dylib libpcre.dylib
libSystem_debug.dylib libpcreposix.0.dylib
libUniversalAccess.dylib libpcreposix.dylib
libXplugin.1.dylib libpgtypes.3.2.dylib
libXplugin.dylib libpgtypes.3.dylib
libalias.A.dylib libpgtypes.dylib
libalias.dylib libpoll.dylib
libapr-1.0.4.5.dylib libpq.5.4.dylib
libapr-1.0.dylib libpq.5.dylib
libapr-1.dylib libpq.dylib
libaprutil-1.0.3.12.dylib libproc.dylib
libaprutil-1.0.dylib libprofile_rt.a
libaprutil-1.dylib libprofile_rt.dylib
libarchive.2.dylib libpthread.dylib
libarchive.dylib libpython.dylib
libatlas.dylib libpython2.5.dylib
libauditd.0.dylib libpython2.6.dylib
libauditd.dylib libpython2.7.dylib
libauto.dylib libquit.dylib
libblas.dylib libreadline.dylib
libbsm.0.dylib libresolv.9.dylib
libbsm.dylib libresolv.dylib
libbz2.1.0.5.dylib librpcsvc.dylib
libbz2.1.0.dylib libruby.1.dylib
libbz2.dylib libruby.dylib
libc++.1.dylib libsandbox.1.dylib
libc++.dylib libsandbox.dylib
libc++abi.dylib libsasl2.2.0.1.dylib
libc.dylib libsasl2.2.0.15.dylib
libcblas.dylib libsasl2.2.0.21.dylib
libcharset.1.0.0.dylib libsasl2.2.0.22.dylib
libcharset.1.dylib libsasl2.2.dylib
libcharset.dylib libsasl2.dylib
libclang.dylib libsqlite3.0.dylib
libclapack.dylib libsqlite3.dylib
libcom_err.dylib libssl.0.9.7.dylib
libcpp_kext.a libssl.0.9.8.dylib
libcrypto.0.9.7.dylib libssl.dylib
libcrypto.0.9.8.dylib libstdc++.6.0.9.dylib
libcrypto.dylib libstdc++.6.dylib
libcsfde.dylib libstdc++.dylib
libcups.2.dylib libsvn_client-1.0.0.0.dylib
libcups.dylib libsvn_client-1.0.dylib
libcupscgi.1.dylib libsvn_client-1.dylib
libcupscgi.dylib libsvn_delta-1.0.0.0.dylib
libcupsimage.2.dylib libsvn_delta-1.0.dylib
libcupsimage.dylib libsvn_delta-1.dylib
libcupsmime.1.dylib libsvn_diff-1.0.0.0.dylib
libcupsmime.dylib libsvn_diff-1.0.dylib
libcupsppdc.1.dylib libsvn_diff-1.dylib
libcupsppdc.dylib libsvn_fs-1.0.0.0.dylib
libcurl.3.dylib libsvn_fs-1.0.dylib
libcurl.4.dylib libsvn_fs-1.dylib
libcurl.dylib libsvn_fs_fs-1.0.0.0.dylib
libcurses.dylib libsvn_fs_fs-1.0.dylib
libdbm.dylib libsvn_fs_fs-1.dylib
libdes425.dylib libsvn_fs_util-1.0.0.0.dylib
libdl.dylib libsvn_fs_util-1.0.dylib
libdtrace.dylib libsvn_fs_util-1.dylib
libecpg.6.3.dylib libsvn_ra-1.0.0.0.dylib
libecpg.6.dylib libsvn_ra-1.0.dylib
libecpg.dylib libsvn_ra-1.dylib
libecpg_compat.3.3.dylib libsvn_ra_local-1.0.0.0.dylib
libecpg_compat.3.dylib libsvn_ra_local-1.0.dylib
libecpg_compat.dylib libsvn_ra_local-1.dylib
libedit.2.dylib libsvn_ra_neon-1.0.0.0.dylib
libedit.3.0.dylib libsvn_ra_neon-1.0.dylib
libedit.3.dylib libsvn_ra_neon-1.dylib
libedit.dylib libsvn_ra_svn-1.0.0.0.dylib
libexpat.1.5.2.dylib libsvn_ra_svn-1.0.dylib
libexpat.1.dylib libsvn_ra_svn-1.dylib
libexpat.dylib libsvn_repos-1.0.0.0.dylib
libexslt.0.dylib libsvn_repos-1.0.dylib
libexslt.dylib libsvn_repos-1.dylib
libf77lapack.dylib libsvn_subr-1.0.0.0.dylib
libffi.dylib libsvn_subr-1.0.dylib
libform.5.4.dylib libsvn_subr-1.dylib
libform.dylib libsvn_wc-1.0.0.0.dylib
libgcc_s.1.dylib libsvn_wc-1.0.dylib
libgcc_s.10.4.dylib libsvn_wc-1.dylib
libgcc_s.10.5.dylib libsysmon.dylib
libgermantok.dylib libtcl.dylib
libgmalloc.B.dylib libtcl8.5.dylib
libgmalloc.dylib libtclstub8.5.a
libgssapi_krb5.dylib libtermcap.dylib
libhunspell-1.2.0.0.0.dylib libtidy.A.dylib
libhunspell-1.2.0.dylib libtidy.dylib
libhunspell-1.2.dylib libtk.dylib
libiconv.2.4.0.dylib libtk8.5.dylib
libiconv.2.dylib libtkstub8.5.a
libiconv.dylib libutil.dylib
libicucore.A.dylib libutil1.0.dylib
libicucore.dylib libxar.1.dylib
libinfo.dylib libxar.dylib
libiodbc.2.1.18.dylib libxml2.2.dylib
libiodbc.2.dylib libxml2.dylib
libiodbc.a libxsanmgrcommon.dylib
libiodbc.dylib libxslt.1.dylib
libiodbcinst.2.1.18.dylib libxslt.dylib
libiodbcinst.2.dylib liby.a
libiodbcinst.a libz.1.1.3.dylib
libiodbcinst.dylib libz.1.2.5.dylib
libipconfig.dylib libz.1.dylib
libipsec.A.dylib libz.dylib
libipsec.dylib pam
libk5crypto.dylib php
libkmod.a pkgconfig
libkmodc++.a postgresql
libkrb4.dylib python2.5
libkrb5.dylib python2.6
libkrb524.dylib python2.7
libkrb5support.dylib rpcsvc
libl.a ruby
liblangid.dylib sa
liblapack.dylib sasl2
liblber.dylib sqlite3
libldap.dylib system
libldap_r.dylib tclConfig.sh
libm.dylib tkConfig.sh
libmecab.1.0.0.dylib zsh
saidas-MacBook-Pro:/ fiddu$ ls usr/include/
AssertMacros.h iso646.h python2.7
Availability.h isql.h ranlib.h
AvailabilityInternal.hisqlext.h readline
AvailabilityMacros.h isqltypes.h readpassphrase.h
Block.h krb5 regex.h
CommonCrypto krb5.h removefile.h
ConditionalMacros.h langinfo.h resolv.h
DNSServiceDiscovery launch.h rpc
FlexLexer.h lber.h rpcsvc
MacTypes.h lber_types.h rune.h
NSSystemDirectories.h ldap.h runetype.h
TargetConditionals.h ldap_cdefs.h sandbox.h
TargetConfig.h ldap_features.h sasl
Xplugin.h ldap_schema.h sched.h
_locale.h ldap_utf8.h search.h
_structs.h ldif.h secure
_types.h libc.h security
_wctype.h libcharset.h semaphore.h
_xlocale.h libexslt servers
aio.h libgen.h setjmp.h
alloca.h libkern sgtty.h
apache2 libpq signal.h
apr-1 libpq-events.h slapi-plugin.h
ar.h libpq-fe.h spawn.h
architecture libproc.h sql.h
arpa libunwind.h sql3types.h
asl.h libxml2 sqlca.h
assert.h libxslt sqlda-compat.h
bitstring.h limits.h sqlda-native.h
bsm localcharset.h sqlda.h
bzlib.h locale.h sqlext.h
c++ mach sqlite3.h
cache.h mach-o sqlite3ext.h
cache_callbacks.h mach_debug sqltypes.h
checkint.h machine sqlucode.h
com_err.h malloc stab.h
complex.h math.h standards.h
copyfile.h membership.h stdbool.h
cpio.h memcached stddef.h
crt_externs.h memory.h stdint.h
ctype.h menu.h stdio.h
cups miscfs stdlib.h
curl monetary.h strhash.h
curses.h monitor.h string.h
cxxabi.h mpool.h stringlist.h
db.h nameser.h strings.h
default_pager nc_tparm.h struct.h
device ncurses.h sys
dirent.h ncurses_dll.h sysexits.h
disktab.h ndbm.h syslog.h
dispatch net tar.h
dlfcn.h net-snmp tcl.h
dns.h netdb.h tclDecls.h
dns_sd.h netinet tclPlatDecls.h
dns_util.h netinet6 tclTomMath.h
dtrace.h netkey tclTomMathDecls.h
ecpg_config.h nfs term.h
ecpg_informix.h nl_types.h term_entry.h
ecpgerrno.h nlist.h termcap.h
ecpglib.h notify.h termios.h
ecpgtype.h notify_keys.h tic.h
editline ntsid.h tidy
err.h objc time.h
errno.h odbcinst.h timeconv.h
eti.h openssl tk.h
execinfo.h os tkDecls.h
expat.h panel.h tkIntXlibDecls.h
expat_external.h paths.h tkMacOSX.h
fcntl.h pcap tkPlatDecls.h
fenv.h pcap-bpf.h ttyent.h
ffi pcap-namedb.h tzfile.h
fmtmsg.h pcap.h ucontext.h
fnmatch.h pexpert ulimit.h
form.h pg_config.h unctrl.h
fsproperties.h pg_config_manual.h unistd.h
fstab.h pg_config_os.h unwind.h
fts.h pgtypes_date.h util.h
ftw.h pgtypes_error.h utime.h
get_compat.h pgtypes_interval.h utmp.h
getopt.h pgtypes_numeric.h utmpx.h
glob.h pgtypes_timestamp.h uuid
grp.h php vfs
gssapi poll.h vis.h
gssapi.h postgres_ext.h vproc.h
hfs postgresql wchar.h
histedit.h profile.h wctype.h
i386 protocols wordexp.h
iconv.h pthread.h xar
ifaddrs.h pthread_impl.h xlocale
inttypes.h pthread_spis.h xlocale.h
iodbcext.h pwd.h xpc
iodbcinst.h python2.5 zconf.h
iodbcunix.h python2.6 zlib.h
saidas-MacBook-Pro:/ fiddu$ ls
Applications bin opt
Library cores private
Network dev sbin
System etc tmp
User Information home usr
Users mach_kernel var
Volumes net
saidas-MacBook-Pro:/ fiddu$ cd
saidas-MacBook-Pro:~ fiddu$ ls
Desktop Downloads Movies Pictures
Documents Library Music Public
saidas-MacBook-Pro:~ fiddu$ cd Desktop/
saidas-MacBook-Pro:Desktop fiddu$ ls
saidas-MacBook-Pro:Desktop fiddu$ cd ../Documents/
saidas-MacBook-Pro:Documents fiddu$ ls
CG programs angel_code
Course_Powerpoints angel_code 2
saidas-MacBook-Pro:Documents fiddu$ cd angel_code
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ vi CMakeLists.txt
saidas-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/Headers
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/fiddu/Documents/angel_code/build
saidas-MacBook-Pro:build fiddu$ make
Scanning dependencies of target angel_common
[ 2%] Building CXX object CMakeFiles/angel_common.dir/Common/InitShader.cpp.o
Linking CXX static library libangel_common.a
[ 2%] Built target angel_common
Scanning dependencies of target example2.1
[ 5%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.1.dir/example2.1.c
pp.o
Linking CXX executable ../../../bin/example2.1
[ 5%] Built target example2.1
Scanning dependencies of target example2.2
[ 7%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.2.dir/example2.2.c
pp.o
Linking CXX executable ../../../bin/example2.2
[ 7%] Built target example2.2
Scanning dependencies of target example2.3
[ 10%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.3.dir/example2.3.c
pp.o
Linking CXX executable ../../../bin/example2.3
[ 10%] Built target example2.3
Scanning dependencies of target example2.4
[ 12%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.4.dir/example2.4.c
pp.o
Linking CXX executable ../../../bin/example2.4
[ 12%] Built target example2.4
Scanning dependencies of target example2.4b
[ 15%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.4b.dir/example2.4
b.cpp.o
Linking CXX executable ../../../bin/example2.4b
[ 15%] Built target example2.4b
Scanning dependencies of target example2.5
[ 17%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.5.dir/example2.5.c
pp.o
Linking CXX executable ../../../bin/example2.5
[ 17%] Built target example2.5
Scanning dependencies of target example3.1
[ 20%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/example3.1.dir/example3.1.c
pp.o
Linking CXX executable ../../../bin/example3.1
[ 20%] Built target example3.1
Scanning dependencies of target example3.2
[ 23%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/example3.2.dir/example3.2.c
pp.o
Linking CXX executable ../../../bin/example3.2
[ 23%] Built target example3.2
Scanning dependencies of target example3.6
[ 25%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/example3.6.dir/example3.6.c
pp.o
Linking CXX executable ../../../bin/example3.6
[ 25%] Built target example3.6
Scanning dependencies of target track
[ 28%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/track.dir/track.cpp.o
Linking CXX executable ../../../bin/track
[ 28%] Built target track
Scanning dependencies of target example4.1
[ 30%] Building CXX object
CHAPTER04_CODE/GENERAL_VERSIONS/CMakeFiles/example4.1.dir/example4.1.c
pp.o
Linking CXX executable ../../../bin/example4.1
[ 30%] Built target example4.1
Scanning dependencies of target example4.2
[ 33%] Building CXX object
CHAPTER04_CODE/GENERAL_VERSIONS/CMakeFiles/example4.2.dir/example4.2.c
pp.o
Linking CXX executable ../../../bin/example4.2
[ 33%] Built target example4.2
Scanning dependencies of target example4.3
[ 35%] Building CXX object
CHAPTER04_CODE/GENERAL_VERSIONS/CMakeFiles/example4.3.dir/example4.3.c
pp.o
Linking CXX executable ../../../bin/example4.3
[ 35%] Built target example4.3
Scanning dependencies of target example5.1
[ 38%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.1.dir/example5.1.c
pp.o
Linking CXX executable ../../../bin/example5.1
[ 38%] Built target example5.1
Scanning dependencies of target example5.2
[ 41%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.2.dir/example5.2.c
pp.o
Linking CXX executable ../../../bin/example5.2
[ 41%] Built target example5.2
Scanning dependencies of target example5.3
[ 43%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.3.dir/example5.3.c
pp.o
Linking CXX executable ../../../bin/example5.3
[ 43%] Built target example5.3
Scanning dependencies of target example5.6
[ 46%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.6.dir/example5.6.c
pp.o
Linking CXX executable ../../../bin/example5.6
[ 46%] Built target example5.6
Scanning dependencies of target example7.1
[ 48%] Building CXX object
CHAPTER07_CODE/GENERAL_VERSIONS/CMakeFiles/example7.1.dir/example7.1.c
pp.o
Linking CXX executable ../../../bin/example7.1
[ 48%] Built target example7.1
Scanning dependencies of target example7.2
[ 51%] Building CXX object
CHAPTER07_CODE/GENERAL_VERSIONS/CMakeFiles/example7.2.dir/example7.2.c
pp.o
Linking CXX executable ../../../bin/example7.2
[ 51%] Built target example7.2
Scanning dependencies of target example7.3
[ 53%] Building CXX object
CHAPTER07_CODE/GENERAL_VERSIONS/CMakeFiles/example7.3.dir/example7.3.c
pp.o
Linking CXX executable ../../../bin/example7.3
[ 53%] Built target example7.3
Scanning dependencies of target example8.1
[ 56%] Building CXX object
CHAPTER08_CODE/GENERAL_VERSIONS/CMakeFiles/example8.1.dir/example8.1.c
pp.o
Linking CXX executable ../../../bin/example8.1
[ 56%] Built target example8.1
Scanning dependencies of target example8.2
[ 58%] Building CXX object
CHAPTER08_CODE/GENERAL_VERSIONS/CMakeFiles/example8.2.dir/example8.2.c
pp.o
Linking CXX executable ../../../bin/example8.2
[ 58%] Built target example8.2
Scanning dependencies of target example8.3
[ 61%] Building CXX object
CHAPTER08_CODE/GENERAL_VERSIONS/CMakeFiles/example8.3.dir/example8.3.c
pp.o
Linking CXX executable ../../../bin/example8.3
[ 61%] Built target example8.3
Scanning dependencies of target example9.1
[ 64%] Building CXX object
CHAPTER09_CODE/GENERAL_VERSIONS/CMakeFiles/example9.1.dir/example9.1.c
pp.o
Linking CXX executable ../../../bin/example9.1
[ 64%] Built target example9.1
Scanning dependencies of target example9.2
[ 66%] Building CXX object
CHAPTER09_CODE/GENERAL_VERSIONS/CMakeFiles/example9.2.dir/example9.2.c
pp.o
Linking CXX executable ../../../bin/example9.2
[ 66%] Built target example9.2
Scanning dependencies of target example10.1
[ 69%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.1.dir/example10.
1.cpp.o
Linking CXX executable ../../../bin/example10.1
[ 69%] Built target example10.1
Scanning dependencies of target example10.2
[ 71%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.2.dir/example10.
2.cpp.o
Linking CXX executable ../../../bin/example10.2
[ 71%] Built target example10.2
Scanning dependencies of target example10.3
[ 74%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.3.dir/example10.
3.cpp.o
Linking CXX executable ../../../bin/example10.3
[ 74%] Built target example10.3
Scanning dependencies of target example10.4
[ 76%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.4.dir/example10.
4.cpp.o
Linking CXX executable ../../../bin/example10.4
[ 76%] Built target example10.4
Scanning dependencies of target append_example_a10
[ 79%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a10.dir/ap
pend_example_a10.cpp.o
Linking CXX executable ../../../bin/append_example_a10
[ 79%] Built target append_example_a10
Scanning dependencies of target append_example_a2
[ 82%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a2.dir/app
end_example_a2.cpp.o
Linking CXX executable ../../../bin/append_example_a2
[ 82%] Built target append_example_a2
Scanning dependencies of target append_example_a3
[ 84%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a3.dir/app
end_example_a3.cpp.o
Linking CXX executable ../../../bin/append_example_a3
[ 84%] Built target append_example_a3
Scanning dependencies of target append_example_a4
[ 87%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a4.dir/app
end_example_a4.cpp.o
Linking CXX executable ../../../bin/append_example_a4
[ 87%] Built target append_example_a4
Scanning dependencies of target append_example_a5
[ 89%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a5.dir/app
end_example_a5.cpp.o
Linking CXX executable ../../../bin/append_example_a5
[ 89%] Built target append_example_a5
Scanning dependencies of target append_example_a6
[ 92%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a6.dir/app
end_example_a6.cpp.o
Linking CXX executable ../../../bin/append_example_a6
[ 92%] Built target append_example_a6
Scanning dependencies of target append_example_a7
[ 94%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a7.dir/app
end_example_a7.cpp.o
Linking CXX executable ../../../bin/append_example_a7
[ 94%] Built target append_example_a7
Scanning dependencies of target append_example_a8
[ 97%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a8.dir/app
end_example_a8.cpp.o
Linking CXX executable ../../../bin/append_example_a8
[ 97%] Built target append_example_a8
Scanning dependencies of target append_example_a9
[100%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a9.dir/app
end_example_a9.cpp.o
Linking CXX executable ../../../bin/append_example_a9
[100%] Built target append_example_a9
saidas-MacBook-Pro:build fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER07_CODE CMakeFiles
CHAPTER02_CODE CHAPTER08_CODE Makefile
CHAPTER03_CODE CHAPTER09_CODE
cmake_install.cmake
CHAPTER04_CODE CHAPTER10_CODE homework1
CHAPTER05_CODE CMakeCache.txt libangel_common.a
saidas-MacBook-Pro:build fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ cd bin/
saidas-MacBook-Pro:bin fiddu$ ls
append_example_a10 example2.1 example5.2
append_example_a2 example2.2 example5.3
append_example_a3 example2.3 example5.6
append_example_a4 example2.4 example7.1
append_example_a5 example2.4b example7.2
append_example_a6 example2.5 example7.3
append_example_a7 example3.1 example8.1
append_example_a8 example3.2 example8.2
append_example_a9 example3.6 example8.3
example10.1 example4.1 example9.1
example10.2 example4.2 example9.2
example10.3 example4.3 track
example10.4 example5.1
saidas-MacBook-Pro:bin fiddu$ ./example2.1
Environment variable ANGELDIR undefined.
Please set it properly and re-execute the program.
saidas-MacBook-Pro:bin fiddu$ vi ~/.profile
saidas-MacBook-Pro:bin fiddu$ . ~/.profile
saidas-MacBook-Pro:bin fiddu$ ./example2.1
saidas-MacBook-Pro:bin fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ vi CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ ls homework1/
CMakeLists.txt MAC_VERSIONS WINDOWS_VERSIONS
GENERAL_VERSIONS README
saidas-MacBook-Pro:angel_code fiddu$ vi homework1/CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ vi CHAPTER02_CODE/CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ vi
homework1/GENERAL_VERSIONS/CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ cd build/
saidas-MacBook-Pro:build fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER07_CODE CMakeFiles
CHAPTER02_CODE CHAPTER08_CODE Makefile
CHAPTER03_CODE CHAPTER09_CODE
cmake_install.cmake
CHAPTER04_CODE CHAPTER10_CODE homework1
CHAPTER05_CODE CMakeCache.txt libangel_common.a
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/Headers
CMake 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$ ls
APPENDIX_A_EXAMPLES CHAPTER07_CODE CMakeFiles
CHAPTER02_CODE CHAPTER08_CODE Makefile
CHAPTER03_CODE CHAPTER09_CODE
cmake_install.cmake
CHAPTER04_CODE CHAPTER10_CODE homework1
CHAPTER05_CODE CMakeCache.txt libangel_common.a
saidas-MacBook-Pro:build fiddu$ ls homework1/
CMakeFiles GENERAL_VERSIONS
saidas-MacBook-Pro:build fiddu$ ls homework1/GENERAL_VERSIONS/
CMakeFiles
saidas-MacBook-Pro:build fiddu$ vi homework1/GENERAL_VERSIONS/CMakeFiles/
saidas-MacBook-Pro:build fiddu$ ls homework1/GENERAL_VERSIONS/CMakeFiles/
saidas-MacBook-Pro:build fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER07_CODE CMakeFiles
CHAPTER02_CODE CHAPTER08_CODE Makefile
CHAPTER03_CODE CHAPTER09_CODE
cmake_install.cmake
CHAPTER04_CODE CHAPTER10_CODE homework1
CHAPTER05_CODE CMakeCache.txt libangel_common.a
saidas-MacBook-Pro:build fiddu$ ls CHAPTER
CHAPTER02_CODE/ CHAPTER04_CODE/ CHAPTER07_CODE/
CHAPTER09_CODE/
CHAPTER03_CODE/ CHAPTER05_CODE/ CHAPTER08_CODE/
CHAPTER10_CODE/
saidas-MacBook-Pro:build fiddu$ ls CHAPTER02_CODE/
CMakeFiles/ Makefile
GENERAL_VERSIONS/ cmake_install.cmake
saidas-MacBook-Pro:build fiddu$ ls CHAPTER02_CODE/GENERAL_VERSIONS/
CMakeFiles/ Makefile cmake_install.cmake
saidas-MacBook-Pro:build fiddu$ ls
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/
CMakeDirectoryInformation.cmake example2.4.dir/
example2.1.dir/ example2.4b.dir/
example2.2.dir/ example2.5.dir/
example2.3.dir/ progress.marks
saidas-MacBook-Pro:build fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER07_CODE CMakeFiles
CHAPTER02_CODE CHAPTER08_CODE Makefile
CHAPTER03_CODE CHAPTER09_CODE
cmake_install.cmake
CHAPTER04_CODE CHAPTER10_CODE homework1
CHAPTER05_CODE CMakeCache.txt libangel_common.a
saidas-MacBook-Pro:build fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE bin
CHAPTER02_CODE CHAPTER10_CODE build
CHAPTER03_CODE CMake homework1
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE README
saidas-MacBook-Pro:angel_code fiddu$ cp homework1/ HOMEWORK
cp: homework1/ is a directory (not copied).
saidas-MacBook-Pro:angel_code fiddu$ cp -r homework1/ HOMEWORK
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE README
CHAPTER02_CODE CHAPTER10_CODE bin
CHAPTER03_CODE CMake build
CHAPTER04_CODE CMakeLists.txt homework1
CHAPTER05_CODE Common include
CHAPTER07_CODE EXTRAS lib
CHAPTER08_CODE HOMEWORK shaders
saidas-MacBook-Pro:angel_code fiddu$ rm -fr homework1/
saidas-MacBook-Pro:angel_code fiddu$ vi CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ vi HOMEWORK/CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ vi HOMEWORK/GENERAL_VERSIONS/
CMakeLists.txt example2.2.cpp example2.4.cpp example2.5.cpp
example2.1.cpp example2.3.cpp example2.4b.cpp
saidas-MacBook-Pro:angel_code fiddu$ vi
HOMEWORK/GENERAL_VERSIONS/CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE README
CHAPTER02_CODE CHAPTER10_CODE bin
CHAPTER03_CODE CMake build
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE HOMEWORK
saidas-MacBook-Pro:angel_code fiddu$ cd HOMEWORK/
saidas-MacBook-Pro:HOMEWORK fiddu$ ls
CMakeLists.txt MAC_VERSIONS WINDOWS_VERSIONS
GENERAL_VERSIONS README
saidas-MacBook-Pro:HOMEWORK fiddu$ cd GENERAL_VERSIONS/
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ ls
CMakeLists.txt example2.2.cpp example2.4.cpp example2.5.cpp
example2.1.cpp example2.3.cpp example2.4b.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ cp CMakeLists.txt ../foo
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ ls
CMakeLists.txt example2.2.cpp example2.4.cpp example2.5.cpp
example2.1.cpp example2.3.cpp example2.4b.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ rm CMakeLists.txt
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ ls
example2.1.cpp example2.3.cpp example2.4b.cpp
example2.2.cpp example2.4.cpp example2.5.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ for a in *; do mv $a test$a; done
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ ls
testexample2.1.cpp testexample2.3.cpp testexample2.4b.cpp
testexample2.2.cpp testexample2.4.cpp testexample2.5.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ mv testexample2.1.cpp test2.1.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ mv testexample2.2.cpp test2.2.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ mv testexample2.3.cpp test2.3.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ mv testexample2.4.cpp test2.4.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ mv testexample2.4b.cpp
test2.4b.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ ls
test2.1.cpp test2.3.cpp test2.4b.cpp
test2.2.cpp test2.4.cpp testexample2.5.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ mv testexample2.5.cpp test2.5.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ ls
test2.1.cpp test2.3.cpp test2.4b.cpp
test2.2.cpp test2.4.cpp test2.5.cpp
saidas-MacBook-Pro:GENERAL_VERSIONS fiddu$ cd ..
saidas-MacBook-Pro:HOMEWORK fiddu$ ls
CMakeLists.txt MAC_VERSIONS WINDOWS_VERSIONS
GENERAL_VERSIONS README foo
saidas-MacBook-Pro:HOMEWORK fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE README
CHAPTER02_CODE CHAPTER10_CODE bin
CHAPTER03_CODE CMake build
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE HOMEWORK
saidas-MacBook-Pro:angel_code fiddu$ mv HOMEWORK/foo
HOMEWORK/GENERAL_VERSIONS/CMakeLists.txt
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE README
CHAPTER02_CODE CHAPTER10_CODE bin
CHAPTER03_CODE CMake build
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE HOMEWORK
saidas-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/Headers
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/fiddu/Documents/angel_code/build
saidas-MacBook-Pro:build fiddu$ make
[ 2%] Built target angel_common
[ 4%] Built target example2.1
[ 6%] Built target example2.2
[ 8%] Built target example2.3
[ 11%] Built target example2.4
[ 13%] Built target example2.4b
[ 15%] Built target example2.5
[ 17%] Built target example3.1
[ 20%] Built target example3.2
[ 22%] Built target example3.6
[ 24%] Built target track
[ 26%] Built target example4.1
[ 28%] Built target example4.2
[ 31%] Built target example4.3
[ 33%] Built target example5.1
[ 35%] Built target example5.2
[ 37%] Built target example5.3
[ 40%] Built target example5.6
[ 42%] Built target example7.1
[ 44%] Built target example7.2
[ 46%] Built target example7.3
[ 48%] Built target example8.1
[ 51%] Built target example8.2
[ 53%] Built target example8.3
[ 55%] Built target example9.1
[ 57%] Built target example9.2
[ 60%] Built target example10.1
[ 62%] Built target example10.2
[ 64%] Built target example10.3
[ 66%] Built target example10.4
[ 68%] Built target append_example_a10
[ 71%] Built target append_example_a2
[ 73%] Built target append_example_a3
[ 75%] Built target append_example_a4
[ 77%] Built target append_example_a5
[ 80%] Built target append_example_a6
[ 82%] Built target append_example_a7
[ 84%] Built target append_example_a8
[ 86%] Built target append_example_a9
Scanning dependencies of target test2.1
[ 88%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.1.dir/test2.1.cpp.o
Linking CXX executable ../../../bin/test2.1
[ 88%] Built target test2.1
Scanning dependencies of target test2.2
[ 91%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.2.dir/test2.2.cpp.o
Linking CXX executable ../../../bin/test2.2
[ 91%] Built target test2.2
Scanning dependencies of target test2.3
[ 93%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.3.dir/test2.3.cpp.o
Linking CXX executable ../../../bin/test2.3
[ 93%] Built target test2.3
Scanning dependencies of target test2.4
[ 95%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.4.dir/test2.4.cpp.o
Linking CXX executable ../../../bin/test2.4
[ 95%] Built target test2.4
Scanning dependencies of target test2.4b
[ 97%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.4b.dir/test2.4b.cpp.o
Linking CXX executable ../../../bin/test2.4b
[ 97%] Built target test2.4b
Scanning dependencies of target test2.5
[100%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.5.dir/test2.5.cpp.o
Linking CXX executable ../../../bin/test2.5
[100%] Built target test2.5
saidas-MacBook-Pro:build fiddu$ cd ../bin/
saidas-MacBook-Pro:bin fiddu$ ./test2.5
saidas-MacBook-Pro:bin fiddu$ cd ..
saidas-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/Headers
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/fiddu/Documents/angel_code/build
saidas-MacBook-Pro:build fiddu$ make
[ 2%] Built target angel_common
[ 4%] Built target example2.1
[ 6%] Built target example2.2
[ 8%] Built target example2.3
[ 11%] Built target example2.4
[ 13%] Built target example2.4b
[ 15%] Built target example2.5
[ 17%] Built target example3.1
[ 20%] Built target example3.2
[ 22%] Built target example3.6
[ 24%] Built target track
[ 26%] Built target example4.1
[ 28%] Built target example4.2
[ 31%] Built target example4.3
[ 33%] Built target example5.1
[ 35%] Built target example5.2
[ 37%] Built target example5.3
[ 40%] Built target example5.6
[ 42%] Built target example7.1
[ 44%] Built target example7.2
[ 46%] Built target example7.3
[ 48%] Built target example8.1
[ 51%] Built target example8.2
[ 53%] Built target example8.3
[ 55%] Built target example9.1
[ 57%] Built target example9.2
[ 60%] Built target example10.1
[ 62%] Built target example10.2
[ 64%] Built target example10.3
[ 66%] Built target example10.4
[ 68%] Built target append_example_a10
[ 71%] Built target append_example_a2
[ 73%] Built target append_example_a3
[ 75%] Built target append_example_a4
[ 77%] Built target append_example_a5
[ 80%] Built target append_example_a6
[ 82%] Built target append_example_a7
[ 84%] Built target append_example_a8
[ 86%] Built target append_example_a9
[ 88%] Built target test2.1
[ 91%] Built target test2.2
[ 93%] Built target test2.3
[ 95%] Built target test2.4
[ 97%] Built target test2.4b
[100%] Built target test2.5
saidas-MacBook-Pro:build fiddu$ ./example2.1
-bash: ./example2.1: No such file or directory
saidas-MacBook-Pro:build fiddu$ cd..
-bash: cd..: command not found
saidas-MacBook-Pro:build fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ cd ..
saidas-MacBook-Pro:Documents fiddu$ cd ..
saidas-MacBook-Pro:~ fiddu$ cd..
-bash: cd..: command not found
saidas-MacBook-Pro:~ fiddu$ cd D
Desktop/ Documents/ Downloads/
saidas-MacBook-Pro:~ fiddu$ cd Documents
saidas-MacBook-Pro:Documents fiddu$ ls
CG programs angel_code
Course_Powerpoints angel_code 2
saidas-MacBook-Pro:Documents fiddu$ cd angel_code
saidas-MacBook-Pro:angel_code fiddu$ ls
APPENDIX_A_EXAMPLES CHAPTER09_CODE README
CHAPTER02_CODE CHAPTER10_CODE bin
CHAPTER03_CODE CMake build
CHAPTER04_CODE CMakeLists.txt include
CHAPTER05_CODE Common lib
CHAPTER07_CODE EXTRAS shaders
CHAPTER08_CODE HOMEWORK
saidas-MacBook-Pro:angel_code fiddu$ cd CHAPTER03_CODE
saidas-MacBook-Pro:CHAPTER03_CODE fiddu$ cd build
-bash: cd: build: No such file or directory
saidas-MacBook-Pro:CHAPTER03_CODE 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/Headers
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/fiddu/Documents/angel_code/CHAPTER03_CODE
saidas-MacBook-Pro:CHAPTER03_CODE fiddu$ make
Scanning dependencies of target angel_common
[ 2%] Building CXX object CMakeFiles/angel_common.dir/Common/InitShader.cpp.o
Linking CXX static library libangel_common.a
[ 2%] Built target angel_common
Scanning dependencies of target example2.1
[ 4%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.1.dir/example2.1.c
pp.o
Linking CXX executable ../../../bin/example2.1
[ 4%] Built target example2.1
Scanning dependencies of target example2.2
[ 6%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.2.dir/example2.2.c
pp.o
Linking CXX executable ../../../bin/example2.2
[ 6%] Built target example2.2
Scanning dependencies of target example2.3
[ 8%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.3.dir/example2.3.c
pp.o
Linking CXX executable ../../../bin/example2.3
[ 8%] Built target example2.3
Scanning dependencies of target example2.4
[ 11%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.4.dir/example2.4.c
pp.o
Linking CXX executable ../../../bin/example2.4
[ 11%] Built target example2.4
Scanning dependencies of target example2.4b
[ 13%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.4b.dir/example2.4
b.cpp.o
Linking CXX executable ../../../bin/example2.4b
[ 13%] Built target example2.4b
Scanning dependencies of target example2.5
[ 15%] Building CXX object
CHAPTER02_CODE/GENERAL_VERSIONS/CMakeFiles/example2.5.dir/example2.5.c
pp.o
Linking CXX executable ../../../bin/example2.5
[ 15%] Built target example2.5
Scanning dependencies of target example3.1
[ 17%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/example3.1.dir/example3.1.c
pp.o
Linking CXX executable ../../../bin/example3.1
[ 17%] Built target example3.1
Scanning dependencies of target example3.2
[ 20%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/example3.2.dir/example3.2.c
pp.o
Linking CXX executable ../../../bin/example3.2
[ 20%] Built target example3.2
Scanning dependencies of target example3.6
[ 22%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/example3.6.dir/example3.6.c
pp.o
Linking CXX executable ../../../bin/example3.6
[ 22%] Built target example3.6
Scanning dependencies of target track
[ 24%] Building CXX object
CHAPTER03_CODE/GENERAL_VERSIONS/CMakeFiles/track.dir/track.cpp.o
Linking CXX executable ../../../bin/track
[ 24%] Built target track
Scanning dependencies of target example4.1
[ 26%] Building CXX object
CHAPTER04_CODE/GENERAL_VERSIONS/CMakeFiles/example4.1.dir/example4.1.c
pp.o
Linking CXX executable ../../../bin/example4.1
[ 26%] Built target example4.1
Scanning dependencies of target example4.2
[ 28%] Building CXX object
CHAPTER04_CODE/GENERAL_VERSIONS/CMakeFiles/example4.2.dir/example4.2.c
pp.o
Linking CXX executable ../../../bin/example4.2
[ 28%] Built target example4.2
Scanning dependencies of target example4.3
[ 31%] Building CXX object
CHAPTER04_CODE/GENERAL_VERSIONS/CMakeFiles/example4.3.dir/example4.3.c
pp.o
Linking CXX executable ../../../bin/example4.3
[ 31%] Built target example4.3
Scanning dependencies of target example5.1
[ 33%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.1.dir/example5.1.c
pp.o
Linking CXX executable ../../../bin/example5.1
[ 33%] Built target example5.1
Scanning dependencies of target example5.2
[ 35%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.2.dir/example5.2.c
pp.o
Linking CXX executable ../../../bin/example5.2
[ 35%] Built target example5.2
Scanning dependencies of target example5.3
[ 37%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.3.dir/example5.3.c
pp.o
Linking CXX executable ../../../bin/example5.3
[ 37%] Built target example5.3
Scanning dependencies of target example5.6
[ 40%] Building CXX object
CHAPTER05_CODE/GENERAL_VERSIONS/CMakeFiles/example5.6.dir/example5.6.c
pp.o
Linking CXX executable ../../../bin/example5.6
[ 40%] Built target example5.6
Scanning dependencies of target example7.1
[ 42%] Building CXX object
CHAPTER07_CODE/GENERAL_VERSIONS/CMakeFiles/example7.1.dir/example7.1.c
pp.o
Linking CXX executable ../../../bin/example7.1
[ 42%] Built target example7.1
Scanning dependencies of target example7.2
[ 44%] Building CXX object
CHAPTER07_CODE/GENERAL_VERSIONS/CMakeFiles/example7.2.dir/example7.2.c
pp.o
Linking CXX executable ../../../bin/example7.2
[ 44%] Built target example7.2
Scanning dependencies of target example7.3
[ 46%] Building CXX object
CHAPTER07_CODE/GENERAL_VERSIONS/CMakeFiles/example7.3.dir/example7.3.c
pp.o
Linking CXX executable ../../../bin/example7.3
[ 46%] Built target example7.3
Scanning dependencies of target example8.1
[ 48%] Building CXX object
CHAPTER08_CODE/GENERAL_VERSIONS/CMakeFiles/example8.1.dir/example8.1.c
pp.o
Linking CXX executable ../../../bin/example8.1
[ 48%] Built target example8.1
Scanning dependencies of target example8.2
[ 51%] Building CXX object
CHAPTER08_CODE/GENERAL_VERSIONS/CMakeFiles/example8.2.dir/example8.2.c
pp.o
Linking CXX executable ../../../bin/example8.2
[ 51%] Built target example8.2
Scanning dependencies of target example8.3
[ 53%] Building CXX object
CHAPTER08_CODE/GENERAL_VERSIONS/CMakeFiles/example8.3.dir/example8.3.c
pp.o
Linking CXX executable ../../../bin/example8.3
[ 53%] Built target example8.3
Scanning dependencies of target example9.1
[ 55%] Building CXX object
CHAPTER09_CODE/GENERAL_VERSIONS/CMakeFiles/example9.1.dir/example9.1.c
pp.o
Linking CXX executable ../../../bin/example9.1
[ 55%] Built target example9.1
Scanning dependencies of target example9.2
[ 57%] Building CXX object
CHAPTER09_CODE/GENERAL_VERSIONS/CMakeFiles/example9.2.dir/example9.2.c
pp.o
Linking CXX executable ../../../bin/example9.2
[ 57%] Built target example9.2
Scanning dependencies of target example10.1
[ 60%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.1.dir/example10.
1.cpp.o
Linking CXX executable ../../../bin/example10.1
[ 60%] Built target example10.1
Scanning dependencies of target example10.2
[ 62%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.2.dir/example10.
2.cpp.o
Linking CXX executable ../../../bin/example10.2
[ 62%] Built target example10.2
Scanning dependencies of target example10.3
[ 64%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.3.dir/example10.
3.cpp.o
Linking CXX executable ../../../bin/example10.3
[ 64%] Built target example10.3
Scanning dependencies of target example10.4
[ 66%] Building CXX object
CHAPTER10_CODE/GENERAL_VERSIONS/CMakeFiles/example10.4.dir/example10.
4.cpp.o
Linking CXX executable ../../../bin/example10.4
[ 66%] Built target example10.4
Scanning dependencies of target append_example_a10
[ 68%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a10.dir/ap
pend_example_a10.cpp.o
Linking CXX executable ../../../bin/append_example_a10
[ 68%] Built target append_example_a10
Scanning dependencies of target append_example_a2
[ 71%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a2.dir/app
end_example_a2.cpp.o
Linking CXX executable ../../../bin/append_example_a2
[ 71%] Built target append_example_a2
Scanning dependencies of target append_example_a3
[ 73%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a3.dir/app
end_example_a3.cpp.o
Linking CXX executable ../../../bin/append_example_a3
[ 73%] Built target append_example_a3
Scanning dependencies of target append_example_a4
[ 75%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a4.dir/app
end_example_a4.cpp.o
Linking CXX executable ../../../bin/append_example_a4
[ 75%] Built target append_example_a4
Scanning dependencies of target append_example_a5
[ 77%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a5.dir/app
end_example_a5.cpp.o
Linking CXX executable ../../../bin/append_example_a5
[ 77%] Built target append_example_a5
Scanning dependencies of target append_example_a6
[ 80%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a6.dir/app
end_example_a6.cpp.o
Linking CXX executable ../../../bin/append_example_a6
[ 80%] Built target append_example_a6
Scanning dependencies of target append_example_a7
[ 82%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a7.dir/app
end_example_a7.cpp.o
Linking CXX executable ../../../bin/append_example_a7
[ 82%] Built target append_example_a7
Scanning dependencies of target append_example_a8
[ 84%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a8.dir/app
end_example_a8.cpp.o
Linking CXX executable ../../../bin/append_example_a8
[ 84%] Built target append_example_a8
Scanning dependencies of target append_example_a9
[ 86%] Building CXX object
APPENDIX_A_EXAMPLES/MAC_VERSIONS/CMakeFiles/append_example_a9.dir/app
end_example_a9.cpp.o
Linking CXX executable ../../../bin/append_example_a9
[ 86%] Built target append_example_a9
Scanning dependencies of target test2.1
[ 88%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.1.dir/test2.1.cpp.o
Linking CXX executable ../../../bin/test2.1
[ 88%] Built target test2.1
Scanning dependencies of target test2.2
[ 91%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.2.dir/test2.2.cpp.o
Linking CXX executable ../../../bin/test2.2
[ 91%] Built target test2.2
Scanning dependencies of target test2.3
[ 93%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.3.dir/test2.3.cpp.o
Linking CXX executable ../../../bin/test2.3
[ 93%] Built target test2.3
Scanning dependencies of target test2.4
[ 95%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.4.dir/test2.4.cpp.o
Linking CXX executable ../../../bin/test2.4
[ 95%] Built target test2.4
Scanning dependencies of target test2.4b
[ 97%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.4b.dir/test2.4b.cpp.o
Linking CXX executable ../../../bin/test2.4b
[ 97%] Built target test2.4b
Scanning dependencies of target test2.5
[100%] Building CXX object
HOMEWORK/GENERAL_VERSIONS/CMakeFiles/test2.5.dir/test2.5.cpp.o
Linking CXX executable ../../../bin/test2.5
[100%] Built target test2.5
saidas-MacBook-Pro:CHAPTER03_CODE fiddu$ cd bin
-bash: cd: bin: No such file or directory
saidas-MacBook-Pro:CHAPTER03_CODE fiddu$ ./example3.1
-bash: ./example3.1: No such file or directory
saidas-MacBook-Pro:CHAPTER03_CODE fiddu$ cd..
-bash: cd..: command not found
saidas-MacBook-Pro:CHAPTER03_CODE fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ cd build
saidas-MacBook-Pro:build fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ cd bin
saidas-MacBook-Pro:bin fiddu$ ./example3.1
^C
saidas-MacBook-Pro:bin fiddu$ ./example3.2
/Users/fiddu/Documents/angel_code/shaders//MAC_VERSIONS/vshader32.glsl failed to
compile:
ERROR: 0:1: 'atttribute' : syntax error syntax error
saidas-MacBook-Pro:bin fiddu$ mv ~/Downloads/Mac
MacPorts-2.1.2-10.8-MountainLion.pkg MacVim-snapshot-65.tbz
MacVim-snapshot-65/
saidas-MacBook-Pro:bin fiddu$ mv ~/Downloads/Mac
MacPorts-2.1.2-10.8-MountainLion.pkg MacVim-snapshot-65.tbz
MacVim-snapshot-65/
saidas-MacBook-Pro:bin fiddu$ mv ~/Downloads/MacVim-snapshot-65/mvim /usr/
X11/ bin/ lib/ llvm-gcc-4.2/ share/
X11R6/ include/ libexec/ sbin/ standalone/
saidas-MacBook-Pro:bin fiddu$ mv ~/Downloads/MacVim-snapshot-65/mvim /usr/bin/
mv: rename /Users/fiddu/Downloads/MacVim-snapshot-65/mvim to /usr/bin/mvim:
Permission denied
saidas-MacBook-Pro:bin fiddu$ sudo mv ~/Downloads/MacVim-snapshot-65/mvim
/usr/bin/
Password:
saidas-MacBook-Pro:bin fiddu$ source ~/.profile
saidas-MacBook-Pro:bin fiddu$ mv
mv mvim mvn
saidas-MacBook-Pro:bin fiddu$ mv
mv mvim mvn
saidas-MacBook-Pro:bin fiddu$ mvim
saidas-MacBook-Pro:bin fiddu$ ls
append_example_a10 example2.3 example7.2
append_example_a2 example2.4 example7.3
append_example_a3 example2.4b example8.1
append_example_a4 example2.5 example8.2
append_example_a5 example3.1 example8.3
append_example_a6 example3.2 example9.1
append_example_a7 example3.6 example9.2
append_example_a8 example4.1 test2.1
append_example_a9 example4.2 test2.2
example10.1 example4.3 test2.3
example10.2 example5.1 test2.4
example10.3 example5.2 test2.4b
example10.4 example5.3 test2.5
example2.1 example5.6 track
example2.2 example7.1
saidas-MacBook-Pro:bin fiddu$ ./example3.2
^C
saidas-MacBook-Pro:bin fiddu$ ./example3.3
-bash: ./example3.3: No such file or directory
saidas-MacBook-Pro:bin fiddu$ ls
append_example_a10 example2.3 example7.2
append_example_a2 example2.4 example7.3
append_example_a3 example2.4b example8.1
append_example_a4 example2.5 example8.2
append_example_a5 example3.1 example8.3
append_example_a6 example3.2 example9.1
append_example_a7 example3.6 example9.2
append_example_a8 example4.1 test2.1
append_example_a9 example4.2 test2.2
example10.1 example4.3 test2.3
example10.2 example5.1 test2.4
example10.3 example5.2 test2.4b
example10.4 example5.3 test2.5
example2.1 example5.6 track
example2.2 example7.1
saidas-MacBook-Pro:bin fiddu$ ./example3.3
-bash: ./example3.3: No such file or directory
saidas-MacBook-Pro:bin fiddu$ cd..
-bash: cd..: command not found
saidas-MacBook-Pro:bin fiddu$ cd ..
saidas-MacBook-Pro:angel_code fiddu$ cd bin
saidas-MacBook-Pro:bin fiddu$ .examples3.3
-bash: .examples3.3: command not found
saidas-MacBook-Pro:bin fiddu$ ./examples3.3
-bash: ./examples3.3: No such file or directory
saidas-MacBook-Pro:bin fiddu$

Оценить