What I'm curious about is how the FL directory ended up
/inside/ the visual studio distribution's directory.
Do you know how they got there?
Definitely don't do that. Better to modify your app build
instructions to append to the include path the location of
the top level FLTK directory you extracted the tar file to,
e.g.
C:\fltk-1.3.4-1
The IDEs definitely make this hard, though. At the compiler line
it's certainly simple enough to just add /I\path for MS compilers,
and -I/path for everything else. That hasn't changed since the 80's
for all platforms/compilers. But throw a gui on the compiler, and all
bets are off as to standard techniques for setting these things :(
FWIW, recent iterations of "cl" seem to be perfectly happy with "-I" for include paths; indeed it seems to accept "-" as a substitute for its usual use of "/" for options generally.I know this because I cobbled together a wrapper for "cl" that (almost) allows me to drop it in, in place of gcc in a standard Makefile, with auto dependency generation etc., and it pretty much works. (Well, for that one project, anyway. Not sure how general a solution it is...) Once you get past it's quirks, its a pretty decent compiler these days.Totally agree about IDE's just confusing matters though!
GS- /W3 /Zc:wchar_t /I"C:\Program Files (x86)\fltk-1.3.4-1" /ZI /Gm /Od /Fd"x64\Debug\vc141.pdb" /Zc:inline /fp:precise /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /MDd /std:c++14 /Fa"x64\Debug\" /EHsc /nologo /Fo"x64\Debug\" /Fp"x64\Debug\color-chart.pch" /diagnostics:classic
/OUT:"C:\Users\Osman\programming\visual studio 2017\Projects\programming_principles_practice_using_c++\color-chart\x64\Debug\color-chart.exe" /MANIFEST /NXCOMPAT /PDB:"C:\Users\Osman\programming\visual studio 2017\Projects\programming_principles_practice_using_c++\color-chart\x64\Debug\color-chart.pdb" /DYNAMICBASE "fltkd.lib" "fltk_formsd.lib" "fltk_gld.lib" "fltk_imagesd.lib" "fltk_jpegd.lib" "fltk_pngd.lib" "fltk_zd.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /DEBUG:FASTLINK /MACHINE:X64 /NODEFAULTLIB:"libcd.lib" /INCREMENTAL /PGD:"C:\Users\Osman\programming\visual studio 2017\Projects\programming_principles_practice_using_c++\color-chart\x64\Debug\color-chart.pgd" /SUBSYSTEM:WINDOWS /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"x64\Debug\color-chart.exe.intermediate.manifest" /ERRORREPORT:PROMPT /NOLOGO /LIBPATH:"C:\Program Files (x86)\fltk-1.3.4-1\lib\x64" /TLBID:1
1>.\adjuster_release\adjuster.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
1>------ Build started: Project: fltkzlib, Configuration: Release Win32 ------
2>------ Build started: Project: fltkjpeg, Configuration: Release Win32 ------
2>jcapimin.c
2>jcapistd.c
2>jccoefct.c
2>jccolor.c
2>jcdctmgr.c
2>jchuff.c
2>jcinit.c
2>jcmainct.c
1>adler32.c
1>compress.c
1>crc32.c
1>deflate.c
2>jcmarker.c
1>gzclose.c
1>gzlib.c
1>gzread.c
2>jcmaster.c
1>gzwrite.c
1>infback.c
2>jcomapi.c
2>jcparam.c
1>inffast.c
2>jaricom.c
1>inflate.c
2>jcarith.c
1>inftrees.c
2>jdarith.c
1>trees.c
2>jcprepct.c
1>uncompr.c
1>zutil.c
2>jcsample.c
2>jctrans.c
1>Generating Code...
2>jdapimin.c
2>jdapistd.c
2>Generating Code...
2>Compiling...
2>jdatadst.c
2>jdatasrc.c
2>jdcoefct.c
1>zlib.vcxproj -> C:\Program Files (x86)\fltk-1.3.4-1\ide\VisualC2010\..\..\lib\fltkzlib.lib
3>------ Build started: Project: fltkpng, Configuration: Release Win32 ------
2>jdcolor.c
2>jddctmgr.c
3>png.c
2>jdhuff.c
2>jdinput.c
2>jdmainct.c
2>jdmarker.c
2>jdmaster.c
2>jdmerge.c
2>jdpostct.c
2>jdsample.c
2>jdtrans.c
3>pngerror.c
2>jerror.c
2>jfdctflt.c
2>jfdctfst.c
3>pngget.c
2>jfdctint.c
2>jidctflt.c
3>pngmem.c
2>jidctfst.c
2>Generating Code...
3>pngpread.c
2>Compiling...
2>jidctint.c
2>jmemmgr.c
3>pngread.c
2>jmemnobs.c
2>jquant1.c
2>jquant2.c
3>pngrio.c
2>jutils.c
2>Generating Code...
3>pngrtran.c
3>pngrutil.c
2>jpeg.vcxproj -> C:\Program Files (x86)\fltk-1.3.4-1\ide\VisualC2010\..\..\lib\fltkjpeg.lib
3>pngset.c
3>pngtrans.c
3>pngwio.c
3>pngwrite.c
3>pngwtran.c
3>pngwutil.c
3>Generating Code...
3>libpng.vcxproj -> C:\Program Files (x86)\fltk-1.3.4-1\ide\VisualC2010\..\..\lib\fltkpng.lib
4>------ Build started: Project: fltk, Configuration: Release Win32 ------
4> 1 file(s) copied.
4>case.c
4>fl_call_main.c
4>fl_utf.c
4>flstring.c
4>is_right2left.c
4>is_spacing.c
4>numericsort.c
4>scandir.c
4>vsnprintf.c
4>Generating Code...
4>filename_absolute.cxx
4>filename_expand.cxx
4>filename_ext.cxx
4>filename_isdir.cxx
4>filename_list.cxx
4>filename_match.cxx
4>filename_setext.cxx
4>Fl.cxx
4>Fl_abort.cxx
4>Fl_add_idle.cxx
4>Fl_Adjuster.cxx
4>fl_arc.cxx
4>fl_arci.cxx
4>Fl_arg.cxx
4>fl_ask.cxx
4>Fl_Bitmap.cxx
4>Fl_Box.cxx
4>fl_boxtype.cxx
4>Fl_Browser.cxx
4>Fl_Browser_.cxx
4>Generating Code...
4>Compiling...
4>Fl_Browser_load.cxx
4>Fl_Button.cxx
4>Fl_Cairo.cxx
4>Fl_Chart.cxx
4>Fl_Check_Browser.cxx
4>Fl_Check_Button.cxx
4>Fl_Choice.cxx
4>Fl_Clock.cxx
4>fl_color.cxx
4>Fl_Color_Chooser.cxx
4>Fl_compose.cxx
4>Fl_Copy_Surface.cxx
4>Fl_Counter.cxx
4>fl_cursor.cxx
4>fl_curve.cxx
4>Fl_Device.cxx
4>Fl_Dial.cxx
4>fl_diamond_box.cxx
4>Fl_display.cxx
4>fl_dnd.cxx
4>Generating Code...
4>Compiling...
4>Fl_Double_Window.cxx
4>fl_draw.cxx
4>fl_draw_image.cxx
4>fl_draw_pixmap.cxx
4>fl_engraved_label.cxx
4>Fl_File_Browser.cxx
4>Fl_File_Chooser.cxx
4>Fl_File_Chooser2.cxx
4>fl_file_dir.cxx
4>Fl_File_Icon.cxx
4>Fl_File_Input.cxx
4>fl_font.cxx
4>Fl_get_key.cxx
4>Fl_get_system_colors.cxx
4>Fl_grab.cxx
4>Fl_Group.cxx
4>fl_gtk.cxx
4>fl_gleam.cxx
4>Fl_Help_View.cxx
4>Fl_Image.cxx
4>Generating Code...
4>Compiling...
4>Fl_Image_Surface.cxx
4>Fl_Input.cxx
4>Fl_Input_.cxx
4>fl_labeltype.cxx
4>Fl_Light_Button.cxx
4>fl_line_style.cxx
4>Fl_lock.cxx
4>Fl_Menu.cxx
4>Fl_Menu_.cxx
4>Fl_Menu_add.cxx
4>Fl_Menu_Bar.cxx
4>Fl_Menu_Button.cxx
4>Fl_Menu_global.cxx
4>Fl_Menu_Window.cxx
4>Fl_Multi_Label.cxx
4>Fl_Native_File_Chooser.cxx
4>fl_open_uri.cxx
4>fl_oval_box.cxx
4>fl_overlay.cxx
4>fl_overlay_visual.cxx
4>Generating Code...
4>Compiling...
4>Fl_Overlay_Window.cxx
4>Fl_own_colormap.cxx
4>Fl_Pack.cxx
4>Fl_Paged_Device.cxx
4>Fl_Pixmap.cxx
4>fl_plastic.cxx
4>Fl_Positioner.cxx
4>Fl_PostScript.cxx
4>Fl_Preferences.cxx
4>Fl_Printer.cxx
4>Fl_Progress.cxx
4>fl_read_image.cxx
4>fl_rect.cxx
4>Fl_Repeat_Button.cxx
4>Fl_Return_Button.cxx
4>Fl_Roller.cxx
4>fl_round_box.cxx
4>Fl_Round_Button.cxx
4>fl_rounded_box.cxx
4>Fl_Scroll.cxx
4>Generating Code...
4>Compiling...
4>fl_scroll_area.cxx
4>Fl_Scrollbar.cxx
4>fl_set_font.cxx
4>fl_set_fonts.cxx
4>fl_shadow_box.cxx
4>Fl_Shared_Image.cxx
4>fl_shortcut.cxx
4>fl_show_colormap.cxx
4>Fl_Single_Window.cxx
4>Fl_Slider.cxx
4>fl_symbols.cxx
4>Fl_Table.cxx
4>Fl_Table_Row.cxx
4>Fl_Tabs.cxx
4>Fl_Text_Buffer.cxx
4>Fl_Text_Display.cxx
4>Fl_Text_Editor.cxx
4>Fl_Tile.cxx
4>Fl_Tiled_Image.cxx
4>Fl_Tooltip.cxx
4>Generating Code...
4>Compiling...
4>Fl_Tree.cxx
4>Fl_Tree_Item.cxx
4>Fl_Tree_Item_Array.cxx
4>Fl_Tree_Prefs.cxx
4>fl_utf8.cxx
4>Fl_Valuator.cxx
4>Fl_Value_Input.cxx
4>Fl_Value_Output.cxx
4>Fl_Value_Slider.cxx
4>fl_vertex.cxx
4>Fl_visual.cxx
4>Fl_Widget.cxx
4>Fl_Window.cxx
4>Fl_Window_fullscreen.cxx
4>Fl_Window_hotspot.cxx
4>Fl_Window_iconize.cxx
4>Fl_Window_shape.cxx
4>Fl_Wizard.cxx
4>Fl_x.cxx
4>Fl_XBM_Image.cxx
4>Generating Code...
4>Compiling...
4>Fl_XPM_Image.cxx
4>ps_image.cxx
4>screen_xywh.cxx
4>Generating Code...
4>fltk.lib.vcxproj -> C:\Program Files (x86)\fltk-1.3.4-1\ide\VisualC2010\..\..\lib\fltk.lib
5>------ Build started: Project: fltkimages, Configuration: Release Win32 ------
6>------ Build started: Project: fltkforms, Configuration: Release Win32 ------
7>------ Build started: Project: fltkgl, Configuration: Release Win32 ------
8>------ Build started: Project: ask, Configuration: Release Win32 ------
6>forms_bitmap.cxx
6>forms_compatability.cxx
8>ask.cxx
6>forms_free.cxx
6>forms_fselect.cxx
6>forms_pixmap.cxx
8>.\ask_release\ask.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
8>Done building project "ask.vcxproj" -- FAILED.
9>------ Build started: Project: bitmap, Configuration: Release Win32 ------
6>forms_timer.cxx
9>bitmap.cxx
5>Fl_BMP_Image.cxx
5>Fl_File_Icon2.cxx
5>Fl_GIF_Image.cxx
6>Generating Code...
5>Fl_Help_Dialog.cxx
5>fl_images_core.cxx
5>Fl_JPEG_Image.cxx
5>Fl_PNG_Image.cxx
5>Fl_PNM_Image.cxx
5>Generating Code...
9>.\bitmap_release\bitmap.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
9>Done building project "bitmap.vcxproj" -- FAILED.
10>------ Build started: Project: boxtype, Configuration: Release Win32 ------
6>fltkforms.vcxproj -> C:\Program Files (x86)\fltk-1.3.4-1\ide\VisualC2010\..\..\lib\fltkforms.lib
5>fltkimages.vcxproj -> C:\Program Files (x86)\fltk-1.3.4-1\ide\VisualC2010\..\..\lib\fltkimages.lib
11>------ Build started: Project: browser, Configuration: Release Win32 ------
12>------ Build started: Project: pixmap_browser, Configuration: Release Win32 ------
10>boxtype.cxx
7>Fl_Gl_Choice.cxx
7>Fl_Gl_Device_Plugin.cxx
7>Fl_Gl_Overlay.cxx
7>Fl_Gl_Window.cxx
7>freeglut_geometry.cxx
7>freeglut_stroke_mono_roman.cxx
7>freeglut_stroke_roman.cxx
11>browser.cxx
10>.\boxtype_release\boxtype.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
10>Done building project "boxtype.vcxproj" -- FAILED.
13>------ Build started: Project: button, Configuration: Release Win32 ------
11>.\browser_release\browser.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
11>Done building project "browser.vcxproj" -- FAILED.
14>------ Build started: Project: buttons, Configuration: Release Win32 ------
12>pixmap_browser.cxx
12>.\pixmap_browser_release\pixmap_browser.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
12>Done building project "pixmap_browser.vcxproj" -- FAILED.
15>------ Build started: Project: fltkdll, Configuration: Release Win32 ------
14>buttons.cxx
15>case.c
14>.\buttons_release\buttons.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>fl_utf.c
14>Done building project "buttons.vcxproj" -- FAILED.
16>------ Build started: Project: clock, Configuration: Release Win32 ------
15>is_right2left.c
15>is_spacing.c
15>Generating Code...
7>freeglut_teapot.cxx
7>gl_draw.cxx
7>gl_start.cxx
7>glut_compatability.cxx
13>button.cxx
15>filename_absolute.cxx
16>clock.cxx
13>.\button_release\button.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
13>Done building project "button.vcxproj" -- FAILED.
17>------ Build started: Project: colbrowser, Configuration: Release Win32 ------
16>.\clock_release\clock.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>filename_expand.cxx
16>Done building project "clock.vcxproj" -- FAILED.
18>------ Build started: Project: color_chooser, Configuration: Release Win32 ------
17>colbrowser.cxx
15>filename_ext.cxx
15>filename_isdir.cxx
15>filename_list.cxx
7>glut_font.cxx
7>Generating Code...
15>filename_match.cxx
18>color_chooser.cxx
17>.\colbrowser_release\colbrowser.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
17>Done building project "colbrowser.vcxproj" -- FAILED.
19>------ Build started: Project: cursor, Configuration: Release Win32 ------
15>filename_setext.cxx
18>.\color_chooser_release\color_chooser.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
18>Done building project "color_chooser.vcxproj" -- FAILED.
20>------ Build started: Project: curve, Configuration: Release Win32 ------
15>Fl.cxx
19>cursor.cxx
7>fltkgl.vcxproj -> C:\Program Files (x86)\fltk-1.3.4-1\ide\VisualC2010\..\..\lib\fltkgl.lib
21>------ Build started: Project: cube, Configuration: Release Win32 ------
19>.\cursor_release\cursor.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
19>Done building project "cursor.vcxproj" -- FAILED.
22>------ Build started: Project: doublebuffer, Configuration: Release Win32 ------
22>doublebuffer.cxx
20>curve.cxx
15>Fl_abort.cxx
20>.\curve_release\curve.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
20>Done building project "curve.vcxproj" -- FAILED.
23>------ Build started: Project: file_chooser, Configuration: Release Win32 ------
15>Fl_add_idle.cxx
15>Fl_Adjuster.cxx
21>cube.cxx
23>file_chooser.cxx
15>fl_arc.cxx
22>.\doublebuffer_release\doublebuffer.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
22>Done building project "doublebuffer.vcxproj" -- FAILED.
24>------ Build started: Project: fonts, Configuration: Release Win32 ------
15>fl_arci.cxx
23>.\file_chooser_release\file_chooser.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
23>Done building project "file_chooser.vcxproj" -- FAILED.
25>------ Build started: Project: forms, Configuration: Release Win32 ------
21>.\cube_release\cube.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
21>Done building project "cube.vcxproj" -- FAILED.
26>------ Build started: Project: fractals, Configuration: Release Win32 ------
25>forms.cxx
15>Fl_arg.cxx
24>fonts.cxx
24>.\fonts_release\fonts.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
24>Done building project "fonts.vcxproj" -- FAILED.
27>------ Build started: Project: fullscreen, Configuration: Release Win32 ------
15>fl_ask.cxx
27>fullscreen.cxx
25>.\forms_release\forms.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
25>Done building project "forms.vcxproj" -- FAILED.
28>------ Build started: Project: gl_overlay, Configuration: Release Win32 ------
15>Fl_Bitmap.cxx
29>------ Build started: Project: glpuzzle, Configuration: Release Win32 ------
27>.\fullscreen_release\fullscreen.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
27>Done building project "fullscreen.vcxproj" -- FAILED.
30>------ Build started: Project: hello, Configuration: Release Win32 ------
28>gl_overlay.cxx
29>glpuzzle.cxx
28>.\gl_overlay_release\gl_overlay.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>Fl_BMP_Image.cxx
28>Done building project "gl_overlay.vcxproj" -- FAILED.
31>------ Build started: Project: help, Configuration: Release Win32 ------
15>Fl_Box.cxx
31>help.cxx
15>fl_boxtype.cxx
29>..\..\test\glpuzzle.cxx(107): warning C4838: conversion from 'double' to 'float' requires a narrowing conversion
29>..\..\test\glpuzzle.cxx(187): warning C4838: conversion from 'double' to 'float' requires a narrowing conversion
29>..\..\test\glpuzzle.cxx(217): warning C4838: conversion from 'double' to 'float' requires a narrowing conversion
29>..\..\test\glpuzzle.cxx(334): warning C4838: conversion from 'double' to 'float' requires a narrowing conversion
29>..\..\test\glpuzzle.cxx(1333): warning C4838: conversion from 'double' to 'float' requires a narrowing conversion
29>..\..\test\glpuzzle.cxx(1337): warning C4838: conversion from 'double' to 'float' requires a narrowing conversion
30>hello.cxx
29>.\glpuzzle_release\glpuzzle.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
29>Done building project "glpuzzle.vcxproj" -- FAILED.
32>------ Build started: Project: iconize, Configuration: Release Win32 ------
30>.\hello_release\hello.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
30>Done building project "hello.vcxproj" -- FAILED.
33>------ Build started: Project: image, Configuration: Release Win32 ------
15>Fl_Browser.cxx
31>.\help_release\help.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
31>Done building project "help.vcxproj" -- FAILED.
34>------ Build started: Project: input, Configuration: Release Win32 ------
33>image.cxx
34>input.cxx
15>Generating Code...
32>iconize.cxx
15>Compiling...
15>Fl_Browser_.cxx
32>.\iconize_release\iconize.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
32>Done building project "iconize.vcxproj" -- FAILED.
35>------ Build started: Project: label, Configuration: Release Win32 ------
33>.\image_release\image.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
33>Done building project "image.vcxproj" -- FAILED.
36>------ Build started: Project: line_style, Configuration: Release Win32 ------
35>label.cxx
34>.\input_release\input.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
34>Done building project "input.vcxproj" -- FAILED.
37>------ Build started: Project: menubar, Configuration: Release Win32 ------
36>line_style.cxx
37>menubar.cxx
15>Fl_Browser_load.cxx
15>Fl_Button.cxx
35>.\label_release\label.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
35>Done building project "label.vcxproj" -- FAILED.
38>------ Build started: Project: message, Configuration: Release Win32 ------
36>.\line_style_release\line_style.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
36>Done building project "line_style.vcxproj" -- FAILED.
39>------ Build started: Project: minimum, Configuration: Release Win32 ------
37>.\menubar_release\menubar.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
37>Done building project "menubar.vcxproj" -- FAILED.
40>------ Build started: Project: navigation, Configuration: Release Win32 ------
15>Fl_Chart.cxx
39>minimum.cxx
40>navigation.cxx
15>Fl_Check_Browser.cxx
38>message.cxx
38>.\message_release\message.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
38>Done building project "message.vcxproj" -- FAILED.
41>------ Build started: Project: output, Configuration: Release Win32 ------
39>.\minimum_release\minimum.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
39>Done building project "minimum.vcxproj" -- FAILED.
42>------ Build started: Project: overlay, Configuration: Release Win32 ------
41>output.cxx
40>.\navigation_release\navigation.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
40>Done building project "navigation.vcxproj" -- FAILED.
43>------ Build started: Project: pack, Configuration: Release Win32 ------
15>Fl_Check_Button.cxx
43>pack.cxx
15>Fl_Choice.cxx
42>overlay.cxx
41>.\output_release\output.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>Fl_Clock.cxx
41>Done building project "output.vcxproj" -- FAILED.
44>------ Build started: Project: pixmap, Configuration: Release Win32 ------
42>.\overlay_release\overlay.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
42>Done building project "overlay.vcxproj" -- FAILED.
45>------ Build started: Project: resizebox, Configuration: Release Win32 ------
43>.\pack_release\pack.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
45>resizebox.cxx
43>Done building project "pack.vcxproj" -- FAILED.
46>------ Build started: Project: scroll, Configuration: Release Win32 ------
15>fl_color.cxx
45>.\resizebox_release\resizebox.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>Fl_Color_Chooser.cxx
45>Done building project "resizebox.vcxproj" -- FAILED.
47>------ Build started: Project: shape, Configuration: Release Win32 ------
44>pixmap.cxx
46>scroll.cxx
44>.\pixmap_release\pixmap.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
44>Done building project "pixmap.vcxproj" -- FAILED.
46>.\scroll_release\scroll.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
48>------ Build started: Project: subwindow, Configuration: Release Win32 ------
46>Done building project "scroll.vcxproj" -- FAILED.
49>------ Build started: Project: sudoku, Configuration: Release Win32 ------
47>shape.cxx
49>sudoku.cxx
15>Fl_compose.cxx
15>Fl_Copy_Surface.cxx
48>subwindow.cxx
47>.\shape_release\shape.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
47>Done building project "shape.vcxproj" -- FAILED.
50>------ Build started: Project: symbols, Configuration: Release Win32 ------
48>.\subwindow_release\subwindow.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
48>Done building project "subwindow.vcxproj" -- FAILED.
51>------ Build started: Project: threads, Configuration: Release Win32 ------
50>symbols.cxx
51>threads.cxx
15>Fl_Counter.cxx
49>.\sudoku_release\sudoku.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
49>Done building project "sudoku.vcxproj" -- FAILED.
52>------ Build started: Project: tile, Configuration: Release Win32 ------
15>fl_cursor.cxx
50>.\symbols_release\symbols.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
50>Done building project "symbols.vcxproj" -- FAILED.
53>------ Build started: Project: tiled_image, Configuration: Release Win32 ------
51>.\threads_release\threads.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
51>Done building project "threads.vcxproj" -- FAILED.
54>------ Build started: Project: checkers, Configuration: Release Win32 ------
53>tiled_image.cxx
54>checkers.cxx
52>tile.cxx
15>fl_curve.cxx
52>.\tile_release\tile.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
52>Done building project "tile.vcxproj" -- FAILED.
55>------ Build started: Project: adjuster, Configuration: Release Win32 ------
15>Fl_Dial.cxx
55>adjuster.cxx
53>.\tiled_image_release\tiled_image.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
53>Done building project "tiled_image.vcxproj" -- FAILED.
56>------ Build started: Project: arc, Configuration: Release Win32 ------
15>fl_diamond_box.cxx
56>arc.cxx
55>.\adjuster_release\adjuster.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
54>.\checkers_release\checkers.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
54>Done building project "checkers.vcxproj" -- FAILED.
57>------ Build started: Project: input_choice, Configuration: Release Win32 ------
55>Done building project "adjuster.vcxproj" -- FAILED.
58>------ Build started: Project: utf8, Configuration: Release Win32 ------
15>Fl_display.cxx
57>input_choice.cxx
58>utf8.cxx
15>fl_dnd.cxx
56>.\arc_release\arc.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
56>Done building project "arc.vcxproj" -- FAILED.
59>------ Build started: Project: table, Configuration: Release Win32 ------
59>table.cxx
57>.\input_choice_release\input_choice.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
57>Done building project "input_choice.vcxproj" -- FAILED.
60>------ Build started: Project: blocks, Configuration: Release Win32 ------
58>.\utf8_release\utf8.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
58>Done building project "utf8.vcxproj" -- FAILED.
61>------ Build started: Project: rotated_text, Configuration: Release Win32 ------
60>blocks.cxx
15>Fl_Double_Window.cxx
61>rotated_text.cxx
59>.\table_release\table.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>Generating Code...
59>Done building project "table.vcxproj" -- FAILED.
62>------ Build started: Project: device, Configuration: Release Win32 ------
61>.\rotated_text_release\rotated_text.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
61>Done building project "rotated_text.vcxproj" -- FAILED.
63>------ Build started: Project: native-filechooser, Configuration: Release Win32 ------
60>.\blocks_release\blocks.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
60>Done building project "blocks.vcxproj" -- FAILED.
64>------ Build started: Project: cairo_test, Configuration: Release Win32 ------
15>Compiling...
15>fl_draw.cxx
63>native-filechooser.cxx
64>cairo_test.cxx
15>fl_draw_image.cxx
62>device.cxx
64>.\cairo_test_release\cairo_test.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
64>Done building project "cairo_test.vcxproj" -- FAILED.
65>------ Build started: Project: unittests, Configuration: Release Win32 ------
62>.\device_release\device.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
62>Done building project "device.vcxproj" -- FAILED.
65>unittests.cxx
15>fl_draw_pixmap.cxx
63>.\native-filechooser_release\native-filechooser.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>fl_engraved_label.cxx
63>Done building project "native-filechooser.vcxproj" -- FAILED.
15>Fl_File_Browser.cxx
65>.\unittests_release\unittests.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
65>Done building project "unittests.vcxproj" -- FAILED.
15>Fl_File_Chooser.cxx
15>Fl_File_Chooser2.cxx
15>fl_file_dir.cxx
15>Fl_File_Icon.cxx
15>Fl_File_Icon2.cxx
15>Fl_File_Input.cxx
15>fl_font.cxx
15>Fl_get_key.cxx
15>Fl_get_system_colors.cxx
15>Fl_GIF_Image.cxx
15>Fl_Gl_Choice.cxx
15>Fl_Gl_Overlay.cxx
15>Fl_Gl_Window.cxx
15>Fl_grab.cxx
15>Fl_Group.cxx
15>Generating Code...
15>Compiling...
15>Fl_Help_Dialog.cxx
15>Fl_Help_View.cxx
15>Fl_Image.cxx
15>Fl_Image_Surface.cxx
15>fl_images_core.cxx
15>Fl_Input.cxx
15>Fl_Input_.cxx
15>Fl_JPEG_Image.cxx
15>fl_labeltype.cxx
15>Fl_Light_Button.cxx
15>fl_line_style.cxx
15>Fl_lock.cxx
15>Fl_Menu.cxx
15>Fl_Menu_.cxx
15>Fl_Menu_add.cxx
15>Fl_Menu_Bar.cxx
15>Fl_Menu_Button.cxx
15>Fl_Menu_global.cxx
15>Fl_Menu_Window.cxx
15>Fl_Multi_Label.cxx
15>Generating Code...
15>Compiling...
15>fl_oval_box.cxx
15>fl_overlay.cxx
15>fl_overlay_visual.cxx
15>Fl_Overlay_Window.cxx
15>Fl_own_colormap.cxx
15>Fl_Pack.cxx
15>Fl_Paged_Device.cxx
15>Fl_Pixmap.cxx
15>fl_plastic.cxx
15>Fl_PNG_Image.cxx
15>Fl_PNM_Image.cxx
15>Fl_Positioner.cxx
15>Fl_PostScript.cxx
15>Fl_Preferences.cxx
15>Fl_Progress.cxx
15>fl_rect.cxx
15>Fl_Repeat_Button.cxx
15>Fl_Return_Button.cxx
15>Fl_Roller.cxx
15>fl_round_box.cxx
15>Generating Code...
15>Compiling...
15>Fl_Round_Button.cxx
15>fl_rounded_box.cxx
15>Fl_Scroll.cxx
15>fl_scroll_area.cxx
15>Fl_Scrollbar.cxx
15>fl_set_font.cxx
15>fl_set_fonts.cxx
15>fl_shadow_box.cxx
15>Fl_Shared_Image.cxx
15>fl_shortcut.cxx
15>fl_show_colormap.cxx
15>Fl_Single_Window.cxx
15>Fl_Slider.cxx
15>fl_symbols.cxx
15>Fl_Table.cxx
15>Fl_Table_Row.cxx
15>Fl_Tabs.cxx
15>Fl_Text_Buffer.cxx
15>Fl_Text_Display.cxx
15>Fl_Text_Editor.cxx
15>Generating Code...
15>Compiling...
15>Fl_Tile.cxx
15>Fl_Tiled_Image.cxx
15>Fl_Tooltip.cxx
15>Fl_Tree.cxx
15>Fl_Tree_Item.cxx
15>Fl_Tree_Item_Array.cxx
15>Fl_Tree_Prefs.cxx
15>Fl_Valuator.cxx
15>Fl_Value_Input.cxx
15>Fl_Value_Output.cxx
15>Fl_Value_Slider.cxx
15>fl_vertex.cxx
15>Fl_visual.cxx
15>Fl_Widget.cxx
15>Fl_Window.cxx
15>Fl_Window_fullscreen.cxx
15>Fl_Window_hotspot.cxx
15>Fl_Window_iconize.cxx
15>Fl_Window_shape.cxx
15>Fl_Wizard.cxx
15>Generating Code...
15>Compiling...
15>Fl_x.cxx
15>Fl_XBM_Image.cxx
15>Fl_XPM_Image.cxx
15>forms_bitmap.cxx
15>forms_compatability.cxx
15>forms_free.cxx
15>forms_fselect.cxx
15>forms_pixmap.cxx
15>forms_timer.cxx
15>gl_draw.cxx
15>gl_start.cxx
15>glut_compatability.cxx
15>glut_font.cxx
15>screen_xywh.cxx
15>Generating Code...
15>Fl_Cairo.cxx
15>Fl_Device.cxx
15>Fl_Gl_Device_Plugin.cxx
15>fl_gtk.cxx
15>fl_gleam.cxx
15>Fl_Native_File_Chooser.cxx
15>fl_open_uri.cxx
15>Fl_Printer.cxx
15>fl_read_image.cxx
15>fl_utf8.cxx
15>freeglut_geometry.cxx
15>freeglut_stroke_mono_roman.cxx
15>freeglut_stroke_roman.cxx
15>freeglut_teapot.cxx
15>ps_image.cxx
15>Generating Code...
15>flstring.c
15>numericsort.c
15>scandir.c
15>vsnprintf.c
15>Generating Code...
15>.\fltkdll_release\case.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
15>Done building project "fltkdll.vcxproj" -- FAILED.
66>------ Build started: Project: fluid, Configuration: Release Win32 ------
67>------ Build started: Project: editor, Configuration: Release Win32 ------
67>editor.cxx
66>about_panel.cxx
66>align_widget.cxx
66>alignment_panel.cxx
67>.\editor_release\editor.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
67>Done building project "editor.vcxproj" -- FAILED.
66>code.cxx
66>CodeEditor.cxx
66>ExternalCodeEditor_WIN32.cxx
66>factory.cxx
66>file.cxx
66>Fl_Function_Type.cxx
66>Fl_Group_Type.cxx
66>Fl_Menu_Type.cxx
66>Fl_Type.cxx
66>Fl_Widget_Type.cxx
66>Fl_Window_Type.cxx
66>fluid.cxx
66>Fluid_Image.cxx
66>function_panel.cxx
66>template_panel.cxx
66>undo.cxx
66>widget_panel.cxx
66>Generating Code...
66>.\fluid_release\about_panel.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
66>Done building project "fluid.vcxproj" -- FAILED.
68>------ Build started: Project: CubeView, Configuration: Release Win32 ------
69>------ Build started: Project: fast_slow, Configuration: Release Win32 ------
70>------ Build started: Project: inactive, Configuration: Release Win32 ------
71>------ Build started: Project: keyboard, Configuration: Release Win32 ------
70>Create .cxx and .h file with fluidd
70>Compiling fluid files ...
70>'..\fluid\fluid' is not recognized as an internal or external command,
70>operable program or batch file.
69>Create .cxx and .h file with fluid
69>Compiling fluid files ...
71>Create .cxx and .h file with fluid
71>Compiling fluid files ...
68>Create .cxx and .h file with fluid
68>Compiling fluid files ...
68>'..\fluid\fluid' is not recognized as an internal or external command,
68>operable program or batch file.
71>'..\fluid\fluid' is not recognized as an internal or external command,
71>operable program or batch file.
69>'..\fluid\fluid' is not recognized as an internal or external command,
69>operable program or batch file.
69>fast_slow.cxx
70>inactive.cxx
71>keyboard.cxx
69>c1xx : fatal error C1083: Cannot open source file: '..\..\test\fast_slow.cxx': No such file or directory
70>c1xx : fatal error C1083: Cannot open source file: '..\..\test\inactive.cxx': No such file or directory
70>Done building project "inactive.vcxproj" -- FAILED.
72>------ Build started: Project: mandelbrot, Configuration: Release Win32 ------
72>Create .cxx and .h file with fluid
72>Compiling fluid files ...
72>'..\fluid\fluid' is not recognized as an internal or external command,
72>operable program or batch file.
72>mandelbrot.cxx
71>keyboard_ui.cxx
71>c1xx : fatal error C1083: Cannot open source file: '..\..\test\keyboard_ui.cxx': No such file or directory
71>Generating Code...
71>Done building project "keyboard.vcxproj" -- FAILED.
73>------ Build started: Project: preferences, Configuration: Release Win32 ------
73>Create .cxx and .h file with fluid
73>Compiling fluid files ...
73>'..\fluid\fluid' is not recognized as an internal or external command,
73>operable program or batch file.
72>mandelbrot_ui.cxx
72>c1xx : fatal error C1083: Cannot open source file: '..\..\test\mandelbrot_ui.cxx': No such file or directory
72>Generating Code...
73>preferences.cxx
73>c1xx : fatal error C1083: Cannot open source file: '..\..\test\preferences.cxx': No such file or directory
69>Done building project "fast_slow.vcxproj" -- FAILED.
74>------ Build started: Project: radio, Configuration: Release Win32 ------
73>Done building project "preferences.vcxproj" -- FAILED.
75>------ Build started: Project: resize, Configuration: Release Win32 ------
72>Done building project "mandelbrot.vcxproj" -- FAILED.
76>------ Build started: Project: tabs, Configuration: Release Win32 ------
75>Create .cxx and .h file with fluid
76>Create tabs.cxx and tabs.h file with fluid
68>CubeMain.cxx
68>CubeView.cxx
68>CubeViewUI.cxx
75>Compiling fluid files ...
75>'..\fluid\fluid' is not recognized as an internal or external command,
75>operable program or batch file.
76>Compiling fluid files ...
76>'..\fluid\fluid' is not recognized as an internal or external command,
76>operable program or batch file.
68>c1xx : fatal error C1083: Cannot open source file: '..\..\test\CubeViewUI.cxx': No such file or directory
68>Generating Code...
68>Done building project "CubeView.vcxproj" -- FAILED.
77>------ Build started: Project: valuators, Configuration: Release Win32 ------
75>resize.cxx
75>c1xx : fatal error C1083: Cannot open source file: '..\..\test\resize.cxx': No such file or directory
76>tabs.cxx
76>c1xx : fatal error C1083: Cannot open source file: '..\..\test\tabs.cxx': No such file or directory
75>Done building project "resize.vcxproj" -- FAILED.
78>------ Build started: Project: tree, Configuration: Release Win32 ------
76>Done building project "tabs.vcxproj" -- FAILED.
77>Create .cxx and .h file with fluid
77>Compiling fluid files ...
77>'..\fluid\fluid' is not recognized as an internal or external command,
77>operable program or batch file.
78>Create tree.cxx and tree.h file with fluid
78>Compiling fluid files ...
78>'..\fluid\fluid' is not recognized as an internal or external command,
78>operable program or batch file.
77>valuators.cxx
77>c1xx : fatal error C1083: Cannot open source file: '..\..\test\valuators.cxx': No such file or directory
77>Done building project "valuators.vcxproj" -- FAILED.
78>tree.cxx
78>c1xx : fatal error C1083: Cannot open source file: '..\..\test\tree.cxx': No such file or directory
78>Done building project "tree.vcxproj" -- FAILED.
79>------ Build started: Project: demo, Configuration: Release Win32 ------
79>demo.cxx
79>.\demo_release\demo.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
79>Done building project "demo.vcxproj" -- FAILED.
========== Build: 7 succeeded, 72 failed, 0 up-to-date, 0 skipped ==========
/GS- /analyze- /W1 /Zc:wchar_t /I"." /I"..\..\zlib" /I"..\..\png" /I"..\..\jpeg" /I"../.." /Zi /Gm- /Od /Ob2 /Fd".\demo_release\vc141.pdb" /Zc:inline /fp:precise /D "WIN32" /D "_CRT_SECURE_NO_DEPRECATE" /D "NDEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /D "_VC80_UPGRADE=0x0710" /errorReport:prompt /WX- /Zc:forScope /Gd /Oy- /MD /std:c++14 /Fa".\demo_release\" /EHsc /nologo /Fo".\demo_release\" /Os /Fp".\demo_release\demo.pch" /diagnostics:classic
/OUT:"../../test/demo.exe" /MANIFEST /PDB:".\demo_release\demo.pdb" /DYNAMICBASE:NO "fltk.lib" "comctl32.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "C:\Program Files (x86)\fltk-1.3.4-1\lib\fltk.lib" "C:\Program Files (x86)\fltk-1.3.4-1\lib\fltkforms.lib" "C:\Program Files (x86)\fltk-1.3.4-1\lib\fltkgl.lib" "C:\Program Files (x86)\fltk-1.3.4-1\lib\fltkimages.lib" "C:\Program Files (x86)\fltk-1.3.4-1\lib\fltkjpeg.lib" "C:\Program Files (x86)\fltk-1.3.4-1\lib\fltkpng.lib" "C:\Program Files (x86)\fltk-1.3.4-1\lib\fltkzlib.lib" "C:\Program Files (x86)\fltk-1.3.4-1\test\fltkdll.lib" /DEBUG:FULL /MACHINE:X64 /NODEFAULTLIB:"libcd" /SAFESEH /INCREMENTAL:NO /PGD:"..\..\test\demo.pgd" /SUBSYSTEM:WINDOWS /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:".\demo_release\demo.exe.intermediate.manifest" /ERRORREPORT:PROMPT /NOLOGO /LIBPATH:"..\..\lib" /TLBID:1
One question: When FLTK later only supports CMake builds, will it create problems when one has to later use those builds to build FLTK in Visual Studio as a separate step like I did here? Or is this completely normal?