Topic: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

I get:

==============================================================================
Generating Makefile... Okay
==============================================================================
Makefile(46): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(53): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(60): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(74): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(88): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(95): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(102): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(109): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(137): Error(E24): More than one command list found for (modules\ln_handlers.mod)
Makefile(144): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(151): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(158): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(172): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(179): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(186): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(200): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(215): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(222): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(229): Error(E24): More than one command list found for (modules\handlers.mod)
Makefile(237): Error(E24): More than one command list found for (modules\handlers.mod)
Error(E02): Make execution terminated
* Failed *


any suggestions?

Thanks,
Dave

Re: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

Here is my makefile

#
# Automagically generated by Approximatrix Simply Fortran 2.11
#
FC="C:\Program Files\Simply Fortran 2\mingw-w64\bin\gfortran.exe"
CC="C:\Program Files\Simply Fortran 2\mingw-w64\bin\gcc.exe"
AR="C:\Program Files\Simply Fortran 2\mingw-w64\bin\ar.exe"
WRC="C:\PROGRA~1\SIMPLY~1\MINGW-~1\bin\windres.exe"
RM=rm -f

IDIR=-I"C:/Documents and Settings/Owner/Local Settings/Application Data///sfpm/32/include"
# -I error: Directory C:\Program Files\Simply Fortran 2\mingw-w64\include\ does not exist

LDIR=-L"C:/Program Files/Simply Fortran 2/mingw-w64/lib/" -L"C:/Documents and Settings/Owner/Local Settings/Application Data///sfpm/32/lib"


OPTFLAGS= -g

SPECIALFLAGS=-m32 $(IDIR)

RCFLAGS=-O coff -F pe-i386

PRJ_FFLAGS=

PRJ_CFLAGS=-mms-bitfields

PRJ_LFLAGS=-lgtk-3-fortran -lgtk-3.dll -lgdk-3.dll -lgthread-2.0.dll -lgdi32 -lole32 -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lpangowin32-1.0.dll -lpango-1.0.dll -lcairo.dll -lcairo-gobject.dll -lgobject-2.0.dll -lgmodule-2.0.dll -lglib-2.0.dll -lintl.dll

FFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_FFLAGS) -Jmodules

CFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_CFLAGS)

"build\bazaar.o": "bazaar.f90"
    @echo Compiling bazaar.f90
    @$(FC) -c -o "build\bazaar.o" $(FFLAGS) "bazaar.f90"
"modules\my_widgets.mod" "modules\handlers.mod" : "build\bazaar.o" .EXISTSONLY
    @echo Compiling bazaar.f90
    @$(FC) -c -o "build\bazaar.o" $(FFLAGS) "bazaar.f90"

"build\cairo-basics-click.o": "cairo-basics-click.f90" "modules\handlers.mod"
    @echo Compiling cairo-basics-click.f90
    @$(FC) -c -o "build\cairo-basics-click.o" $(FFLAGS) "cairo-basics-click.f90"
"modules\handlers.mod" : "build\cairo-basics-click.o" .EXISTSONLY
    @echo Compiling cairo-basics-click.f90
    @$(FC) -c -o "build\cairo-basics-click.o" $(FFLAGS) "cairo-basics-click.f90"

"build\cairo-basics.o": "cairo-basics.f90" "modules\handlers.mod"
    @echo Compiling cairo-basics.f90
    @$(FC) -c -o "build\cairo-basics.o" $(FFLAGS) "cairo-basics.f90"
"modules\handlers.mod" : "build\cairo-basics.o" .EXISTSONLY
    @echo Compiling cairo-basics.f90
    @$(FC) -c -o "build\cairo-basics.o" $(FFLAGS) "cairo-basics.f90"

"build\cairo-tests.o": "cairo-tests.f90" "modules\handlers.mod"
    @echo Compiling cairo-tests.f90
    @$(FC) -c -o "build\cairo-tests.o" $(FFLAGS) "cairo-tests.f90"
"modules\handlers.mod" : "build\cairo-tests.o" .EXISTSONLY
    @echo Compiling cairo-tests.f90
    @$(FC) -c -o "build\cairo-tests.o" $(FFLAGS) "cairo-tests.f90"

"build\hl_assistant.o": "hl_assistant.f90"
    @echo Compiling hl_assistant.f90
    @$(FC) -c -o "build\hl_assistant.o" $(FFLAGS) "hl_assistant.f90"
"modules\as_handlers.mod" : "build\hl_assistant.o" .EXISTSONLY
    @echo Compiling hl_assistant.f90
    @$(FC) -c -o "build\hl_assistant.o" $(FFLAGS) "hl_assistant.f90"

"build\hl_cairo1.o": "hl_cairo1.f90" "modules\handlers.mod"
    @echo Compiling hl_cairo1.f90
    @$(FC) -c -o "build\hl_cairo1.o" $(FFLAGS) "hl_cairo1.f90"
"modules\handlers.mod" : "build\hl_cairo1.o" .EXISTSONLY
    @echo Compiling hl_cairo1.f90
    @$(FC) -c -o "build\hl_cairo1.o" $(FFLAGS) "hl_cairo1.f90"

"build\hl_cairo_clock.o": "hl_cairo_clock.f90"
    @echo Compiling hl_cairo_clock.f90
    @$(FC) -c -o "build\hl_cairo_clock.o" $(FFLAGS) "hl_cairo_clock.f90"
"modules\cl_handlers.mod" : "build\hl_cairo_clock.o" .EXISTSONLY
    @echo Compiling hl_cairo_clock.f90
    @$(FC) -c -o "build\hl_cairo_clock.o" $(FFLAGS) "hl_cairo_clock.f90"

"build\hl_choosers.o": "hl_choosers.f90" "modules\handlers.mod"
    @echo Compiling hl_choosers.f90
    @$(FC) -c -o "build\hl_choosers.o" $(FFLAGS) "hl_choosers.f90"
"modules\handlers.mod" : "build\hl_choosers.o" .EXISTSONLY
    @echo Compiling hl_choosers.f90
    @$(FC) -c -o "build\hl_choosers.o" $(FFLAGS) "hl_choosers.f90"

"build\hl_combo.o": "hl_combo.f90" "modules\handlers.mod"
    @echo Compiling hl_combo.f90
    @$(FC) -c -o "build\hl_combo.o" $(FFLAGS) "hl_combo.f90"
"modules\handlers.mod" : "build\hl_combo.o" .EXISTSONLY
    @echo Compiling hl_combo.f90
    @$(FC) -c -o "build\hl_combo.o" $(FFLAGS) "hl_combo.f90"

"build\hl_containers.o": "hl_containers.f90" "modules\handlers.mod"
    @echo Compiling hl_containers.f90
    @$(FC) -c -o "build\hl_containers.o" $(FFLAGS) "hl_containers.f90"
"modules\handlers.mod" : "build\hl_containers.o" .EXISTSONLY
    @echo Compiling hl_containers.f90
    @$(FC) -c -o "build\hl_containers.o" $(FFLAGS) "hl_containers.f90"

"build\hl_dialog.o": "hl_dialog.f90" "modules\handlers.mod"
    @echo Compiling hl_dialog.f90
    @$(FC) -c -o "build\hl_dialog.o" $(FFLAGS) "hl_dialog.f90"
"modules\handlers.mod" : "build\hl_dialog.o" .EXISTSONLY
    @echo Compiling hl_dialog.f90
    @$(FC) -c -o "build\hl_dialog.o" $(FFLAGS) "hl_dialog.f90"

"build\hl_infobar.o": "hl_infobar.f90"
    @echo Compiling hl_infobar.f90
    @$(FC) -c -o "build\hl_infobar.o" $(FFLAGS) "hl_infobar.f90"
"modules\ib_handers.mod" : "build\hl_infobar.o" .EXISTSONLY
    @echo Compiling hl_infobar.f90
    @$(FC) -c -o "build\hl_infobar.o" $(FFLAGS) "hl_infobar.f90"

"build\hl_list1.o": "hl_list1.f90"
    @echo Compiling hl_list1.f90
    @$(FC) -c -o "build\hl_list1.o" $(FFLAGS) "hl_list1.f90"
"modules\l1_handlers.mod" : "build\hl_list1.o" .EXISTSONLY
    @echo Compiling hl_list1.f90
    @$(FC) -c -o "build\hl_list1.o" $(FFLAGS) "hl_list1.f90"

"build\hl_list_n.o": "hl_list_n.f90" "modules\ln_handlers.mod"
    @echo Compiling hl_list_n.f90
    @$(FC) -c -o "build\hl_list_n.o" $(FFLAGS) "hl_list_n.f90"
"modules\ln_handlers.mod" : "build\hl_list_n.o" .EXISTSONLY
    @echo Compiling hl_list_n.f90
    @$(FC) -c -o "build\hl_list_n.o" $(FFLAGS) "hl_list_n.f90"

"build\hl_list_renderers.o": "hl_list_renderers.f90" "modules\ln_handlers.mod"
    @echo Compiling hl_list_renderers.f90
    @$(FC) -c -o "build\hl_list_renderers.o" $(FFLAGS) "hl_list_renderers.f90"
"modules\ln_handlers.mod" : "build\hl_list_renderers.o" .EXISTSONLY
    @echo Compiling hl_list_renderers.f90
    @$(FC) -c -o "build\hl_list_renderers.o" $(FFLAGS) "hl_list_renderers.f90"

"build\hl_menu.o": "hl_menu.f90" "modules\handlers.mod"
    @echo Compiling hl_menu.f90
    @$(FC) -c -o "build\hl_menu.o" $(FFLAGS) "hl_menu.f90"
"modules\handlers.mod" : "build\hl_menu.o" .EXISTSONLY
    @echo Compiling hl_menu.f90
    @$(FC) -c -o "build\hl_menu.o" $(FFLAGS) "hl_menu.f90"

"build\hl_pbar.o": "hl_pbar.f90" "modules\handlers.mod"
    @echo Compiling hl_pbar.f90
    @$(FC) -c -o "build\hl_pbar.o" $(FFLAGS) "hl_pbar.f90"
"modules\handlers.mod" : "build\hl_pbar.o" .EXISTSONLY
    @echo Compiling hl_pbar.f90
    @$(FC) -c -o "build\hl_pbar.o" $(FFLAGS) "hl_pbar.f90"

"build\hl_pbar_p.o": "hl_pbar_p.f90" "modules\handlers.mod"
    @echo Compiling hl_pbar_p.f90
    @$(FC) -c -o "build\hl_pbar_p.o" $(FFLAGS) "hl_pbar_p.f90"
"modules\handlers.mod" : "build\hl_pbar_p.o" .EXISTSONLY
    @echo Compiling hl_pbar_p.f90
    @$(FC) -c -o "build\hl_pbar_p.o" $(FFLAGS) "hl_pbar_p.f90"

"build\hl_radio.o": "hl_radio.f90"
    @echo Compiling hl_radio.f90
    @$(FC) -c -o "build\hl_radio.o" $(FFLAGS) "hl_radio.f90"
"modules\rb_handlers.mod" : "build\hl_radio.o" .EXISTSONLY
    @echo Compiling hl_radio.f90
    @$(FC) -c -o "build\hl_radio.o" $(FFLAGS) "hl_radio.f90"

"build\hl_sliders.o": "hl_sliders.f90" "modules\handlers.mod"
    @echo Compiling hl_sliders.f90
    @$(FC) -c -o "build\hl_sliders.o" $(FFLAGS) "hl_sliders.f90"
"modules\handlers.mod" : "build\hl_sliders.o" .EXISTSONLY
    @echo Compiling hl_sliders.f90
    @$(FC) -c -o "build\hl_sliders.o" $(FFLAGS) "hl_sliders.f90"

"build\hl_sliders2.o": "hl_sliders2.f90" "modules\handlers.mod"
    @echo Compiling hl_sliders2.f90
    @$(FC) -c -o "build\hl_sliders2.o" $(FFLAGS) "hl_sliders2.f90"
"modules\handlers.mod" : "build\hl_sliders2.o" .EXISTSONLY
    @echo Compiling hl_sliders2.f90
    @$(FC) -c -o "build\hl_sliders2.o" $(FFLAGS) "hl_sliders2.f90"

"build\hl_textview.o": "hl_textview.f90" "modules\handlers.mod"
    @echo Compiling hl_textview.f90
    @$(FC) -c -o "build\hl_textview.o" $(FFLAGS) "hl_textview.f90"
"modules\handlers.mod" : "build\hl_textview.o" .EXISTSONLY
    @echo Compiling hl_textview.f90
    @$(FC) -c -o "build\hl_textview.o" $(FFLAGS) "hl_textview.f90"

"build\hl_tree.o": "hl_tree.f90"
    @echo Compiling hl_tree.f90
    @$(FC) -c -o "build\hl_tree.o" $(FFLAGS) "hl_tree.f90"
"modules\tr_handlers.mod" : "build\hl_tree.o" .EXISTSONLY
    @echo Compiling hl_tree.f90
    @$(FC) -c -o "build\hl_tree.o" $(FFLAGS) "hl_tree.f90"

"build\julia_pixbuf.o": "julia_pixbuf.f90" "modules\handlers.mod"
    @echo Compiling julia_pixbuf.f90
    @$(FC) -c -o "build\julia_pixbuf.o" $(FFLAGS) "julia_pixbuf.f90"
"modules\global_widgets.mod" "modules\handlers.mod" : "build\julia_pixbuf.o" .EXISTSONLY
    @echo Compiling julia_pixbuf.f90
    @$(FC) -c -o "build\julia_pixbuf.o" $(FFLAGS) "julia_pixbuf.f90"

"build\list_demo.o": "list_demo.f90"
    @echo Compiling list_demo.f90
    @$(FC) -c -o "build\list_demo.o" $(FFLAGS) "list_demo.f90"

"build\mandelbrot.o": "mandelbrot.f90"
    @echo Compiling mandelbrot.f90
    @$(FC) -c -o "build\mandelbrot.o" $(FFLAGS) "mandelbrot.f90"

"build\mandelbrot_pixbuf.o": "mandelbrot_pixbuf.f90" "modules\handlers.mod"
    @echo Compiling mandelbrot_pixbuf.f90
    @$(FC) -c -o "build\mandelbrot_pixbuf.o" $(FFLAGS) "mandelbrot_pixbuf.f90"
"modules\handlers.mod" : "build\mandelbrot_pixbuf.o" .EXISTSONLY
    @echo Compiling mandelbrot_pixbuf.f90
    @$(FC) -c -o "build\mandelbrot_pixbuf.o" $(FFLAGS) "mandelbrot_pixbuf.f90"

"build\mandelbrot_pixbuf_zoom.o": "mandelbrot_pixbuf_zoom.f90" "modules\handlers.mod"
    @echo Compiling mandelbrot_pixbuf_zoom.f90
    @$(FC) -c -o "build\mandelbrot_pixbuf_zoom.o" $(FFLAGS) "mandelbrot_pixbuf_zoom.f90"
"modules\handlers.mod" : "build\mandelbrot_pixbuf_zoom.o" .EXISTSONLY
    @echo Compiling mandelbrot_pixbuf_zoom.f90
    @$(FC) -c -o "build\mandelbrot_pixbuf_zoom.o" $(FFLAGS) "mandelbrot_pixbuf_zoom.f90"

"build\menu.o": "menu.f90" "modules\handlers.mod"
    @echo Compiling menu.f90
    @$(FC) -c -o "build\menu.o" $(FFLAGS) "menu.f90"
"modules\handlers.mod" : "build\menu.o" .EXISTSONLY
    @echo Compiling menu.f90
    @$(FC) -c -o "build\menu.o" $(FFLAGS) "menu.f90"

"build\notebooks.o": "notebooks.f90" "modules\handlers.mod"
    @echo Compiling notebooks.f90
    @$(FC) -c -o "build\notebooks.o" $(FFLAGS) "notebooks.f90"
"modules\widgets.mod" "modules\handlers.mod" : "build\notebooks.o" .EXISTSONLY
    @echo Compiling notebooks.f90
    @$(FC) -c -o "build\notebooks.o" $(FFLAGS) "notebooks.f90"


"build\default_icon.res": ".\gtk.ico"
    @echo Processing icon
    @echo 1 ICON "./gtk.ico" |$(WRC) $(RCFLAGS) -o "build\default_icon.res"

clean: .SYMBOLIC
    @echo Deleting build\bazaar.o and related files
    @$(RM) "build\bazaar.o" "modules\my_widgets.mod" "modules\handlers.mod"
    @echo Deleting build\cairo-basics-click.o and related files
    @$(RM) "build\cairo-basics-click.o" "modules\handlers.mod"
    @echo Deleting build\cairo-basics.o and related files
    @$(RM) "build\cairo-basics.o" "modules\handlers.mod"
    @echo Deleting build\cairo-tests.o and related files
    @$(RM) "build\cairo-tests.o" "modules\handlers.mod"
    @echo Deleting build\hl_assistant.o and related files
    @$(RM) "build\hl_assistant.o" "modules\as_handlers.mod"
    @echo Deleting build\hl_cairo1.o and related files
    @$(RM) "build\hl_cairo1.o" "modules\handlers.mod"
    @echo Deleting build\hl_cairo_clock.o and related files
    @$(RM) "build\hl_cairo_clock.o" "modules\cl_handlers.mod"
    @echo Deleting build\hl_choosers.o and related files
    @$(RM) "build\hl_choosers.o" "modules\handlers.mod"
    @echo Deleting build\hl_combo.o and related files
    @$(RM) "build\hl_combo.o" "modules\handlers.mod"
    @echo Deleting build\hl_containers.o and related files
    @$(RM) "build\hl_containers.o" "modules\handlers.mod"
    @echo Deleting build\hl_dialog.o and related files
    @$(RM) "build\hl_dialog.o" "modules\handlers.mod"
    @echo Deleting build\hl_infobar.o and related files
    @$(RM) "build\hl_infobar.o" "modules\ib_handers.mod"
    @echo Deleting build\hl_list1.o and related files
    @$(RM) "build\hl_list1.o" "modules\l1_handlers.mod"
    @echo Deleting build\hl_list_n.o and related files
    @$(RM) "build\hl_list_n.o" "modules\ln_handlers.mod"
    @echo Deleting build\hl_list_renderers.o and related files
    @$(RM) "build\hl_list_renderers.o" "modules\ln_handlers.mod"
    @echo Deleting build\hl_menu.o and related files
    @$(RM) "build\hl_menu.o" "modules\handlers.mod"
    @echo Deleting build\hl_pbar.o and related files
    @$(RM) "build\hl_pbar.o" "modules\handlers.mod"
    @echo Deleting build\hl_pbar_p.o and related files
    @$(RM) "build\hl_pbar_p.o" "modules\handlers.mod"
    @echo Deleting build\hl_radio.o and related files
    @$(RM) "build\hl_radio.o" "modules\rb_handlers.mod"
    @echo Deleting build\hl_sliders.o and related files
    @$(RM) "build\hl_sliders.o" "modules\handlers.mod"
    @echo Deleting build\hl_sliders2.o and related files
    @$(RM) "build\hl_sliders2.o" "modules\handlers.mod"
    @echo Deleting build\hl_textview.o and related files
    @$(RM) "build\hl_textview.o" "modules\handlers.mod"
    @echo Deleting build\hl_tree.o and related files
    @$(RM) "build\hl_tree.o" "modules\tr_handlers.mod"
    @echo Deleting build\julia_pixbuf.o and related files
    @$(RM) "build\julia_pixbuf.o" "modules\global_widgets.mod" "modules\handlers.mod"
    @echo Deleting build\list_demo.o and related files
    @$(RM) "build\list_demo.o"
    @echo Deleting build\mandelbrot.o and related files
    @$(RM) "build\mandelbrot.o"
    @echo Deleting build\mandelbrot_pixbuf.o and related files
    @$(RM) "build\mandelbrot_pixbuf.o" "modules\handlers.mod"
    @echo Deleting build\mandelbrot_pixbuf_zoom.o and related files
    @$(RM) "build\mandelbrot_pixbuf_zoom.o" "modules\handlers.mod"
    @echo Deleting build\menu.o and related files
    @$(RM) "build\menu.o" "modules\handlers.mod"
    @echo Deleting build\notebooks.o and related files
    @$(RM) "build\notebooks.o" "modules\widgets.mod" "modules\handlers.mod"
    @echo Deleting default icon resource
    @$(RM) "build\default_icon.res"
    @echo Deleting gtk-fortran-ex.exe
    @$(RM) "gtk-fortran-ex.exe"

"gtk-fortran-ex.exe":  "build\bazaar.o" "build\cairo-basics-click.o" "build\cairo-basics.o" "build\cairo-tests.o" "build\hl_assistant.o" "build\hl_cairo1.o" "build\hl_cairo_clock.o" "build\hl_choosers.o" "build\hl_combo.o" "build\hl_containers.o" "build\hl_dialog.o" "build\hl_infobar.o" "build\hl_list1.o" "build\hl_list_n.o" "build\hl_list_renderers.o" "build\hl_menu.o" "build\hl_pbar.o" "build\hl_pbar_p.o" "build\hl_radio.o" "build\hl_sliders.o" "build\hl_sliders2.o" "build\hl_textview.o" "build\hl_tree.o" "build\julia_pixbuf.o" "build\list_demo.o" "build\mandelbrot.o" "build\mandelbrot_pixbuf.o" "build\mandelbrot_pixbuf_zoom.o" "build\menu.o" "build\notebooks.o" "build\default_icon.res"
    @echo Generating gtk-fortran-ex.exe
    @$(FC) -o "gtk-fortran-ex.exe" -static -m32 -mwindows "build\bazaar.o" "build\cairo-basics-click.o" "build\cairo-basics.o" "build\cairo-tests.o" "build\hl_assistant.o" "build\hl_cairo1.o" "build\hl_cairo_clock.o" "build\hl_choosers.o" "build\hl_combo.o" "build\hl_containers.o" "build\hl_dialog.o" "build\hl_infobar.o" "build\hl_list1.o" "build\hl_list_n.o" "build\hl_list_renderers.o" "build\hl_menu.o" "build\hl_pbar.o" "build\hl_pbar_p.o" "build\hl_radio.o" "build\hl_sliders.o" "build\hl_sliders2.o" "build\hl_textview.o" "build\hl_tree.o" "build\julia_pixbuf.o" "build\list_demo.o" "build\mandelbrot.o" "build\mandelbrot_pixbuf.o" "build\mandelbrot_pixbuf_zoom.o" "build\menu.o" "build\notebooks.o" "build\default_icon.res" $(LDIR) $(PRJ_LFLAGS)

all: "gtk-fortran-ex.exe" .SYMBOLIC

Re: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

Dave,

You seem to have enabled all the files in the example project at once.  One important limitation of your Simply Fortran project is that you can only have a single program unit in the project.  In the example project.  All files are disabled initially except bazaar.f90.  If you want to try other example programs, you'll need to disable bazaar.f90 and enable a different example program.

Remember to always Clean and re-Build after switching to another example program in the example project.

Jeff Armstrong
Approximatrix, LLC

Re: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

OK - re-installed and compiled bazaar.f90.  Runs with error - GTK-EF3.exe
This application has failed to start because libcairo-2 was not found.  Re-installing the application may fix this problem.

I am running windows XP as a virtual machine (Parallels) on OSX Mavericks.  All my other code - lots of CFD stuff - runs fine.  So does dislin.

Thoughts?

Thanks,
Dave

Re: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

and re-installing the application did not work.

--Dave

Re: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

Dave,

There is a path-related issue on your system.  When you installed the package manager,it should have added the directory:

C:\Documents and Settings\<your user name>\Application Data\Local\sfpm\32\bin

to your path.  You can confirm this directory is present by clicking "Open Managed Files..." in the SF Package Manager.  It should open Windows Explorer in the directory where the packages are stored.

You can add this directory to your path manually by editing your environment variables accordingly.  This should be accessible via right-clicking "My Computer" in Windows XP and selecting "Properties."  Environment Variables are accessible from the "Advanced" tab.   You just need to add the directory explained above to your path (make sure it exists first).

The bug you're seeing is because your compiled program can't locate the GTK+ DLLs needed, which are stored in the directory described above.  Once that directory is on your system's path, it should all work wonderfully.

You could try reinstalling the SF Package Manager to see if that appropriately updates your path variable instead.  If it doesn't do so, there may be a bug in the installer.

Jeff Armstrong
Approximatrix, LLC

Re: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

Jeff,

Many thanks - got it working thanks to your advice.  I'm a newbie with Windows.  Over 30 years with UNIX/Linux/OSX and Fortran.  Used to own an Iris Indigo running IRIX, their flavour of UNIX.  Just started using windows XP in a virtual machine.

--Dave

Re: Can't compile (with ver 2.11) the Gtk3-Fortran (32-bit) package.

Dave,

I'm glad to hear it's working!  Windows is different enough from the UNIX world that it can be extremely frustrating, so I completely understand.  I'm going to add a feature or two to the package manager, though, so that the path can be reset easily if necessary.

I never had the chance to use IRIX, but I spent a great deal of time in HP-UX and OSX, and I continue to use Linux regularly.  However, having had MS-DOS and Windows powered machines most of my life I continue to be most familiar with Windows.

If you have any more trouble, just let me know!

Jeff Armstrong
Approximatrix, LLC