OSX: ld: library not found for -lfeature_selection
Bug #1069683 reported by
David Hart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenCog |
Fix Released
|
High
|
linas |
Bug Description
%make test
[ 1%] Generating feature_
[ 2%] Building CXX object tests/learning/
Linking CXX executable feature_
ld: library not found for -lfeature_selection
collect2: error: ld returned 1 exit status
make[3]: *** [tests/
make[2]: *** [tests/
make[1]: *** [CMakeFiles/
make: *** [test] Error 2
Changed in opencog: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm guessing that the following will fix this:
bzr rev 7886
=== modified file 'opencog/ CMakeLists. txt' CMakeLists. txt 2012-10-21 22:53:00 +0000 CMakeLists. txt 2012-10-22 16:13:40 +0000
--- opencog/
+++ opencog/
@@ -9,12 +9,12 @@
ADD_SUBDIRECTORY (util)
ADD_SUBDIRECTORY (comboreduct)
ADD_SUBDIRECTORY (reasoning)
+ADD_SUBDIRECTORY (learning)
IF (HAVE_ATOMSPACE) SUBDIRECTORY (atomspace) SUBDIRECTORY (benchmark) SUBDIRECTORY (query) SUBDIRECTORY (nlp) SUBDIRECTORY (persist)
ADD_
ADD_
ADD_
- ADD_SUBDIRECTORY (learning) # Dimensional reduction needs atomspace
ADD_
ADD_
ENDIF (HAVE_ATOMSPACE)
=== modified file 'opencog/ learning/ CMakeLists. txt' learning/ CMakeLists. txt 2012-10-12 06:25:24 +0000 learning/ CMakeLists. txt 2012-10-22 16:16:20 +0000
--- opencog/
+++ opencog/
@@ -1,6 +1,9 @@
-ADD_SUBDIRECTORY (moses)
-ADD_SUBDIRECTORY (feature-selection)
+IF (HAVE_MOSES)
+ ADD_SUBDIRECTORY (moses)
+ ADD_SUBDIRECTORY (feature-selection)
+ENDIF (HAVE_MOSES)
+
ADD_SUBDIRECTORY (statistics)
IF (HAVE_DIMEMBED)
=== modified file 'tests/ learning/ CMakeLists. txt' CMakeLists. txt 2010-11-01 16:18:59 +0000 CMakeLists. txt 2012-10-22 16:17:40 +0000 edding) edding)
--- tests/learning/
+++ tests/learning/
@@ -1,4 +1,11 @@
#ADD_SUBDIRECTORY (hillclimbing)
-ADD_SUBDIRECTORY (moses)
-ADD_SUBDIRECTORY (dimensionalemb
-ADD_SUBDIRECTORY (feature-selection)
+
+IF (HAVE_MOSES)
+ ADD_SUBDIRECTORY (moses)
+ ADD_SUBDIRECTORY (feature-selection)
+ENDIF (HAVE_MOSES)
+
+IF (HAVE_DIMEMBED)
+ ADD_SUBDIRECTORY (dimensionalemb
+ENDIF (HAVE_DIMEMBED)
+