Autocmake python script works with error
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
Same error~
Same error~
Can you please provide the script you are trying to convert? I wrote this tool for one of my projects, worked for that and never ever have thought that anyone else would need to use it. Thanks.
Same error~
Can you please provide the script you are trying to convert? I wrote this tool for one of my projects, worked for that and never ever have thought that anyone else would need to use it. Thanks.
https://github.com/python/cpython/blob/main/configure.ac