You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gtk_builder_add_from_file() (build "GTK4_GVsbuild_2024.7.0_x64") fails under windows when the file is a dos file and not a unix(CR LF instead LF) .
I tride to validate with
gtk4-builder-tool validate builder.ui
and get error message
failed to add UI: Error on line 1 char 1: Document must begin with an element (e.g. )
I tried the same command with another installation under MSYS2 and same thing happened.
I compare functioning example(in MSYS2) with this one and notice the file difference I ran dos2unix on original file
and now the windows version is working too.
there is a simple work-around for sure but shoulden't windows build be compatible with windows file ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
gtk_builder_add_from_file() (build "GTK4_GVsbuild_2024.7.0_x64") fails under windows when the file is a dos file and not a unix(CR LF instead LF) .
I tride to validate with
gtk4-builder-tool validate builder.ui
and get error message
failed to add UI: Error on line 1 char 1: Document must begin with an element (e.g. )
I tried the same command with another installation under MSYS2 and same thing happened.
I compare functioning example(in MSYS2) with this one and notice the file difference I ran dos2unix on original file
and now the windows version is working too.
there is a simple work-around for sure but shoulden't windows build be compatible with windows file ?
thank you in advance.
amirali
Beta Was this translation helpful? Give feedback.
All reactions