Menu

Visual Studio Package

Paul
2015-12-14
2015-12-16
  • Paul

    Paul - 2015-12-14

    Hi,
    I like that there is a VS package but the problem is ..

    If you move a project from one machine to another unless win-flex bison is install in the exact same location it wont work. Can you use an environment variable or something? I want other people to be able to work on my project which I am planing to be open source. I have written a 6502, 65C02 cross macro assembler with scripting.

    Paul

     
  • Alex Zhondin

    Alex Zhondin - 2015-12-15

    Hi Paul,

    What VS package are you talking about? Do you mean win_flex.vcxproj and win_bison.vcxproj VS projects? You don't need to include these projects to generate parsers.

    You can see how winflexbison is used in wireshark project or doxygen. So you just should to have path to win_flex.exe and win_bison.exe files included into PATH system variable. In this case you can just call "win_bison.exe <you_bison_file.y>" without mention full path to win_bison.exe in your projects.

    regards,
    Alex

     
  • Paul

    Paul - 2015-12-15

    Hi,
    The basic problem is I have a project where I used WinFlexBison and it works great. I now want to upload my project to SourceForge and GitHub. The project file will not work for other people because the full path of of winflexbison is stored the project file. Sorry I did not fully read our responce.I will give it a try

    Thanks

    Paul

     

    Last edit: Paul 2015-12-15
  • Alex Zhondin

    Alex Zhondin - 2015-12-16

    Hi Paul,

    You should not specify full path to winflexbison executables in your project, becuse this path should be set in PATH windows system variable. So any user who wants to build your project should setup dependencies first. In your case the user should copy winflexbison bin folder on his computer and add path to it to PATH variable. Also clients can use chocolatey.org to simplify installation of winflexbison (see wireshark as example).

     

Log in to post a comment.