@@ -81,7 +81,7 @@ def get_lib_flags_from_pkgconfig():
8181 stdout = subprocess .PIPE ).stdout .strip ()
8282
8383def pre_process_header (filename , remove_function_bodies = False ):
84- print ("Pre-processing " + filename )
84+ print ("Pre-processing " + str ( filename ) )
8585 file = open (filename , "r" )
8686 filetext = "" .join ([line for line in file if '#include' not in line ])
8787 command = ['gcc' , '-CC' , '-P' , '-undef' , '-nostdinc' , '-DRL_MATRIX_TYPE' ,
@@ -95,7 +95,6 @@ def pre_process_header(filename, remove_function_bodies=False):
9595 filetext = "\n " .join ([line for line in filetext .splitlines () if not line .startswith ("#" )])
9696 file = open ("raylib/" + os .path .basename (filename )+ ".modified" , "w" )
9797 file .write (filetext )
98- # print(r)
9998 return filetext
10099
101100
@@ -139,12 +138,12 @@ def check_header_exists(file):
139138
140139def build_unix ():
141140 if os .getenv ("RAYLIB_LINK_ARGS" ) is None and not check_raylib_pkgconfig_installed ():
142- print ("PKG_CONFIG_PATH is set to: " + os .getenv ("PKG_CONFIG_PATH" ))
141+ print ("PKG_CONFIG_PATH is set to: " + str ( os .getenv ("PKG_CONFIG_PATH" ) ))
143142 raise Exception ("ERROR: raylib not found by pkg-config. Please install pkg-config and Raylib"
144143 "or else set RAYLIB_LINK_ARGS env variable." )
145144
146145 if RAYLIB_PLATFORM == "SDL" and os .getenv ("RAYLIB_LINK_ARGS" ) is None and not check_sdl_pkgconfig_installed ():
147- print ("PKG_CONFIG_PATH is set to: " + os .getenv ("PKG_CONFIG_PATH" ))
146+ print ("PKG_CONFIG_PATH is set to: " + str ( os .getenv ("PKG_CONFIG_PATH" ) ))
148147 raise Exception ("ERROR: SDL2 not found by pkg-config. Please install pkg-config and SDL2."
149148 "or else set RAYLIB_LINK_ARGS env variable." )
150149
0 commit comments