Memchan
패키지를 내 응용 프로그램에 사용하려고합니다. 정적으로 컴파일하고 링크 할 수있었습니다. 하지만 불행히도 내 응용 프로그램에서이 패키지를로드하는 방법을 모르겠습니다.Tcl - Memchan를 정적으로로드하는 방법?
% rs
Internal error detected during start: can't find package Memchan
can't find package Memchan
while executing
"package require Memchan"
내가 Memchan2.3
디렉토리에 pkgIndex.tcl
이를 추적 :
- 어떻게이 정적으로 링크 된 버전
libMemchan2.3.a
를로드 할 : 나는이 개 질문이% cat pkgIndex.tcl package ifneeded Memchan 2.3 [list load [file join $dir libMemchan2.3.so]]
?
- 정적으로 연결된 라이브러리를 호출 할 때
package require Memchan
을 호출하는 특수 구문이 있습니까?
감사합니다. 내가 이것을 밖으로 시험하게 해주세요. – Anand