Make examples fails, atom_types.h not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenCog |
Fix Released
|
Low
|
linas |
Bug Description
alex@ubuntu:
Building examples
[ 5%] Built target attention_
[ 5%] Built target opencog_atom_types
[ 5%] Building CXX object examples/
In file included from /home/alex/
/home/alex/
compilation terminated.
make[6]: *** [examples/
make[5]: *** [examples/
make[4]: *** [all] Error 2
make[3]: *** [CMakeFiles/
make[2]: *** [CMakeFiles/
make[1]: *** [CMakeFiles/
make: *** [examples] Error 2
alex@ubuntu:
7874
Changed in opencog: | |
status: | Fix Committed → Fix Released |
This should fix it, I will push this shortly
=== modified file 'examples/ atomtypes/ CMakeLists. txt' atomtypes/ CMakeLists. txt 2009-04-16 21:37:25 +0000 atomtypes/ CMakeLists. txt 2012-10-22 15:18:03 +0000 S(lib_or_ exec_name example_atom_types)
--- examples/
+++ examples/
@@ -10,6 +10,9 @@
# you must add a dependency to this target, as follows:
# ADD_DEPENDENCIE
+# The atom_types.h file is written to the build directory DIRECTORIES( ${CMAKE_ BINARY_ DIR}) esTester
+INCLUDE_
+
ADD_LIBRARY (customatomtypes SHARED
atom_types
CustomAtomTyp
@@ -18,3 +21,4 @@
ADD_DEPENDENCI ES(customatomty pes opencog_atom_types) ES(customatomty pes attention_ atom_types) ES(customatomty pes examples_ atom_types)
ADD_DEPENDENCI
+ADD_DEPENDENCI