joyhughes / Jen

Image processing, generative photography, cellular automata
https://discord.gg/GQQHUbkf
23 stars 20 forks source link

compile error main branch #108

Closed rudi-cilibrasi closed 4 months ago

rudi-cilibrasi commented 4 months ago

Consolidate compiler generated dependencies of target common [ 73%] Built target common Consolidate compiler generated dependencies of target lux [ 76%] Building CXX object CMakeFiles/lux.dir/src/lux.cpp.o In file included from /home/rudi/src/joy/Jen/Lux/src/lux.cpp:11: /home/rudi/src/joy/Jen/Lux/src/warp.hpp:41:41: error: no matching member function for call to 'bb_map' coord = vf.get_bounds().bb_map( { x, y }, vf.get_ipbounds() );


/home/rudi/src/joy/Jen/Lux/src/vect2.hpp:174:36: note: candidate template ignored: couldn't infer template argument 'U'
    template< class U, class W > V bb_map( const linalg::vec< U, M >& in, const bounding_box< W, M >& target ) const
                                   ^
In file included from /home/rudi/src/joy/Jen/Lux/src/lux.cpp:11:
/home/rudi/src/joy/Jen/Lux/src/warp.hpp:77:41: error: no matching member function for call to 'bb_map'
                coord = vf.get_bounds().bb_map( { x, y }, vf.get_ipbounds() );
                        ~~~~~~~~~~~~~~~~^~~~~~
/home/rudi/src/joy/Jen/Lux/src/vect2.hpp:174:36: note: candidate template ignored: couldn't infer template argument 'U'
    template< class U, class W > V bb_map( const linalg::vec< U, M >& in, const bounding_box< W, M >& target ) const
                                   ^
2 errors generated.
make[2]: *** [CMakeFiles/lux.dir/build.make:76: CMakeFiles/lux.dir/src/lux.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/lux.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

gh commit hash a18ce914e32b59c2830c9e847bee5a9b5ec25a8f
joyhughes commented 4 months ago

PR #115 closes issue