Skip to content

Generated makefiles not complete #11

Closed

Description

@carsonmcdonald

I ran into an issue when trying to follow the instructions for compiling wordpress. The parsing and generating part worked but the compile failed. After digging into the generated code I found that the CMakeLists.txt file was missing an entry for the cpp and cls directories.

After adding those two directories and re-running cmake I found that the compile then failed on any include file that had a $$ in the name. I went in and renamed all include files that had $$ in the name and this seems to have fixed all the issues. I am now able to run the compile wordpress program.

These are probably two different issues.

Activity

  1. scottmac commented on Feb 21, 2010

    @scottmac
    Contributor

    Need more information to reproduce this, its working for me on Ubuntu 9.10 and CentOS 5.4. No errors about missing includes.

  2. serphen commented on Feb 21, 2010

    @serphen
    Contributor

    Bug reproduced:

    make[2]: *** No rule to make target php/we_love_$_donuts.cpp', needed byCMakeFiles/program.dir/php/we_love_$_donuts.cpp.o'. Stop.\nmake[1]: *** [CMakeFiles/program.dir/all] Error 2\nmake: *** [all] Error 2\n

    Steps to reproduce:

    Possible fix:
    $$ is used for separator in class name (from what I understood), may be a bit tricky then.

    Tried to rename we_love_$donuts.* to we_love$$_donuts.* in build directory:

    make[2]: *** No rule to make target php/we_love_/usr/bin/makedonuts.cpp', needed byCMakeFiles/program.dir/php/we_love_/usr/bin/makedonuts.cpp.o'. Stop.\nmake[1]: *** [CMakeFiles/program.dir/all] Error 2\nmake: *** [all] Error 2\n

  3. carsonmcdonald commented on Feb 21, 2010

    @carsonmcdonald
    ContributorAuthor

    Sorry, I should have broken this into two issues with more detail. I'll close this one and reopen as two.

  4. chrisgraham commented on Feb 22, 2010

    @chrisgraham

    I think this is #32 and #23.

  5. added a commit that references this issue on Aug 1, 2014
  6. added a commit that references this issue on Sep 24, 2017
  7. added a commit that references this issue on Jun 26, 2019
  8. added a commit that references this issue on Aug 8, 2019
  9. added a commit that references this issue on Dec 1, 2025
  10. added a commit that references this issue on Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions