Created
August 29, 2012 03:29
-
-
Save nitrix/3506520 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nitrix at meow in ~/Projects/testga/build | |
$ cmake .. && make && ./testga | |
-- The C compiler identification is GNU 4.7.1 | |
-- The CXX compiler identification is GNU 4.7.1 | |
-- 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 | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/nitrix/Projects/testga/build | |
Scanning dependencies of target testga | |
[ 50%] Building C object CMakeFiles/testga.dir/dna.c.o | |
[100%] Building C object CMakeFiles/testga.dir/main.c.o | |
/home/nitrix/Projects/testga/main.c: In function ‘main’: | |
/home/nitrix/Projects/testga/main.c:7:5: warning: implicit declaration of function ‘createChromosome’ [-Wimplicit-function-declaration] | |
/home/nitrix/Projects/testga/main.c:7:32: warning: initialization makes pointer from integer without a cast [enabled by default] | |
Linking C executable testga | |
CMakeFiles/testga.dir/main.c.o: In function `main': | |
main.c:(.text+0xe): undefined reference to `createChromosome' | |
collect2: error: ld returned 1 exit status | |
make[2]: *** [testga] Error 1 | |
make[1]: *** [CMakeFiles/testga.dir/all] Error 2 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment