From d34049a22fc6d08478f85cccaa3d5e84d4bd9da2 Mon Sep 17 00:00:00 2001 From: Jooncheol Park Date: Wed, 20 May 2015 15:27:51 +0900 Subject: add README content for build issue on VM --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- cgit v1.2.1