Linux下编译vtk的java版本,linux下vtk安装配置

makedepend -fdepend -I. -I../../../../src/gallium/include

-I../../../../src/gallium/auxiliary

-I../../../../src/gallium/drivers  rbug_core.c

rbug_context.c rbug_objects.c rbug_screen.c  2> /dev/null

make[5]: *** No rule to make target `depend', needed by

`default'.  Stop.

make[5]: Leaving directory

`/usr/local/src/Mesa-8.0.3/src/gallium/drivers/rbug'

make[4]: *** [default] Error 1

make[4]: Leaving directory

`/usr/local/src/Mesa-8.0.3/src/gallium/drivers'

make[3]: *** [default] Error 1

make[3]: Leaving directory

`/usr/local/src/Mesa-8.0.3/src/gallium'

make[2]: *** [subdirs] Error 1

make[2]: Leaving directory

`/usr/local/src/Mesa-8.0.3/src'

make[1]: *** [default] Error 1

make[1]: Leaving directory `/usr/local/src/Mesa-8.0.3'

make: *** [linux-x86] Error 2

网上搜索错误原因,http://ubuntuforums.org/showthread.php?t=1561592给出提示:“sudo

apt-get install xorg-dev”安装xorg-dev后再执行“sudo make

linux-x86”,仍出错。上网搜索(http://www.mesa3d.org/install.html),执行“sudo

./configure”,提示错误“configure: error: makedepend is required to build

Mesa”。搜索(http://www.linuxquestions.org/questions/linux-software-2/configure-error-makedepend-is-required-to-build-mesa-883481/),执行“sudo

apt-get install xutils-dev”(/usr/bin/makedepend

is provided by xutils-dev ,sudo

apt-get install xutils-dev),再试“sudo

./configure”,提示错误“configure: error: flex is needed to build

Mesa”。搜索(http://johnsonchou.blogspot.jp/2009/02/ubuntu-flex-bison.html),执行“sudo

apt-get install flex bison”,再试“sudo ./configure”,提示错误“error: Direct

rendering requires libdrm >= 2.4.24”。执行“sudo apt-get

install libdrm-dev”,再试"sudo ./configure",弹出提示框

“configure: error: Package requirements (x11 xext xdamage

xfixes x11-xcb xcb-glx xxf86vm) were not met:

No package 'x11-xcb' found

No package 'xcb-glx' found

Consider adjusting the PKG_CONFIG_PATH environment variable if

you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables

DRIGL_CFLAGS

and DRIGL_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

”。搜索(http://freebsd.1045724.n5.nabble.com/testing-rnoland-s-xorg-upgrade-patch-error-td4076678.html),执行“sudo

apt-get install xcb”,安装成功无错误提示后,执行“sudo ./configure”,仍有错误。执行“sudo

apt-get install libx11-xcb-dev”,"sudo apt-get install

libxcb-glx0","sudo apt-get install libxcb-glx0-dev",提示错误:

"checking for expat.h... yes

checking for XML_ParserCreate in -lexpat... yes

checking for INTEL... no

configure: error: Package requirements (libdrm_intel

>= 2.4.30) were not met:

Requested 'libdrm_intel >= 2.4.30' but version

of libdrm is 2.4.26

Consider adjusting the PKG_CONFIG_PATH environment variable if

you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables

INTEL_CFLAGS

and INTEL_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

"

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值