2011-10-26 3 views
1

Mac OS X 10.7.2에 QCL 0.6.3 (http://tph.tuwien.ac.at/~oemer/qcl.html에서 사용 가능)을 설치하려고합니다. 개발자 도구가 설치되어 있고 C로 기본 프로그래밍을 할 수 있지만 메이크 파일 등에 대해서는 많이 알지 못합니다.Mac OS X에서 양자 계산 언어를 설치하는 방법은 무엇입니까?

설치 지침은 다음과 같습니다 :

Besides the usual C++ development tools, you will need to have flex, bison and (optionally) GNU readline installed on your system.

Untar the source package, then cd to the QCL directory, edit the Makefile for your needs and type make make install

This will, by default, install the binary qcl to /usr/local/bin and the QCL include files to /usr/local/lib/qcl.

For plotting support, libplotter (the C++ bindings of of GNU libplot) is required. GNU libplot is part of the the GNU plotutils.

Since version 0.4.3, QCL also includes support for the TeXmacs mathematical text editor. Recent TeXmacs distributions (1.0.0.6 or newer) already provide the necessary interfaces, so no additional installation is required.

내가 플렉스와 들소는 맥 OS X에서 자동 있다고 생각? readline이나 libplotter에 대해 잘 모르시겠습니까? 내가 만들 입력하면

나는 오류가 다시 나타납니다

g++ -c -Wall -O2 -g -DQCL_DEBUG -DQC_DEBUG -DQCL_PLOT -DQCL_USE_READLINE -DQCL_IRQ -Iqc -DDEF_INCLUDE_PATH="\"/usr/local/lib/qcl\"" -c -o error.o error.cc 
error.cc: In function ‘void initialize_readline()’: 
error.cc:39: error: ‘rl_unbind_key’ was not declared in this scope 
make: *** [error.o] Error 1 

어떤 도움, 일반 힌트를, 또는 특정 지침을 감상 할 수있다.

+0

지침에 따라 "필요에 따라 Makefile을 편집 했습니까? –

답변

0

폴 감사합니다. 내가 좀 더 주위를 조종했을 때 makefile을 편집하면 프로그램을 컴파일 할 수 있다는 것을 알았습니다. 필자는 플로팅 지원과 메이크 파일의 readline 지원 섹션을 주석 처리했습니다. 그럼 괜찮아 도움이 될 것 같습니다

관련 문제