2012-01-28 4 views
0

Scilab xcos 블록에 대한 C 계산 기능을 연구 중입니다. 컴파일하고 ilib_for_link('DO13','do13.c',[],"c")를 사용 Scilab에 코드를 연결하려고 할 때 내가 얻을 :Scilab에 코드 컴파일 및 연결

Generate a loader file 
Generate a Makefile 
Running the Makefile 
Compilation of do13.c 
Building shared library (be patient) 

!------------- Compile file do13.c --------------    ! 
!                ! 
! IF NOT EXIST Release mkdir Release       ! 
!                ! 
! cl -D__MSC__ -DFORDLL -D_WIN64 -c -DSTRICT -D_CRT_SECURE_NO_! 
!  DEPRECATE -D__MAKEFILEVC__ -nologo -I"C:/PROGRA~1/SCILAB! 
!  ~1.3/libs/MALLOC/includes" -I"C:/PROGRA~1/SCILAB~1.3/mo! 
!  dules/core/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/! 
!  api_scilab/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/! 
!  call_scilab/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules! 
!  /output_stream/includes" -I"C:/PROGRA~1/SCILAB~1.3/modu! 
!  les/jvm/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/loc! 
!  alization/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/d! 
!  ynamic_link/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules! 
!  /mexlib/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/tim! 
!  e/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/windows_t! 
!  ools/includes" -I"C:/PROGRA~1/SCILAB~1.3/libs/f2c" -I"! 
!  C:/PROGRA~1/SCILAB~1.3/libs/hashtable" -I"C:/PROGRA~1/S! 
!  CILAB~1.3/libs/intl" -W3 -Gd -Z7 -O2 -MT /Fo"Release/" /! 
!  Fd"Release/" -DFORDLL do13.c       ! 
!                ! 
!do13.c              ! 
!                ! 
! 


do13.c(1) : fatal error C1083: Cannot open include file: 'sci! 
!  cos/scicos_block4.h': No such file or directory   ! 
!                ! 
!NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft! 
!  Visual Studio 10.0\VC\BIN\amd64\cl.EXE"' : return code ! 
!  '0x2'             ! 
!                ! 
!Stop.              ! 
!--error 10000 
ilib_compile: Error while executing Makelib.mak. 
at line  76 of function ilib_compile called by : 
at line  90 of function ilib_for_link called by : 

내가 프로그래밍 전문가가 아닙니다. 이 메시지는 무엇을 의미 할 수 있습니까?

+0

내가 추출 할 수있는 오류 : "파일을 열 수 없습니다 : 'sci!! cos/scicos_block4.h': 해당 파일이나 디렉토리가 없습니다." 컴파일러가 올바른 include 디렉토리를 가리키고 있는지 확인할 수 있습니다. – GummiV

답변

0

scicos/scicos_block4.h 대신 scicos_block4.h를 포함하면 문제가 해결됩니다.