>
>       Change the file that controls building/linking.
>
>       If using 'make' to build, then modify the Makefile.
>       If using 'cmake', then I think that would be CMakeLists.txt
>


Now I used cmake-qtgui
The console has drawn not clear conclusion (fltk::RED! :)  ):

In CMake 2.2 the FLTK_WRAP_UI command sets a variable to the list of source 
files that should be added to your executable or library. It appears that you 
have not added these source files to your target. You should change your 
CMakeLists.txt file to directly add the generated files to the target. For 
example FTLK_WRAP_UI(foo src1 src2 src3) will create a variable named 
foo_FLTK_UI_SRCS that contains the list of sources to add to your target when 
you call ADD_LIBRARY or ADD_EXECUTABLE. For now CMake will add the sources to 
your target for you as was done in CMake 2.0 and earlier. In the future this 
may become an error.The problem was found while processing the source 
directory: /home/user/yoshimi/yoshimi/src


Probably, in it a cause of error
But in cmakelist.txt it is written:

set (FLTK_sources
   UI/WidgetPDialUI.fl  UI/PresetsUI.fl  UI/EnvelopeUI.fl
   UI/LFOUI.fl  UI/FilterUI.fl  UI/VirKeyboardUI.fl
   UI/ConfigUI.fl  UI/SUBnoteUI.fl  UI/ResonanceUI.fl
   UI/OscilGenUI.fl  UI/ADnoteUI.fl  UI/PADnoteUI.fl
   UI/EffUI.fl  UI/BankUI.fl  UI/PartUI.fl
   UI/MicrotonalUI.fl  UI/MasterUI.fl  UI/MasterMiscUI.fl
   UI/GuiThreadUI.fl UI/ParametersUI.fl UI/ConsoleUI.fl
)
fltk_wrap_ui(yoshimi ${FLTK_sources})
set_source_files_properties(UI/MasterUI.h PROPERTIES GENERATED 1)

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to