> C:\Users\szukw000\LIB\FLTK\fltk-1.4.x-2022-09-26-1\examples>nmake
That's not going to work -- with cmake builds you have to be in the cmake build directory to build stuff.
If you want to build and run the FLTK examples with nmake, you'd build FLTK with cmake, ensuring FLTK_BUILD_EXAMPLES=on (builds of the examples are off by default):
cmake -G "NMake Makefiles" -D FLTK_BUILD_EXAMPLES=on -D CMAKE_BUILD_TYPE=Release ..
nmake
After that, the FLTK examples executables will be in bin\examples\*.exe . So with Win10 + VS 2019 using the above cmake/nmake commands, I end up with:
Z:\tmp\fltk-1.4.x-git\build-nmake>dir bin\examples\*.exe
Volume in drive Z is net
Volume Serial Number is 2EB8-76D9
Directory of Z:\tmp\fltk-1.4.x-git\build-nmake\bin\examples
09/29/2022 12:53 PM 622,080 browser-simple.exe
09/29/2022 12:55 PM 591,360 cairo-draw-x.exe
09/29/2022 12:53 PM 600,576 chart-simple.exe
09/29/2022 12:53 PM 574,976 draggable-group.exe
[..]
09/29/2022 12:55 PM 629,760 tree-custom-sort.exe
09/29/2022 12:54 PM 659,456 tree-of-tables.exe
09/29/2022 12:55 PM 627,712 tree-simple.exe
09/29/2022 12:55 PM 615,936 wizard-simple.exe
38 File(s) 23,666,688 bytes
0 Dir(s) 499,737,956,352 bytes free
Z:\tmp\fltk-1.4.x-git\build-nmake>
OK, I give up.
Yes, well next time please reduce the problem as requested by the developers. We shouldn't have to comb through a zip file containing 42 files and 2700 lines of code. That's basically like saying 'here debug my program'.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/496/1262760071@github.com>
[ Direct Link to Message ] |