Hello, I have problem with running PSCAD .pscx file, whitch I have received from my project partner. This is list of errors after compilation:
C:\Users\Uživatel\Documents\SkyDrive\Prace\PS cad\Model XXX\XXXSCCP.gf4>call C:\PROGRA~2\GFortran\428484~1.1\bin\gf42vars.bat
!--Compile: "C:\Users\UIVATE~1\DOCUME~1\SkyDrive\Prace\PSCAD~1\MODELS~1\F_XXX_SC.f"
copy "C:\Users\UIVATE~1\DOCUME~1\SkyDrive\Prace\PSCAD~1\MODELS~1\F_XXX_SC.f" .
Copied files: 1
gfortran.exe -c -ffree-form -fdefault-real-8 -xf95-cpp-input -I"C:\PROGRA~2\PSCAD45\emtdc\gf42\inc" -I"C:\PROGRA~2\PSCAD45\emtdc\gf42\windows" "F_XXX_SC.f"
del "F_XXX_SC.f"
!--Compile: "C:\Users\UIVATE~1\DOCUME~1\SkyDrive\Prace\PSCAD~1\MODELS~1\C_XXX_SC.c"
copy "C:\Users\UIVATE~1\DOCUME~1\SkyDrive\Prace\PSCAD~1\MODELS~1\C_XXX_SC.c" .
Copied files: 1
gcc.exe -c -I"C:\PROGRA~2\PSCAD45\emtdc\gf42\inc" -I"C:\PROGRA~2\PSCAD45\emtdc\gf42\windows" "C_XXX_SC.c"
del "C_XXX_SC.c"
!--Link: XXXSCCP.exe
gcc.exe -o XXXSCCP.exe "C:\PROGRA~2\PSCAD45\emtdc\gf42\windows\main.obj" "Station.o" "Main.o" "XXXINV.o" "F_XXX_SC.o" "C_XXX_SC.o" ..\SC_Dll.lib "C:\PROGRA~2\PSCAD45\emtdc\gf42\windows\emtdc.lib" -lgfortran -lstdc++ -lwsock32
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
..\SC_Dll.lib(Release_Lib/SC_Dll_Read_Config.obj):(.text[_SC_Dll_Read_Config]+0
x95): undefined reference to `__iob_func'
..\SC_Dll.lib(Release_Lib/SC_Dll_Read_Config.obj):(.text[_SC_Dll_Read_Config]+0
x15b): undefined reference to `_ftol2_sse'
..\SC_Dll.lib(Release_Lib/SC_Dll_Read_Config.obj):(.text[_SC_Dll_Read_Config]+0
x203): undefined reference to `_ftol2_sse'
..\SC_Dll.lib(Release_Lib/SC_Dll_Read_Config.obj):(.text[_SC_Dll_Read_Config]+0
x2a9): undefined reference to `_ftol2_sse'
..\SC_Dll.lib(Release_Lib/SC_Dll_Read_Config.obj):(.text[_SC_Dll_Read_Config]+0
x342): undefined reference to `_ftol2_sse'
..\SC_Dll.lib(Release_Lib/SC_Dll_Read_Config.obj):(.text[_SC_Dll_Read_Config]+0
x3c3): undefined reference to `_ftol2_sse'
..\SC_Dll.lib(Release_Lib/SC_Dll_Read_Config.obj):(.text[_SC_Dll_Read_Config]+0
x456): more undefined references to `_ftol2_sse' follow
collect2: ld returned 1 exit status
make: *** [XXXSCCP.exe] Error 1
Please, can you help me? What is wrong?
Thank you,
with kind regards
Josef Hrouda
EGC EnerGoConsult CB
Czech Republic
Add New Comment