2016/10/08

xcode8でdoxygen commentのwarningが出る問題の回避策

こんにちは.@rootxです.

最近xcode8にアップデートしましたが,glfw3のプロジェクトを作っていたら大量の警告が発生しました.


Documentation Issue Group 
/usr/local/include/GLFW/glfw3.h:744:8: Empty paragraph passed to '@sa' command/main.cpp:12:10: In file included from /User/main.cpp:12:


どうやらdoxygenコメントに不備があると,警告を出すようになったみたいですね.


暫定的に,次のように警告を抑制することで回避しました.

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
#include <GLFW/glfw3.h>
#pragma clang pop


外部ライブラリのヘッダではでないように設定したいですね;


でわでわ.

2016/02/07

開発環境構築 Win7 x64

Windows の開発環境構築

インストールするもの

  • Atom
    • GLSL Preview
    • atom-typescript
    • autocomplete-webgl
  • VirtualBox
  • Vagrant
    • vagrant init bent/centos-6.7 
  • Visual Studio Community 2015
  • Visual Studio Code
  • TypeScript
  • Putty
    • UTF-8
  • WinSCP

トラブル対応

Vagrantの共有フォルダが参照できない

==> default: Mounting shared folders...
    default: /vagrant => D:/Vagrant/mycentos
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3`
vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant

The error output from the last command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device

こんな風にマウント失敗のエラーが出ていた.
どうもVirtualBoxのGuestAdditionsがおかしくなっているようなので,次の対応を実施:


  1. 稼働OSを停止: vagrant halt
  2. プラグインインストール: vagrant plugin install vagrant-vbguestd:\Vagrant\mycentos>vagrant plugin install vagrant-vbguestInstalling the 'vagrant-vbguest' plugin. This can take a few minutes...Installed the plugin 'vagrant-vbguest (0.11.0)'!
  3. 再起動する途中でインストールされる: vagrant up




References

  • http://dotinstall.com/lessons/basic_localdev_win/