diff options
author | Jooncheol Park <jooncheol.park@windriver.com> | 2015-05-20 15:27:51 +0900 |
---|---|---|
committer | Jooncheol Park <jooncheol.park@windriver.com> | 2015-05-20 15:27:51 +0900 |
commit | d34049a22fc6d08478f85cccaa3d5e84d4bd9da2 (patch) | |
tree | 4c46ded9447970debe2157faabc8a6fcf0602c2a | |
parent | 4383367ff936c6d7c3ce2105fca0b2d6f4eef2da (diff) | |
download | audiomanagerdemo-d34049a22fc6d08478f85cccaa3d5e84d4bd9da2.tar.gz |
add README content for build issue on VM
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -45,6 +45,19 @@ $ qmake INCLUDEPATH=(PREFIX-OF-AM)/include $ make + If you have a trouble with the compile due to not enough memory (e.g. build on VMWare), You can comment out the line "RESOURCES += qml.qrc" from AudioManager.pro. The executable binary won't have big resouce files in it. + + $ vi AudioManagerMonitor.pro # comment out line "RESOURCES += qml.qrc" + $ qmake && make + $ ./AudioManagerMonitor --debug # run with --debug to load resources directly from filesystem. + + Or you can add swap file temporarily for enough memory space for build on VM. + + $ dd if=/dev/zero of=/swapfile bs=1K count=2000000 # 2G, you can try more + $ mkswap /swapfile + $ swapon /swapfile + $ # if you want to use this for next boot, add "/swapfile none swap sw 0 0" in /etc/fstab and reboot + --- ## Running AM Monitor on Ubuntu 14.04 PC |