vera++ is not a valid Win32 application

Issue #78 wontfix
Jérémie Faucher-Goulet created an issue

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)

  1. ThArGos

    Well I confirm this works on Win7 64bits as I have retested it right away.

    C:\Users\Master>vera++ --version
    1.3.0
    

    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.

  2. Jérémie Faucher-Goulet 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.

  3. Jérémie Faucher-Goulet 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.

  4. ThArGos

    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

  5. Jérémie Faucher-Goulet 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).

  6. Vincent Hobeïka

    Feel free to reopen the ticket but it's Win32 and Windows XP related. I am not sure it is relevant anymore.

  7. Log in to comment