Skip to content

Autocmake python script works with error #2

@TaiXeflar

Description

@TaiXeflar

Hi, I'm transfering a automake project(vermaseren/form) to cmake project with this auto2cmake.py script. I'm put this Python File to the form project folder and run directly(no any changes in auto2cmake.py), the terminal console returns error like this:

 Traceback (most recent call last):
  File "./auto2cmake.py", line 1647, in <module>
    main(sys.argv[1:])
  File "./auto2cmake.py", line 1641, in main
    convert()
  File "./auto2cmake.py", line 1466, in convert
    process_configure_ac(configure_ac)
  File "./auto2cmake.py", line 997, in process_configure_ac
    current_line = content[i].strip()
 IndexError: list index out of range

Is this error generated by no pre-setup or anything else? I'm not very sure how to use this convert tool.

P.S. Tested on windows 11 and linux platform.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions