vera++ is not a valid Win32 application
When installed on Windows XP, double clicking on the executable yields the error "invalid.PNG".
When called through MSYS (this is a Jenkins build machine compiling using makefiles and GCC), we get "Bad file number"
Same file, once copied over on a Windows 7 x64 machine works.
Using version 1.30
Comments (8)
-
-
It works on Windows 7 32 bits too.
Can you check the md5sum of the file please. Mine is the following: e12ae6b7be5a3840197f0cb56fe03c8e
-
reporter Well, I don't have the same MD5 checksum for vera++.exe -> 34e1bbc860b19aca90e05041d191c33f
But it matches with what I have on my windows 7 x64 machine, which works.... A bit puzzled now.
-
reporter I know Microsoft doesn't support XP freely anymore, and I sure wish I didn't have this weird requirement. But sadly our build machine has to be on XP.
I cannot edit/modify that machine to do what you ask, but I could lookup into the possibility of getting a XP VM running to make some tests with the help of our IT department.
-
reporter I've managed to get a Windows XP VM working and replicate the same error.
Been looking into building by following what's available here: https://bitbucket.org/verateam/vera/wiki/developers/Building.md
But even with that I didn't go very far, having never used boost before... I've downloaded a copy of it (version 1.58), and there is no folder "v2" under tools/build. Not having that much time to invest in this, I gave up at that point.
-
Hi.
Thanks for trying to build vera++ on Windows XP. Sorry the documentation instructions didn't match with boost 1.58. They were written for boost 1.54. I have updated the build instructions so they now match boost 1.58 file organisation
-
reporter I definitely got further... Now I get (from cmake):
#! Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.0") Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2.0") CMake Error at src/python.cmake:10 (message): Could NOT find Python. Turn VERA_USE_SYSTEM_PYTHON to OFF to build it with vera++. Call Stack (most recent call first): src/CMakeLists.txt:12 (include) Configuring incomplete, errors occurred! See also "C:/vera++/vera/build/CMakeFiles/CMakeOutput.log".
When I follow your instructions for "Installing Boost.Python on Windows", it doesn't seem right. As soon as I execute "bjam --with-python" it goes ahead and install stuff at the root of my C drive instead of installing where I've previously installed boost (with a prefix).
-
- changed status to wontfix
Feel free to reopen the ticket but it's Win32 and Windows XP related. I am not sure it is relevant anymore.
- Log in to comment
Well I confirm this works on Win7 64bits as I have retested it right away.
Yet we do not have any windows xp hosts to test vera++. Moreover Windows XP is not supported anymore by microsoft.
I am going to test vera++ on a Windows 7 32 bits to see if I can reproduce the error.
Can you compile vera++ on this windows XP machine and run the tests please? Maybe we will be able to understand what is triggering this weird invalid png error. Thanks for your report.