Anonymous avatar Anonymous committed 27b6235

Don't use the header's under \epoc32\include to avoid trouble with configuring

Comments (0)

Files changed (5)

symbian/BuildPygameRelease.py

     args['sdluid'] = hex(UID_SDL).replace("L","")
     args['jpeguid']= hex(UID_JPEG).replace("L","")
     args['pythoninclude'] = config.pythoninclude
-    
+    args['defines'] = "STDERR_TO_STDOUT"
+    args['winscw_options'] = "-nostderr" # Don't show the stdioserver output
     dobuild(args)
     
     

symbian/SConscript.SDL.py

                 'deps/SDL/src/video/symbian', 'deps/SDL/src/thread', 
                 'deps/SDL/src/thread/generic', 'deps/SDL/src/thread/symbian', 
                 'deps/SDL/src/timer', 'deps/SDL/src/joystick', 
-                'deps/SDL/symbian/inc', 'deps/SDL/inc/internal']
+                'deps/SDL/symbian/inc', 
+				'deps/SDL/symbian/inc/internal',
+				'deps/SDL/include',
+]
 
-sysincludes = ['deps/SDL/include', '/epoc32/include', 
-               'inc', '/epoc32/include/SDL', 
-               '/epoc32/include/gles', 
-               '/epoc32/include/EGL', 
+sysincludes = [EPOC32_INCLUDE,
+               join( EPOC32_INCLUDE, "gles"),
+               join( EPOC32_INCLUDE, "EGL"),
                C_INCLUDE, 
                ]
 

symbian/SConscript.app.py

                            "app/pygame_main.cpp"                           
                            ],
                 includes = ["app", "common",
-                            join( EPOC32_INCLUDE, "SDL"), 
+                            join( "deps", "SDL", "include"),                              
+                            join( "deps", "SDL", "symbian", "inc"),
                             C_INCLUDE ] + python_includes
+                            
                 ,
                 defines = [
                     "__LOGMAN_ENABLED__", 

symbian/SConscript.pygame.py

                              "common",                             
                              join( "deps", "jpeg"),
                              join( "deps", "SDL_image"),
-                             join( EPOC32_INCLUDE, "SDL"),
+                             join( "deps", "SDL_ttf"),
+                             join( "deps", "SDL_mixer"),
+                             join( "deps", "SDL", "include"),                              
+                             join( "deps", "SDL", "symbian", "inc"),
                              C_INCLUDE,                             
                              #join( "..", "..", "tools", "debug" )
                            ],

symbian/app/pygame_main.cpp

+/** Creates Python interpreter and launches pygame's main script */
+
 #include <sdl.h>
 #include <Python.h>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.