locked
error code 23 (returned by OpenValidateX) …errors with visual studio 2015 > intel visual Fortran compiler > console application project RRS feed

  • Question

  • I am running a visual studio 2015 > intel visual Fortran compiler > console application project .so I added these files. I want to get DLLs and call them from somewhere else.(maybe I must use another type of visual Fortran compiler projects, I am not sure)

    I only make an empty consol application of visual Fortran compiler ,then add my .f90 Fortran files.and then run the project.so I got errors.maybe another routine must be done.

    alloc_after_mesh.f90     arint3D.f90
    baric.f90                blomamor.f90             blomamorc.f90            blomamorp.f90
    bloseg3D.f90             bloseg3Dc.f90            calindc.f90              calprebloqueo.f90
    calvnoru.f90             cg.f90                   cgrevcom.f90             comprobaciones.f90
    conlud.f90               creamake.dat             derff.f90                ef_el.f90
    electrostatica3D.f90     endat3D.f90              ensacmor.f90             funciones3D.f90
    gauspp.f90               leema3D.f90              leetmp.f90               Makefile
    Makefile.windows         matlap_orto.f90          matriz3D_orto.f90        matvec.f90
    modulos_electros3D.f90   mod_mcambio.f90          norl2_3D.f90             [object]
    principal.f90            procb1.f90               procb2.f90               psolve.f90
    punto1.f90               readxml.f90              reslud.f90               semi3D.f90
    stoptest2.f90            wrtcmp.f90               wrtcmpv.f90
    

    but when compiling I got these errors:

    error code 23 (returned by OpenValidateX) Compilation Aborted (code 1) error #7002: Error in opening the compiled module and so far...

    attributes or multiple declaration of name.   [CONVER3D]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leema3D.f90   170
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    1
    Error       Compilation Aborted (code 1)        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    1
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_CONVERS]        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    9
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [LIB_VTK_IO_READ]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    10
    Error       error #6404: This name does not have a type, and must have an explicit type.   [LCASE]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    19
    Error       error #6608: In a CASE statement, the case-expr must be of type INTEGER, CHARACTER, or LOGICAL.   [LCASE]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    19
    Error       error #6611: The case-value must be of the same type as the case-expr.   ['mff']        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    20
    Error       error #6611: The case-value must be of the same type as the case-expr.   ['vtu']        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    31
    Error       error #6404: This name does not have a type, and must have an explicit type.   [VTK_INI_XML_READ]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    33
    Error       error #6404: This name does not have a type, and must have an explicit type.   [VTK_VAR_XML_READ]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    36
    Error       error #6404: This name does not have a type, and must have an explicit type.   [VTK_END_XML_READ]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\leetmp.f90    38
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\matlap_orto.f90   1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\matriz3D_orto.f90 1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\matvec.f90    1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\modulos_electros3D.f90    1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\mod_mcambio.f90   1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\norl2_3D.f90  1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 1
    Error       Compilation Aborted (code 1)        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 1
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_WRITEVTU]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 29
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [COMPROBACIONES]        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 30
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_CONVERS]        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 31
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_FEM_EXTRACT]        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 32
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_CONVER3D]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 33
    Error       error #6580: Name in only-list does not exist.   [CONVER3D]     C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 33
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [LIB_VTK_IO_READ]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 34
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_READUNV]        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 35
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_COMPILER_DEPENDANT]     C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 36
    Error       error #6683: A kind type parameter must be a compile-time constant.   [REAL64]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 41
    Error       error #6404: This name does not have a type, and must have an explicit type.   [COMPRUEBA]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 54
    Error       error #6404: This name does not have a type, and must have an explicit type.   [ERROR_UNIT]     C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 55
    Error       error #6404: This name does not have a type, and must have an explicit type.   [OUTPUT_UNIT]        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 58
    Error       error #6404: This name does not have a type, and must have an explicit type.   [BLOCKING_NODE]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 64
    Error       error #6404: This name does not have a type, and must have an explicit type.   [LCASE]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 76
    Error       error #6608: In a CASE statement, the case-expr must be of type INTEGER, CHARACTER, or LOGICAL.   [LCASE]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 76
    Error       error #6611: The case-value must be of the same type as the case-expr.   ['mfm']        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 77
    Error       error #6611: The case-value must be of the same type as the case-expr.   ['mum']        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 80
    Error       error #6611: The case-value must be of the same type as the case-expr.   ['unv']        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 83
    Error       error #6406: Conflicting attributes or multiple declaration of name.   [CONVER3D]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\principal.f90 85
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\procb1.f90    1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\procb2.f90    1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\psolve.f90    1
    Error       error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\punto1.f90    1
    Error       Compilation Aborted (code 1)        C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   1
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_SO_DEPENDANT]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   7
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_REPORT]     C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   8
    Error       error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MODULE_XML_PARSER]     C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   9
    Error       error #6683: A kind type parameter must be a compile-time constant.   [DOUBLE]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   24
    Error       error #6683: A kind type parameter must be a compile-time constant.   [DOUBLE]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   25
    Error       error #6404: This name does not have a type, and must have an explicit type.   [REPORT_STDOUT]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   29
    Error       error #6404: This name does not have a type, and must have an explicit type.   [FOPEN]      C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   39
    Error       error #6632: Keyword arguments are invalid without an explicit interface.   [REALLOC]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   58
    Error       error #6362: The data types of the argument(s) are invalid.   [INT]     C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   66
    Error       error #6632: Keyword arguments are invalid without an explicit interface.   [REALLOC]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   77
    Error       error #6362: The data types of the argument(s) are invalid.   [INT]     C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   85
    Error       error #6632: Keyword arguments are invalid without an explicit interface.   [REALLOC]       C:\Users\admin\Documents\maxfem test for ifort A\maxfem_0.3.4_source\maxfem_0.3.4_source\sources\electrostatics3d\readxml.f90   110
    ...

    what should I do, any help will be appreciated.

    updated #1 my Makefile.windows is as below

    :

    #################################################################
    # Makefile created using the tool 'Creamake'
    # 
    # Creamake is distributed under the GNU GPL license
    # Author: Francisco Pena, fran.pena@usc.es
    # Download page: http://sourceforge.net/projects/creamake/
    #################################################################
    
    #################################################################
    # User-modifiable options
    #################################################################
    
    # SOURCE AND COMMONS FOLDERS (separated by spaces)
    dir_fuentes = . ..\other\blas ..\other\basicmod ..\other\common ..\other\fem \
    ..\other\unv ..\other\xml ..\other\vtu ..\other\conver3d
    
    # OBJECT AND .MOD FOLDER
    dir_objetos = object
    
    # MAIN SOURCE FILE (include relative path from folder where Makefile is)
    condir_principal = .\principal.f90
    
    # EXECUTABLE NAME 
    ejecutable = ..\..\solvers\electrostatics3d.exe
    
    # NEEDED TO convert ejecutable THE DEFAULT RULE: 
    $(ejecutable): $(condir_principal) 
    
    # MODULES
    modulos = comprobaciones.f90 mod_mcambio.f90 modulos_electros3D.f90 \
    module_ALLOC_char_r1.f90 module_ALLOC.f90 module_ALLOC_int_alloc_r2.f90 \
    module_ALLOC_int_r1.f90 module_ALLOC_int_r2.f90 module_ALLOC_log_r2.f90 \
    module_ALLOC_real_alloc_r2.f90 module_ALLOC_real_DOUBLE_r1.f90 \
    module_ALLOC_real_DOUBLE_r2.f90 module_ALLOC_real_r1.f90 \
    module_ALLOC_real_r2.f90 module_COMPILER_DEPENDANT.f90 module_CONVERS.f90 \
    module_FILES.f90 module_REPORT.f90 module_SO_DEPENDANT.f90 defines.f90 mesh.f90 \
    subdomains.f90 vector.f90 module_fem_extract_complex.f90 module_fem_extract.f90 \
    module_fem_extract_real.f90 module_bsearch.f90 module_cells.f90 \
    module_dataset_2411.f90 module_dataset_2412.f90 module_dataset_2467.f90 \
    module_dataset.f90 module_FE_DB.f90 module_groups.f90 module_mesh.f90 \
    module_readUNV.f90 module_unv.f90 module_xml_parser.f90 LIB_VTK_IO.f90 \
    LIB_VTK_IO_READ.f90 module_writeVTU.f90 module_conver3d.f90 \
    module_conver3d_source.f
    
    # DEPENDENCIAS ENTRE MODULOS
    # si pru1 depende de pru2... pru1.o: pru2.o
    comprobaciones.obj: mesh.obj modulos_electros3D.obj modulos_electros3D.obj \
    modulos_electros3D.obj modulos_electros3D.obj modulos_electros3D.obj \
    modulos_electros3D.obj modulos_electros3D.obj modulos_electros3D.obj \
    modulos_electros3D.obj
    mod_mcambio.obj: modulos_electros3D.obj
    modulos_electros3D.obj:
    module_ALLOC_char_r1.obj: module_REPORT.obj
    module_ALLOC.obj: module_ALLOC_int_r1.obj module_ALLOC_int_r2.obj \
    module_ALLOC_int_alloc_r2.obj module_ALLOC_real_r1.obj module_ALLOC_real_r2.obj \
    module_ALLOC_real_alloc_r2.obj module_ALLOC_real_DOUBLE_r1.obj \
    module_ALLOC_real_DOUBLE_r2.obj module_ALLOC_char_r1.obj module_ALLOC_log_r2.obj
    module_ALLOC_int_alloc_r2.obj: module_ALLOC_int_r1.obj
    module_ALLOC_int_r1.obj: module_REPORT.obj
    module_ALLOC_int_r2.obj: module_REPORT.obj
    module_ALLOC_log_r2.obj: module_REPORT.obj
    module_ALLOC_real_alloc_r2.obj: module_ALLOC_real_r1.obj
    module_ALLOC_real_DOUBLE_r1.obj: module_COMPILER_DEPENDANT.obj module_REPORT.obj
    module_ALLOC_real_DOUBLE_r2.obj: module_COMPILER_DEPENDANT.obj module_REPORT.obj
    module_ALLOC_real_r1.obj: module_REPORT.obj
    module_ALLOC_real_r2.obj: module_REPORT.obj
    module_CONVERS.obj: module_COMPILER_DEPENDANT.obj module_REPORT.obj
    module_FILES.obj: module_REPORT.obj module_CONVERS.obj
    module_REPORT.obj: module_COMPILER_DEPENDANT.obj module_SO_DEPENDANT.obj
    module_SO_DEPENDANT.obj: module_COMPILER_DEPENDANT.obj
    defines.obj: module_COMPILER_DEPENDANT.obj
    mesh.obj: defines.obj
    subdomains.obj: defines.obj
    vector.obj: defines.obj
    module_fem_extract.obj: module_fem_extract_real.obj \
    module_fem_extract_complex.obj
    module_dataset_2411.obj: module_COMPILER_DEPENDANT.obj module_ALLOC.obj \
    module_dataset.obj module_mesh.obj
    module_dataset_2412.obj: module_ALLOC.obj module_dataset.obj module_mesh.obj \
    module_FE_DB.obj module_cells.obj
    module_dataset_2467.obj: module_dataset.obj module_mesh.obj module_cells.obj \
    module_groups.obj
    module_dataset.obj: module_REPORT.obj module_CONVERS.obj
    module_FE_DB.obj: module_COMPILER_DEPENDANT.obj
    module_groups.obj: module_ALLOC.obj
    module_mesh.obj: module_COMPILER_DEPENDANT.obj module_ALLOC.obj module_FILES.obj
    module_readUNV.obj: module_COMPILER_DEPENDANT.obj module_SO_DEPENDANT.obj \
    module_CONVERS.obj module_unv.obj module_mesh.obj
    module_unv.obj: module_ALLOC.obj module_FILES.obj module_mesh.obj \
    module_dataset_2411.obj module_dataset_2412.obj module_dataset_2467.obj \
    module_bsearch.obj
    module_xml_parser.obj: module_ALLOC.obj module_CONVERS.obj module_REPORT.obj \
    module_FILES.obj
    LIB_VTK_IO_READ.obj: LIB_VTK_IO.obj
    module_writeVTU.obj: LIB_VTK_IO.obj
    module_conver3d.obj: module_COMPILER_DEPENDANT.obj module_conver3d_source.obj
    
    # INCLUDES
    includes = 
    
    # COMPILER
    FC = gfortran
    
    # COMPILER OPTIONS
    FFLAGS = -J$(dir_objetos) -ffree-line-length-0 -ffixed-line-length-0
    
    # LINKER OPTIONS
    LDFLAGS = -static
    
    #################################################################
    # Non-modifiable part
    #################################################################
    
    # CARPETAS DE BUSQUEDA
    VPATH =   $(subst ,:,$(strip $(dir_fuentes)))
    vpath %.obj $(dir_objetos)
    
    # FUENTES
    fuentes_       = $(filter %.f %.F %.for %.FOR %.f90 %.F90 %.f95 %.F95 %.f03 %.F03,$(shell dir /b $(dir_fuentes)))
    fuentes        = $(filter-out $(notdir $(condir_principal)) $(modulos),$(fuentes_))
    
    # OBJETOS
    modulos_obj    = $(addsuffix .obj,$(basename $(modulos)))
    fuentes_obj    = $(addsuffix .obj,$(basename $(fuentes)))
    
    # OBJETOS EN SU CARPETA
    condir_modulos_obj    = $(addprefix $(dir_objetos)/,$(modulos_obj))
    condir_fuentes_obj    = $(addprefix $(dir_objetos)/,$(fuentes_obj))
    
    # OPCIONES DE COMPILACION
    FFLAGS += $(patsubst %,-I%,$(dir_fuentes))
    FFLAGS += -I$(dir_objetos)
    
    # REGLA PRINCIPAL
    all: $(ejecutable)
    
    $(ejecutable): $(includes) $(modulos_obj) $(fuentes_obj)
        $(FC) -o $(ejecutable) $(FFLAGS) $(condir_principal) $(condir_modulos_obj) $(condir_fuentes_obj) $(LDFLAGS)
    
    # REGLA PARA LAS FUENTES
    $(fuentes_obj): $(includes) $(modulos_obj)
    
    # PATRONES DE REGLAS
    %.obj:%.f
        $(FC) -c -o $@ $(FFLAGS) $<
        @copy $@ $(dir_objetos) 
        @del $@ 
    %.obj:%.F
        $(FC) -c -o $@ $(FFLAGS) $< 
        @copy $@ $(dir_objetos) 
        @del $@ 
    %.obj:%.for
        $(FC) -c -o $@ $(FFLAGS) $< 
        @copy $@ $(dir_objetos) 
        @del $@ 
    %.obj:%.FOR
        $(FC) -c -o $@ $(FFLAGS) $< 
        @copy $@ $(dir_objetos) 
        @del $@ 
    %.obj:%.f90
        $(FC) -c -o $@ $(FFLAGS) $< 
        @copy $@ $(dir_objetos) 
        @del $@ 
    %.obj:%.F90
        $(FC) -c -o $@ $(FFLAGS) $< 
        @copy $@ $(dir_objetos) 
        @del $@ 
    
    .PHONY: clean
    clean:
        del $(dir_objetos)\*.obj      
        del $(dir_objetos)\*.mod    
        del $(ejecutable)

    Wednesday, August 2, 2017 1:35 AM

Answers

  • My problem solved as I include other related sub code directories to my project.including .f and .f90 files. I see console that execute my project in command line environment.
    • Marked as answer by John Crown Sunday, August 6, 2017 5:29 PM
    Sunday, August 6, 2017 5:29 PM

All replies

  • Hi John,

    This forum discusses and asks questions about extending and integrating with Visual Studio, such as Visual Studio SDK, Since your issue is more related to 3rd-parth extension, I would suggest that you could connect 3rd extension author for suitable support.

    https://software.intel.com/en-us/fortran-compilers-support

    Thanks for your understanding.

    Best regards,

    Cole


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, August 3, 2017 5:32 AM
  • My problem solved as I include other related sub code directories to my project.including .f and .f90 files. I see console that execute my project in command line environment.
    • Marked as answer by John Crown Sunday, August 6, 2017 5:29 PM
    Sunday, August 6, 2017 5:29 PM