summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJooncheol Park <jooncheol.park@windriver.com>2015-05-20 06:27:51 (GMT)
committerJooncheol Park <jooncheol.park@windriver.com>2015-05-20 06:27:51 (GMT)
commitd34049a22fc6d08478f85cccaa3d5e84d4bd9da2 (patch)
tree4c46ded9447970debe2157faabc8a6fcf0602c2a
parent4383367ff936c6d7c3ce2105fca0b2d6f4eef2da (diff)
downloadaudiomanagerdemo-d34049a22fc6d08478f85cccaa3d5e84d4bd9da2.tar.gz
add README content for build issue on VM
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 94fb658..785d58a 100644
--- a/README.md
+++ b/README.md
@@ -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