I assume you use cmake-gui.

Run CMake. Check the box that says Advanced (upper right). Search for CMAKE_CXX_FLAGS. Modify the line and add "/D_ALLOW_KEYWORD_MACROS". Configure and Generate. Build VXL as usual.

Ho Cheung

On Tue, May 13, 2014 at 8:12 AM, 赵耀 <joeasir0560@outlook.com> wrote:
I've tried the VXL 1.17, but it doesn't work. There are still many same errors as before. As for the other solution : add"/D_ALLOW_KEYWORD_MACROS" to your CMAKE_CXX_FLAGS .    I'm not clear where CMAKE_CXX_FLAGS is. How can I find it, and add"/D_ALLOW_KEYWORD_MACROS".
I'm sorry that I'm a begin-learn, Please don't be anger about my questions.   :-)


With kind regards,
Joe Zhao 
Beihang University
Address:  B518, New Main Building, Beihang University, Xueyuan Rd No.37, Haidian District, Beijing, P.R.China


From: hocheung20@gmail.com
Date: Mon, 12 May 2014 20:44:27 -0500

Subject: Re: [Vxl-users] Compile Error
To: joeasir0560@outlook.com
CC: scottim@imorphics.com; vxl-users@lists.sourceforge.net


The link that Frank sent has both a short hack-around solution or a more updated comprehensive fix.

In short, either add "/D_ALLOW_KEYWORD_MACROS" to your CMAKE_CXX_FLAGS.

Hope this helps,

Ho Cheung