[Pkg-octave-devel] qtoctave versus cmake 2.6
    Thomas Weber 
    thomas.weber.mail at gmail.com
       
    Thu May 29 11:38:17 UTC 2008
    
    
  
Hi, 
I'm one of qtoctave's Debian maintainers. When compiling qtoctave 0.7.4
with cmake 2.6, the following errors happen:
===========================================================================
CMake Error in src/CMakeLists.txt:
  Cannot find source file "moc_dynamic_help.cxx".  Tried extensions .c .C
  .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error in src/CMakeLists.txt:
  Cannot find source file "moc_general_menu.cxx".  Tried extensions .c .C
  .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error in src/CMakeLists.txt:
  Cannot find source file "moc_table_plot.cxx".  Tried extensions .c .C .c++
  .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error in src/CMakeLists.txt:
  Cannot find source file "moc_projects.cxx".  Tried extensions .c .C .c++
  .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
cmake: /build/buildd/cmake-2.6.0/Source/cmLocalGenerator.cxx:2440: std::string cmLocalGenerator::GetObjectFileNameWithoutTarget(const cmSourceFile&, size_t, bool*): Assertion `!relFromSource.empty()' failed.
Aborted
===========================================================================
These are the files that have a separate path in src/CMakeLists.txt's
QT4_WRAP_CPP macros. I have a patch ready, but I don't know whether this
will brake the build with 2.4. Any suggestions?
By the way, how should we submit patches for qtoctave?
	Thomas
    
    
More information about the Pkg-octave-devel
mailing list