> > Also, I had to add an include path for Eigen to fix building, do I have
> > to make a separate branch for that single commit?
> I'm not sure why that (adding an Eigen include path) would be necessary.
> That should be covered by CMake. Why don't you comment on your problems
> with Eigen and we'll see if it can be fixed outside of a patch.
Well, CMake finds both Eigen2 and Eigen3, but build fails with 'fatal error:
Eigen/Core: No such file or directory' unless I patch it with
diff --git a/libavogadro/src/colors/CMakeLists.txt
b/libavogadro/src/colors/CMakeLists.txt
index a967516..c0836a8 100644
--- a/libavogadro/src/colors/CMakeLists.txt
+++ b/libavogadro/src/colors/CMakeLists.txt
@@ -6,7 +6,7 @@ ADD_DEFINITIONS(-DQT_SHARED)
set(DESTINATION_DIR ${Avogadro_PLUGIN_INSTALL_DIR}/colors)
-include_directories(${CMAKE_CURRENT_BINARY_DIR})
+include_directories(${CMAKE_CURRENT_BINARY_DIR} ${EIGEN_INCLUDE_DIR})
set(LINK_LIBS avogadro)
set(PLUGIN_LABEL colors)
---
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel