Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] linking problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] linking problem


Chronological Thread 
  • From: Joachim Reichel <>
  • To:
  • Subject: Re: [cgal-discuss] linking problem
  • Date: Mon, 21 Jan 2008 13:34:59 +0100

Hi,

> all: Epitopia$(EXE_EXT)
>
>
> Scan$(OBJ_EXT): Scan.cpp
> $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) Scan.cpp
>
> svm_classify$(OBJ_EXT):svm_classify.cpp
> $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) svm_classify.cpp
>
> Epitopia$(OBJ_EXT):Epitopia.cpp
> $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) Epitopia.cpp
>
> Epitopia$(EXE_EXT): Epitopia$(OBJ_EXT) Scan$(OBJ_EXT)
> svm_classify$(OBJ_EXT)
>
> $(CGAL_CXX) $(LIBPATH) $(EXE_OPT)Epitopia Epitopia$(OBJ_EXT) Scan$(OBJ_EXT)
> svm_classify$(OBJ_EXT) $(LDFLAGS)

the identation is very strange. Please make sure not to change/introduce
spaces/tabs/newlines, since these have a particular meaning in a makefile.

There should be no whitespaces at the beginning of the lines containing
":" and a space after ":". There should be a tab before commands (lines
starting with $(CGAL_CXX) in this excerpt). There should be no newline
between the dependency line (a line with ":") and the following commands
(i.e. the last empty line should be removed).

If it doesn't work, regenerate the makefile with cgal_create_makefile
and readd "can$(OBJ_EXT) svm_classify$(OBJ_EXT)".

(I see that you added "Scan$(OBJ_EXT) svm_classify$(OBJ_EXT)" to the
dependecy line *and* the following command. This is correct (in the
previous mail I forgot about the command line).)

Joachim



Archive powered by MHonArc 2.6.16.

Top of Page