Menu

#6 fileListMenu.h missing from source

v0.9.0
closed-fixed
nobody
None
5
2014-02-24
2014-02-22
No

I tried compiling cstitch on OS X 10.9.1 (using QT 5.2.1), and things went well until Qt Creator got to windowManager.cpp and couldn't find fileListMenu.h. Is this something that should have been generated, or is it just not in the tree by mistake?

Related

Bugs: #6

Discussion

  • Tom Klein

    Tom Klein - 2014-02-23

    fileListMenu.h and fileListMenu.cpp have been added to the repository. Thanks for letting me know, and please let me know if you run into any problems on OS X, which I've been unable to test on.

     
  • Anthony Bellissimo

    Almost there -- now I have a complaint about a missing doc/overview.html. Maybe this ticket title should be changed to just "files missing from source"?

     
    • Tom Klein

      Tom Klein - 2014-02-23

      I was able to clone the repository that's currently online and compile on linux using the instructions in the INSTALL_linux file (at https://sourceforge.net/projects/cstitch/files/Cstitch/ ), so all the files you need are there, but the process will be slightly different for you since you're using Qt Creator instead of just the command line.
      You definitely need to do Step 4 from the INSTALL file, which generates the documentation files (including doc/overview.html): in a shell, go to the directory that contains the cstitch files and run the command doc/createDocs.py (you might also be able to run it just by going to the file createDocs.py in your file browser (in the doc subfolder of the cstitch directory) and double-clicking on it, but I'm not sure if that will work or not).
      Also, I don't think Creator automatically picks up all of the required libraries, so if everything compiles but you get link errors at the very end of the compile process, then you probably need to either a) run 'progen' in the cstitch directory as in Step 5 of the INSTALL instructions, or b) manually edit your .pro file in Creator and add a line 'QT += xml widgets printsupport' toward the top. To be on the safe side I would Build->Clean project before doing this step.
      The icons also need to be installed in order to compile (step 3 of the INSTALL instructions), but I think you would have run into that error already if you hadn't installed them yet.

      I hope that does it - feel free to let me know if you run into other problems.

       

      Last edit: Tom Klein 2014-02-23
      • Anthony Bellissimo

        After building the docs, grabbing the icons, and regenerating the project
        file (since I built the original without fileListMenu.*), Qt Creator did
        give me a cstitch-code.app that at least starts up. I haven't had much time
        to really get into it yet.

        You might want to consider adding the build instructions to the repo
        itself; when I saw that binaries for my platform weren't in the Files
        section, I skipped right to the source tree rather than reading the rest of
        it. I searched for something named BUILD or INSTALL after I cloned, but
        came up empty.

        Thanks very much for the help! I'll let you know if I run into any issues.

        -- Anthony

        On Feb 22, 2014, at 8:50 PM, Tom Klein tomklein@users.sf.net wrote:

        I was able to clone the repository that's currently online and compile on
        linux using the instructions in the INSTALL_linux file (at
        https://sourceforge.net/projects/cstitch/files/Cstitch/ ), so all the files
        you need are there, but the process will be slightly different for you
        since you're using Qt Creator instead of just the command line.
        You definitely need to do Step 4 from the INSTALL file, which generates the
        documentation files (including doc/overview.html): in a shell, go to the
        directory that contains the cstitch files and run the command
        doc/createDocs.py (you might also be able to run it just by going to the
        file createDocs.py in your file browser (in the doc subfolder of the
        cstitch directory) and double-clicking on it, but I'm not sure if that will
        work or not).
        Also, I don't think Creator automatically picks up all of the required
        libraries, so if everything compiles but you get link errors at the very
        end of the compile process, then you probably need to either a) run
        'progen' in the cstitch directory as in Step 5 of the INSTALL instructions,
        or b) manually edit your .pro file in Creator and add a line 'QT += xml
        widgets printsupport' toward the top. To be on the safe side, after you do
        this step, I would Build->Clean project before rebuilding.
        The icons also need to be installed in order to compile (step 3 of the
        INSTALL instructions), but I think you would have run into that error
        already if you hadn't installed them yet.

        I hope that does it - feel free to let me know if you run into other
        problems.


        Status: open
        Created: Sat Feb 22, 2014 09:44 PM UTC by Anthony Bellissimo
        Last Updated: Sun Feb 23, 2014 01:00 AM UTC
        Owner: nobody

        I tried compiling cstitch on OS X 10.9.1 (using QT 5.2.1), and things went
        well until Qt Creator got to windowManager.cpp and couldn't find
        fileListMenu.h. Is this something that should have been generated, or is it
        just not in the tree by mistake?


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/cstitch/bugs/6/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #6

  • Tom Klein

    Tom Klein - 2014-02-24
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB