[CMake] Help cmake First project
Bill Hoffman
bill.hoffman at kitware.com
Mon Aug 4 11:54:57 EDT 2014
On 8/4/2014 10:26 AM, Rodrigo Faccioli wrote:
> protpred-Gromacs-NSGA2.c:(.text+0x1e): undefined reference to `display_msg'
> protpred-Gromacs-NSGA2.c:(.text+0x3e): undefined reference to
> `load_parameters_from_file'
> protpred-Gromacs-NSGA2.c:(.text+0x58): undefined reference to `ea_nsga2'
> protpred-Gromacs-NSGA2.c:(.text+0x64): undefined reference to `fatal_error'
> protpred-Gromacs-NSGA2.c:(.text+0x73): undefined reference to
> `deAllocateload_parameters'
> protpred-Gromacs-NSGA2.c:(.text+0x7d): undefined reference to `display_msg'
You have to find out where these symbols are defined. If you have a
working Makefile version use nm and grep to find the places. You can
also grep your source tree. You are either missing a source file, or a
-D option.
Another approach is to run make VERBOSE=1 and compare the build command
lines to your Makefile build.
-Bill
More information about the CMake
mailing list