Setting up Ubuntu (currently 12.04.2) to compile FreeWRL

本文提供了一套详细的指南,介绍如何在不同版本的Ubuntu、Mint 17.1和Debian 7.8上配置环境并编译FreeWRL软件。包括安装必要的依赖包、设置编译选项及安装过程。

http://freewrl.sourceforge.net/ubuntu_src.html


Setting up Ubuntu (currently 12.04.2) to compile FreeWRL

These notes were originally written by Dave Joubert, modified by John Stewart. Builds on different versions of Ubuntu, or different distros of Linux will be very similar. Recently, Roy Kyrillos and Jiangxin Hu provided feedback.

Process:

  • Start a terminal window with the keystrokes
    ctrl-alt-t
        
    or use Dash to look for terminal and start one.
  • start Synaptic Package Manager:
    sudo synaptic
        
  • Install a bunch of tools/software. Mainly use Synaptic, but the freetype2 needed installing directly from the source web site.
    Freetype2...
    - from http://download.savannah.gnu.org/releases/freetype/
    
    
    Unable to find an appropriate javascript engine...
    - libmozjs185-1.0  (was installed already)
    - libmozjs185-dev  (installed using Synaptic)
    
    
    Package requirements (xproto x11 xt xmu xaw7) were not met...
    - libxaw7-dev  (all with Synaptic)
    - libice-dev
    - libsm-dev
    - libxmu-dev
    - libxmu-headers
    - libxpm-dev
    - libxt-dev
    
    
    libjpeg headers are required...
    - libjpeg8-dev  (all with Synaptic)
    - libjpeg-dev
    - libjpeg-turbo8-dev
    
    libpng...
    - libpng12-dev  (installed using Synaptic)
    
    Package requirements (imlib2) were not met...
    - libimlib2
    - libimlib2-dev
    - libfreetype6-dev
    - libgif-dev
    - libtiff4-dev
    - libtiffxxOc2
    
    sound...
    - libopenal1
    - libopenal-dev
    - libalut0
    - libalut-dev
    
  • One of the build variants uses Motif for windowing/pull down menus. You may also want to install
    - libmotif-dev 
    - libmotif3
      
  • run autoconf:
    cd freewrl/freex3d
    autoreconf --force --install
    

  • run the configure script - with the Motif window manager:
    ./configure --with-fontsdir=/usr/share/fonts/truetype/ttf-bitstream-vera/ --with-target=motif
    
    and, you can put on the HUD display by appending the following to the above line:
    --with-statusbar=hud
    

  • Compile the software
    make
    

  • install the software, if it compiles correctly
    sudo make install
    

Setting up Ubuntu 14.04/14.10, Mint 17.1 (ie MATE), Debian 7.8 to compile FreeWRL

Contributors: Chris Willing, Doug Sanden. A slightlydifferent, more automated approach. Warning - experimental,and the experience of a few volunteers with their scenarios- use at your own risk.

Process:

  • Start a terminal window with the keystrokes
    ctrl-alt-t
    
    or use Dash to look for terminal and start one.

  • Install a bunch of tools/software. Create the following recipe script using an editor such as vi or gedit: fur.sh (freewrl_ubuntu_recipe.sh):
    #!/bin/bash
    
    sudo apt-get update
    #Optionally you can now upgrade components of your operating system
    #   by uncommenting the upgrade line.
    #(But do not upgrade if running in 'persistence' mode from a pen/thumb/usb drive. See:
    # http://www.linuxliveusb.com/en/help/faq/persistence/68-persistent-do-not-do)
    #sudo apt-get upgrade
    
    #The following command is 1 long line. It will pull in other dependencies
    # - nearly 100 packages altogether (depending on what packages may already be installed).
      
    sudo apt-get install build-essential automake autoconf libtool ttf-bitstream-vera zlib1g-dev libfreetype6-dev libfontconfig1-dev libmozjs185-dev firefox-dev libxml2-dev x11proto-core-dev libx11-dev libxt-dev libxmu-dev libxaw7-dev libxxf86vm-dev libgl1-mesa-dev libjpeg-turbo8-dev sox libimlib2-dev imagemagick liblo-dev default-jdk libopenal1 libopenal-dev libalut0 libalut-dev
      
  • Note that the apt-get line for Debian is slightly different - use instead:
          sudo apt-get install build-essential automake autoconf libtool ttf-bitstream-vera zlib1g-dev libfreetype6-dev libfontconfig1-dev libmozjs185-dev iceweasel-dev libxml2-dev x11proto-core-dev libx11-dev libxt-dev libxmu-dev libxaw7-dev libxxf86vm-dev libgl1-mesa-dev libjpeg-dev sox libimlib2-dev imagemagick liblo-dev default-jdk libopenal1 libopenal-dev libalut0 libalut-dev
  • run fur.sh:
    bash fur.sh
    

  • Download the freewrl source code from our git repository, if you haven't already (this will check out master branch after cloning):
    git clone git://git.code.sf.net/p/freewrl/git freewrl-git
    

  • Now cd to into the freex3d build directory and run autotools:
    cd freewrl-git/freex3d
    ./autogen.sh
    

  • run the configure script, with options you prefer. Example:
    ./configure --with-statusbar=hud
    

  • Build (compile and link) the software
    make
    

  • install the software, if it built correctly
    sudo make install
    

  • after the first time you build successfully, tell the library catalog to update itself (for the new libfreewrl.so)
    sudo ldconfig
    

  • Try running freewrl. Example (should show a cone):
    freewrl http://dug9.users.sourceforge.net/web3d/tests/1.x3d
    
六自由度机械臂ANN人工神经网络设计:正向逆向运动学求解、正向动力学控制、拉格朗日-欧拉法推导逆向动力学方程(Matlab代码实现)内容概要:本文档围绕六自由度机械臂的ANN人工神经网络设计展开,详细介绍了正向与逆向运动学求解、正向动力学控制以及基于拉格朗日-欧拉法推导逆向动力学方程的理论与Matlab代码实现过程。文档还涵盖了PINN物理信息神经网络在微分方程求解、主动噪声控制、天线分析、电动汽车调度、储能优化等多个工程与科研领域的应用案例,并提供了丰富的Matlab/Simulink仿真资源和技术支持方向,体现了其在多学科交叉仿真与优化中的综合性价值。; 适合人群:具备一定Matlab编程基础,从事机器人控制、自动化、智能制造、电力系统或相关工程领域研究的科研人员、研究生及工程师。; 使用场景及目标:①掌握六自由度机械臂的运动学与动力学建模方法;②学习人工神经网络在复杂非线性系统控制中的应用;③借助Matlab实现动力学方程推导与仿真验证;④拓展至路径规划、优化调度、信号处理等相关课题的研究与复现。; 阅读建议:建议按目录顺序系统学习,重点关注机械臂建模与神经网络控制部分的代码实现,结合提供的网盘资源进行实践操作,并参考文中列举的优化算法与仿真方法拓展自身研究思路。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值