Hi, I cannot build the trunk of hugin, because the build rules want to use the version of libpano from /usr/lib/ instead of the recent svn checkout I compiled and installed in /home/adl/usr/lib/.
Basically in the GNU Build System I would just have to run "./configure CPPFLAGS=-I$HOME/usr/include LDLFAGS=-L$HOME/usr/lib". Unfortunately hugin moved away from the only build system I understand. Can someone teach me how to do that with cmake? I'm afraid if already spent 2h trying to figure this out :-( I would love to see INSTALL_cmake updated with the answer, since I think it is needed by anybody who build and install packages in his account. (Since INSTALL_cmake does not help, I tried cmake --help. I then discovered some variables and some properties (with no explanation of what is the difference) that sounded related to my problem. I tried things like "cmake -DCMAKE_INSTALL_PREFIX=$HOME -DCOMPILE_FLAGS=-I$HOME/usr/include -DLINK_FLAGS=-L$HOME/usr/lib" or "cmake -DCMAKE_INSTALL_PREFIX=$HOME -DCMAKE_PREFIX_PATH=$HOME -DCMAKE_C_INCLUDE_PATH=$HOME/usr/include -DCMAKE_C_LIBRARY_PATH=$HOME/usr/lib", but without any success) BTW, shouldn't the cmake script check that the libpano library it selects contains the expected interfaces before even allowing a build? It seems strange to let the user start a build and then discover they do not have to right version. (Or in my case, that the wrong version is used.) Thanks, -- Alexandre Duret-Lutz -- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
