From michkapopoff at gmail.com Fri Jul 11 17:17:14 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Fri, 11 Jul 2014 23:17:14 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... Message-ID: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> Hi I need to test gccxml on Windows. (to see if everything works fine with pygccxml). I installed Visual Studio Express 9 2008. Cmake GUI asks me for a generator. I guess it's "Visual studio 9 2008" + Use default native compilers. During the configure step, cmake runs until it stops at: checking stack direction for C allocs It is now stuck at this step and does not continue. Here is a gist with the error log: https://gist.github.com/iMichka/3622a7785f870d48c3c0 Michka From brad.king at kitware.com Mon Jul 14 08:56:02 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 08:56:02 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> Message-ID: <53C3D362.7070504@kitware.com> On 07/11/2014 05:17 PM, Michka Popoff wrote: > checking stack direction for C allocs > > It is now stuck at this step and does not continue. > > Here is a gist with the error log: https://gist.github.com/iMichka/3622a7785f870d48c3c0 The log entry for that check does not show up until after it finishes so it is not in the gist. You can try looking at the process tree and the content of the CMakeFiles/CMakeTmp directory to see what is going on. FWIW, I've built gccxml with VS 9 2008 on Windows 7 many times. -Brad From michkapopoff at gmail.com Mon Jul 14 10:09:10 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 16:09:10 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C3D362.7070504@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> Message-ID: <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> Okay I found the problem ? I stopped Avast, and it worked. It?s not the first time that I get conflicts with this Antivirus. That?s why I never use Windows :D 1) Just getting a warning now (https://gist.github.com/iMichka/19b3aea137013d810f92), about CMP0026 I remember you fixing this, but not in GCC_XML/VcInstall/CMakeLists.txt: https://github.com/gccxml/gccxml/commit/3eb4078017ae4b95d6f69647068718a5ca890396 (I?m not sure about the fix though) 2) And the following build failure VS: https://gist.github.com/iMichka/cdd3333b3cd3f9104a1f Michka On 14 juil. 2014, at 14:56, Brad King wrote: > On 07/11/2014 05:17 PM, Michka Popoff wrote: >> checking stack direction for C allocs >> >> It is now stuck at this step and does not continue. >> >> Here is a gist with the error log: https://gist.github.com/iMichka/3622a7785f870d48c3c0 > > The log entry for that check does not show up until after it finishes > so it is not in the gist. You can try looking at the process tree > and the content of the CMakeFiles/CMakeTmp directory to see what is > going on. > > FWIW, I've built gccxml with VS 9 2008 on Windows 7 many times. > > -Brad > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/gccxml -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad.king at kitware.com Mon Jul 14 10:48:41 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 10:48:41 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> Message-ID: <53C3EDC9.1070305@kitware.com> On 07/14/2014 10:09 AM, Michka Popoff wrote: > 1) Just getting a warning now (https://gist.github.com/iMichka/19b3aea137013d810f92), about CMP0026 > I remember you fixing this, but not in GCC_XML/VcInstall/CMakeLists.txt Fixed: https://github.com/gccxml/gccxml/commit/1b50b49e50f5edd26b0992d7994da15e52536b02 > 2) And the following build failure VS: https://gist.github.com/iMichka/cdd3333b3cd3f9104a1f You'll have to try running the failing command lines by hand to see what happens. I cannot reproduce that. -Brad From michkapopoff at gmail.com Mon Jul 14 11:48:01 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 17:48:01 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C3EDC9.1070305@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> Message-ID: <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> Thanks for the fix, that?s what I thought but I was not sure about it. For the build error, in fact I did not give you the right error, I?m discovering Visual Studio and I was not clear to me were the error was. Here it is: https://gist.github.com/iMichka/2b95142326bc2950a111 I ran the command manually, Windows tells me it can not find the patch executable. I suppose I have to install this: http://gnuwin32.sourceforge.net/packages/patch.htm Still, it does not find the patch executable, I added the folder to the path, rebooted, but it still complains it can not find it. Thanks for the help Michka On 14 juil. 2014, at 16:48, Brad King wrote: > On 07/14/2014 10:09 AM, Michka Popoff wrote: >> 1) Just getting a warning now (https://gist.github.com/iMichka/19b3aea137013d810f92), about CMP0026 >> I remember you fixing this, but not in GCC_XML/VcInstall/CMakeLists.txt > > Fixed: > > https://github.com/gccxml/gccxml/commit/1b50b49e50f5edd26b0992d7994da15e52536b02 > >> 2) And the following build failure VS: https://gist.github.com/iMichka/cdd3333b3cd3f9104a1f > > You'll have to try running the failing command lines by hand to see > what happens. I cannot reproduce that. > > -Brad > From brad.king at kitware.com Mon Jul 14 11:52:52 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 11:52:52 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> Message-ID: <53C3FCD4.3030407@kitware.com> On 07/14/2014 11:48 AM, Michka Popoff wrote: > Thanks for the fix, that?s what I thought but I was not sure about it. > > For the build error, in fact I did not give you the right error, I?m discovering Visual Studio and I was not clear to me > were the error was. Here it is: https://gist.github.com/iMichka/2b95142326bc2950a111 That content is just a log of the command sequence it was told to run, not the results. The IDE output window should have the real messages. > I ran the command manually, Windows tells me it can not find the patch executable. > I suppose I have to install this: http://gnuwin32.sourceforge.net/packages/patch.htm No, we provide a binary in the source tree: GCC_XML/VcInstall/vcCat.exe GCC_XML/VcInstall/vcPatch.exe Perhaps Git is not checking it out with execute permission? -Brad From michkapopoff at gmail.com Mon Jul 14 12:11:14 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 18:11:14 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C3FCD4.3030407@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> Message-ID: When looking at the properties of the two files, there was this message: This file came from another computer and might be blocked to help protect this computer I unblocked them, just to be sure, but it still didn?t work. Got this error message in the IDE: 1>------ Build started: Project: vcInstallPatch, Configuration: Release Win32 ------ 1>Generating ../vcInstall_stamp.c 1>Cannot find patch executable. 1>Project : error PRJ0019: A tool returned an error code from "Generating ../vcInstall_stamp.c" 1>Build log was saved at "file://c:\Users\lux\Desktop\build\GCC_XML\VcInstall\vcInstallPatch.dir\Release\BuildLog.htm" 1>vcInstallPatch - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 36 up-to-date, 0 skipped ========== On 14 juil. 2014, at 17:52, Brad King wrote: > On 07/14/2014 11:48 AM, Michka Popoff wrote: >> Thanks for the fix, that?s what I thought but I was not sure about it. >> >> For the build error, in fact I did not give you the right error, I?m discovering Visual Studio and I was not clear to me >> were the error was. Here it is: https://gist.github.com/iMichka/2b95142326bc2950a111 > > That content is just a log of the command sequence it was told to run, > not the results. The IDE output window should have the real messages. > >> I ran the command manually, Windows tells me it can not find the patch executable. >> I suppose I have to install this: http://gnuwin32.sourceforge.net/packages/patch.htm > > No, we provide a binary in the source tree: > > GCC_XML/VcInstall/vcCat.exe > GCC_XML/VcInstall/vcPatch.exe > > Perhaps Git is not checking it out with execute permission? > > -Brad > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad.king at kitware.com Mon Jul 14 13:08:45 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 13:08:45 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> Message-ID: <53C40E9D.5010803@kitware.com> On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: > 1>Generating ../vcInstall_stamp.c > 1>Cannot find patch executable. In the IDE menu system follow: Tools -> Options -> Projects and Solutions -> Build and Run -> MSBuild project build output verbosity and select more detailed output from the drop-down. -Brad From michkapopoff at gmail.com Mon Jul 14 13:58:39 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 19:58:39 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C40E9D.5010803@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> <53C40E9D.5010803@kitware.com> Message-ID: Following your instructions I changed it, and it does not modify the format of the output (In detailed and in diagnostics mode). Maybe there is nothing more to display then. On 14 juil. 2014, at 19:08, Brad King wrote: > On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: >> 1>Generating ../vcInstall_stamp.c >> 1>Cannot find patch executable. > > In the IDE menu system follow: > > Tools -> Options -> Projects and Solutions -> Build and Run > -> MSBuild project build output verbosity > > and select more detailed output from the drop-down. > > -Brad From brad.king at kitware.com Mon Jul 14 14:05:02 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 14:05:02 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> <53C40E9D.5010803@kitware.com> Message-ID: <53C41BCE.8050102@kitware.com> On 07/14/2014 01:58 PM, Michka Popoff wrote: > Following your instructions I changed it, and it does not modify the format > > On 14 juil. 2014, at 19:08, Brad King wrote: > >> On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: >>> 1>Generating ../vcInstall_stamp.c >>> 1>Cannot find patch executable. It looks for vcPatch.exe and vcCat.exe in the directory given as the first argument to the command. According to the gist you linked earlier that is: C:/Users/lux/Desktop/gccxml-master/GCC_XML/VcInstall Do the files exist there? If so you're going to have to debug this in GCC_XML/VcInstall/vcInstall.cxx to see why it does not think the executables exist. -Brad From michkapopoff at gmail.com Tue Jul 15 08:08:26 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Tue, 15 Jul 2014 14:08:26 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C41BCE.8050102@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> <53C40E9D.5010803@kitware.com> <53C41BCE.8050102@kitware.com> Message-ID: <4422783D-5C5F-4633-B4BF-30DC414EE57F@gmail.com> Okay I found it. Avast again ? I checked the files, vcCat.exe is there, but not vcPatch.exe ? I extracted the archive with Winrar, when Avast?s active protection is running, it does not extract vcPatch ? Funnily vcCat.exe is correctly extracted. And interestingly nor Avast nor Winrar display any error message. I was able to compile gccxml, and pygccxml?s unit tests are all passing under windows :) Thanks for the help Brad Michka On 14 juil. 2014, at 20:05, Brad King wrote: > On 07/14/2014 01:58 PM, Michka Popoff wrote: >> Following your instructions I changed it, and it does not modify the format >> >> On 14 juil. 2014, at 19:08, Brad King wrote: >> >>> On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: >>>> 1>Generating ../vcInstall_stamp.c >>>> 1>Cannot find patch executable. > > It looks for vcPatch.exe and vcCat.exe in the directory given as the > first argument to the command. According to the gist you linked > earlier that is: > > C:/Users/lux/Desktop/gccxml-master/GCC_XML/VcInstall > > Do the files exist there? If so you're going to have to debug > this in GCC_XML/VcInstall/vcInstall.cxx to see why it does not > think the executables exist. > > -Brad > From michkapopoff at gmail.com Wed Jul 23 07:16:41 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Wed, 23 Jul 2014 13:16:41 +0200 Subject: [GCC-XML] [ANNOUNCE] pygccxml v1.6.1 Message-ID: <15BB116E-8F0F-4FF8-A515-739FB2975147@gmail.com> On behalf of the Insight Toolkit community and the gccxml maintainers, I am proud to announce that pygccxml v1.6.1 has been released. pygccxml is a specialized XML reader that reads the output from GCCXML. It provides a simple framework to navigate C++ declarations, using Python. It is now fully compatible with python 2.6, 2.7, 3.2, 3.3 and 3.4 ! The pygccxml project is now hosted and maintained by the ITK community, and can be found here [1]. To know more about the history of the project, please find more information on this page [2]. To install pygccxml, you can use pip: pip install pygccxml For more details, please see the documentation [3]. Those community members wishing to contribute are welcome to do so. [1] https://github.com/gccxml/pygccxml [2] http://gccxml.github.io/pygccxml/documentation/history/history.html [3] http://gccxml.github.io/pygccxml/documentation/index.html Changes: Version 1.6.1 ------------- 1. Fix a regression introduced by previous changes. Syntax errors were introduced in the part were you can check if a class is copyable or not (see #13). These have been fixed now. Version 1.6 ----------- 1. Moved the repository from mercurial to git 2. Changed the documentation from epydoc to sphinx doc 3. Setup the documentation as gh-page and add script to update the documentation Just call "make gh-pages" on the root folder to create a commit with the new documentation, which you may then push to the github repository. The url for the documentation is now http://gccxml.github.io/pygccxml/ 4. Add Travis unit tests for Python 2.6, 2.7, 3.2, 3.3 and 3.4 The tests are run after each commit (see .travis.yml file in root folder) https://travis-ci.org/gccxml/pygccxml 5. Add automatic code coverage. The code coverage is run during each travis run and the results are uploaded to https://coveralls.io/r/gccxml/pygccxml 6. Fix copy_constructor unit test 7. Deprecate parser.config_t (replaced by parser.gccxml_configuration_t) 8. Fix for string comparison with future unicode literals When using from __future__ import unicode_literals in python 2.7, the call to the namespace() method would fail due to the isinstance/str check. A is_str() function was added to the utils module, allowing for a python 2 and python 3 compatible string check. A unit test for this case was added. 9. All the code is now pep8 compliant and is tested for this in an unit test 10. Most of unused imports and variables were removed using the pyflakes tool 11. Use new style python decorators (@property) everywhere 12. Add new unit test for the example.py file 13. Update the licence headers to reflect the change in maintainers From michkapopoff at gmail.com Fri Jul 11 17:17:14 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Fri, 11 Jul 2014 23:17:14 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... Message-ID: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> Hi I need to test gccxml on Windows. (to see if everything works fine with pygccxml). I installed Visual Studio Express 9 2008. Cmake GUI asks me for a generator. I guess it's "Visual studio 9 2008" + Use default native compilers. During the configure step, cmake runs until it stops at: checking stack direction for C allocs It is now stuck at this step and does not continue. Here is a gist with the error log: https://gist.github.com/iMichka/3622a7785f870d48c3c0 Michka From brad.king at kitware.com Mon Jul 14 08:56:02 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 08:56:02 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> Message-ID: <53C3D362.7070504@kitware.com> On 07/11/2014 05:17 PM, Michka Popoff wrote: > checking stack direction for C allocs > > It is now stuck at this step and does not continue. > > Here is a gist with the error log: https://gist.github.com/iMichka/3622a7785f870d48c3c0 The log entry for that check does not show up until after it finishes so it is not in the gist. You can try looking at the process tree and the content of the CMakeFiles/CMakeTmp directory to see what is going on. FWIW, I've built gccxml with VS 9 2008 on Windows 7 many times. -Brad From michkapopoff at gmail.com Mon Jul 14 10:09:10 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 16:09:10 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C3D362.7070504@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> Message-ID: <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> Okay I found the problem ? I stopped Avast, and it worked. It?s not the first time that I get conflicts with this Antivirus. That?s why I never use Windows :D 1) Just getting a warning now (https://gist.github.com/iMichka/19b3aea137013d810f92), about CMP0026 I remember you fixing this, but not in GCC_XML/VcInstall/CMakeLists.txt: https://github.com/gccxml/gccxml/commit/3eb4078017ae4b95d6f69647068718a5ca890396 (I?m not sure about the fix though) 2) And the following build failure VS: https://gist.github.com/iMichka/cdd3333b3cd3f9104a1f Michka On 14 juil. 2014, at 14:56, Brad King wrote: > On 07/11/2014 05:17 PM, Michka Popoff wrote: >> checking stack direction for C allocs >> >> It is now stuck at this step and does not continue. >> >> Here is a gist with the error log: https://gist.github.com/iMichka/3622a7785f870d48c3c0 > > The log entry for that check does not show up until after it finishes > so it is not in the gist. You can try looking at the process tree > and the content of the CMakeFiles/CMakeTmp directory to see what is > going on. > > FWIW, I've built gccxml with VS 9 2008 on Windows 7 many times. > > -Brad > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/gccxml -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad.king at kitware.com Mon Jul 14 10:48:41 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 10:48:41 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> Message-ID: <53C3EDC9.1070305@kitware.com> On 07/14/2014 10:09 AM, Michka Popoff wrote: > 1) Just getting a warning now (https://gist.github.com/iMichka/19b3aea137013d810f92), about CMP0026 > I remember you fixing this, but not in GCC_XML/VcInstall/CMakeLists.txt Fixed: https://github.com/gccxml/gccxml/commit/1b50b49e50f5edd26b0992d7994da15e52536b02 > 2) And the following build failure VS: https://gist.github.com/iMichka/cdd3333b3cd3f9104a1f You'll have to try running the failing command lines by hand to see what happens. I cannot reproduce that. -Brad From michkapopoff at gmail.com Mon Jul 14 11:48:01 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 17:48:01 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C3EDC9.1070305@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> Message-ID: <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> Thanks for the fix, that?s what I thought but I was not sure about it. For the build error, in fact I did not give you the right error, I?m discovering Visual Studio and I was not clear to me were the error was. Here it is: https://gist.github.com/iMichka/2b95142326bc2950a111 I ran the command manually, Windows tells me it can not find the patch executable. I suppose I have to install this: http://gnuwin32.sourceforge.net/packages/patch.htm Still, it does not find the patch executable, I added the folder to the path, rebooted, but it still complains it can not find it. Thanks for the help Michka On 14 juil. 2014, at 16:48, Brad King wrote: > On 07/14/2014 10:09 AM, Michka Popoff wrote: >> 1) Just getting a warning now (https://gist.github.com/iMichka/19b3aea137013d810f92), about CMP0026 >> I remember you fixing this, but not in GCC_XML/VcInstall/CMakeLists.txt > > Fixed: > > https://github.com/gccxml/gccxml/commit/1b50b49e50f5edd26b0992d7994da15e52536b02 > >> 2) And the following build failure VS: https://gist.github.com/iMichka/cdd3333b3cd3f9104a1f > > You'll have to try running the failing command lines by hand to see > what happens. I cannot reproduce that. > > -Brad > From brad.king at kitware.com Mon Jul 14 11:52:52 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 11:52:52 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> Message-ID: <53C3FCD4.3030407@kitware.com> On 07/14/2014 11:48 AM, Michka Popoff wrote: > Thanks for the fix, that?s what I thought but I was not sure about it. > > For the build error, in fact I did not give you the right error, I?m discovering Visual Studio and I was not clear to me > were the error was. Here it is: https://gist.github.com/iMichka/2b95142326bc2950a111 That content is just a log of the command sequence it was told to run, not the results. The IDE output window should have the real messages. > I ran the command manually, Windows tells me it can not find the patch executable. > I suppose I have to install this: http://gnuwin32.sourceforge.net/packages/patch.htm No, we provide a binary in the source tree: GCC_XML/VcInstall/vcCat.exe GCC_XML/VcInstall/vcPatch.exe Perhaps Git is not checking it out with execute permission? -Brad From michkapopoff at gmail.com Mon Jul 14 12:11:14 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 18:11:14 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C3FCD4.3030407@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> Message-ID: When looking at the properties of the two files, there was this message: This file came from another computer and might be blocked to help protect this computer I unblocked them, just to be sure, but it still didn?t work. Got this error message in the IDE: 1>------ Build started: Project: vcInstallPatch, Configuration: Release Win32 ------ 1>Generating ../vcInstall_stamp.c 1>Cannot find patch executable. 1>Project : error PRJ0019: A tool returned an error code from "Generating ../vcInstall_stamp.c" 1>Build log was saved at "file://c:\Users\lux\Desktop\build\GCC_XML\VcInstall\vcInstallPatch.dir\Release\BuildLog.htm" 1>vcInstallPatch - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 36 up-to-date, 0 skipped ========== On 14 juil. 2014, at 17:52, Brad King wrote: > On 07/14/2014 11:48 AM, Michka Popoff wrote: >> Thanks for the fix, that?s what I thought but I was not sure about it. >> >> For the build error, in fact I did not give you the right error, I?m discovering Visual Studio and I was not clear to me >> were the error was. Here it is: https://gist.github.com/iMichka/2b95142326bc2950a111 > > That content is just a log of the command sequence it was told to run, > not the results. The IDE output window should have the real messages. > >> I ran the command manually, Windows tells me it can not find the patch executable. >> I suppose I have to install this: http://gnuwin32.sourceforge.net/packages/patch.htm > > No, we provide a binary in the source tree: > > GCC_XML/VcInstall/vcCat.exe > GCC_XML/VcInstall/vcPatch.exe > > Perhaps Git is not checking it out with execute permission? > > -Brad > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad.king at kitware.com Mon Jul 14 13:08:45 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 13:08:45 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> Message-ID: <53C40E9D.5010803@kitware.com> On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: > 1>Generating ../vcInstall_stamp.c > 1>Cannot find patch executable. In the IDE menu system follow: Tools -> Options -> Projects and Solutions -> Build and Run -> MSBuild project build output verbosity and select more detailed output from the drop-down. -Brad From michkapopoff at gmail.com Mon Jul 14 13:58:39 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Mon, 14 Jul 2014 19:58:39 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C40E9D.5010803@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> <53C40E9D.5010803@kitware.com> Message-ID: Following your instructions I changed it, and it does not modify the format of the output (In detailed and in diagnostics mode). Maybe there is nothing more to display then. On 14 juil. 2014, at 19:08, Brad King wrote: > On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: >> 1>Generating ../vcInstall_stamp.c >> 1>Cannot find patch executable. > > In the IDE menu system follow: > > Tools -> Options -> Projects and Solutions -> Build and Run > -> MSBuild project build output verbosity > > and select more detailed output from the drop-down. > > -Brad From brad.king at kitware.com Mon Jul 14 14:05:02 2014 From: brad.king at kitware.com (Brad King) Date: Mon, 14 Jul 2014 14:05:02 -0400 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> <53C40E9D.5010803@kitware.com> Message-ID: <53C41BCE.8050102@kitware.com> On 07/14/2014 01:58 PM, Michka Popoff wrote: > Following your instructions I changed it, and it does not modify the format > > On 14 juil. 2014, at 19:08, Brad King wrote: > >> On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: >>> 1>Generating ../vcInstall_stamp.c >>> 1>Cannot find patch executable. It looks for vcPatch.exe and vcCat.exe in the directory given as the first argument to the command. According to the gist you linked earlier that is: C:/Users/lux/Desktop/gccxml-master/GCC_XML/VcInstall Do the files exist there? If so you're going to have to debug this in GCC_XML/VcInstall/vcInstall.cxx to see why it does not think the executables exist. -Brad From michkapopoff at gmail.com Tue Jul 15 08:08:26 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Tue, 15 Jul 2014 14:08:26 +0200 Subject: [GCC-XML] Compiling on Windows 7 ... In-Reply-To: <53C41BCE.8050102@kitware.com> References: <759208F9-D861-450F-88DB-822FA2FED9A7@gmail.com> <53C3D362.7070504@kitware.com> <7A46A101-6AE4-41F3-9D51-09455E6FE40B@gmail.com> <53C3EDC9.1070305@kitware.com> <782D8833-DB52-426F-82ED-7A964569FBAC@gmail.com> <53C3FCD4.3030407@kitware.com> <53C40E9D.5010803@kitware.com> <53C41BCE.8050102@kitware.com> Message-ID: <4422783D-5C5F-4633-B4BF-30DC414EE57F@gmail.com> Okay I found it. Avast again ? I checked the files, vcCat.exe is there, but not vcPatch.exe ? I extracted the archive with Winrar, when Avast?s active protection is running, it does not extract vcPatch ? Funnily vcCat.exe is correctly extracted. And interestingly nor Avast nor Winrar display any error message. I was able to compile gccxml, and pygccxml?s unit tests are all passing under windows :) Thanks for the help Brad Michka On 14 juil. 2014, at 20:05, Brad King wrote: > On 07/14/2014 01:58 PM, Michka Popoff wrote: >> Following your instructions I changed it, and it does not modify the format >> >> On 14 juil. 2014, at 19:08, Brad King wrote: >> >>> On Mon, Jul 14, 2014 at 12:11 PM, Michka Popoff wrote: >>>> 1>Generating ../vcInstall_stamp.c >>>> 1>Cannot find patch executable. > > It looks for vcPatch.exe and vcCat.exe in the directory given as the > first argument to the command. According to the gist you linked > earlier that is: > > C:/Users/lux/Desktop/gccxml-master/GCC_XML/VcInstall > > Do the files exist there? If so you're going to have to debug > this in GCC_XML/VcInstall/vcInstall.cxx to see why it does not > think the executables exist. > > -Brad > From michkapopoff at gmail.com Wed Jul 23 07:16:41 2014 From: michkapopoff at gmail.com (Michka Popoff) Date: Wed, 23 Jul 2014 13:16:41 +0200 Subject: [GCC-XML] [ANNOUNCE] pygccxml v1.6.1 Message-ID: <15BB116E-8F0F-4FF8-A515-739FB2975147@gmail.com> On behalf of the Insight Toolkit community and the gccxml maintainers, I am proud to announce that pygccxml v1.6.1 has been released. pygccxml is a specialized XML reader that reads the output from GCCXML. It provides a simple framework to navigate C++ declarations, using Python. It is now fully compatible with python 2.6, 2.7, 3.2, 3.3 and 3.4 ! The pygccxml project is now hosted and maintained by the ITK community, and can be found here [1]. To know more about the history of the project, please find more information on this page [2]. To install pygccxml, you can use pip: pip install pygccxml For more details, please see the documentation [3]. Those community members wishing to contribute are welcome to do so. [1] https://github.com/gccxml/pygccxml [2] http://gccxml.github.io/pygccxml/documentation/history/history.html [3] http://gccxml.github.io/pygccxml/documentation/index.html Changes: Version 1.6.1 ------------- 1. Fix a regression introduced by previous changes. Syntax errors were introduced in the part were you can check if a class is copyable or not (see #13). These have been fixed now. Version 1.6 ----------- 1. Moved the repository from mercurial to git 2. Changed the documentation from epydoc to sphinx doc 3. Setup the documentation as gh-page and add script to update the documentation Just call "make gh-pages" on the root folder to create a commit with the new documentation, which you may then push to the github repository. The url for the documentation is now http://gccxml.github.io/pygccxml/ 4. Add Travis unit tests for Python 2.6, 2.7, 3.2, 3.3 and 3.4 The tests are run after each commit (see .travis.yml file in root folder) https://travis-ci.org/gccxml/pygccxml 5. Add automatic code coverage. The code coverage is run during each travis run and the results are uploaded to https://coveralls.io/r/gccxml/pygccxml 6. Fix copy_constructor unit test 7. Deprecate parser.config_t (replaced by parser.gccxml_configuration_t) 8. Fix for string comparison with future unicode literals When using from __future__ import unicode_literals in python 2.7, the call to the namespace() method would fail due to the isinstance/str check. A is_str() function was added to the utils module, allowing for a python 2 and python 3 compatible string check. A unit test for this case was added. 9. All the code is now pep8 compliant and is tested for this in an unit test 10. Most of unused imports and variables were removed using the pyflakes tool 11. Use new style python decorators (@property) everywhere 12. Add new unit test for the example.py file 13. Update the licence headers to reflect the change in maintainers