Symbian buildfix.

This commit is contained in:
Sacha 2013-06-22 04:56:39 +10:00
parent 0d808188a0
commit cee1bcf7e9
3 changed files with 8 additions and 3 deletions

View file

@ -11,7 +11,11 @@ mobile_platform: MOBILITY += sensors
symbian: MOBILITY += systeminfo
# Libs
symbian: LIBS += -lCore.lib -lCommon.lib -lNative.lib -L ffmpeg/symbian/armv6/lib -lavformat.a -lavcodec.a -lswresample.a -lswscale.a
symbian {
LIBS += -lCore.lib -lCommon.lib -lNative.lib
# For now you have to copy these to the Symbian lib dir. Better solution coming later.
LIBS += -lavutil.lib -lavformat.lib -lavcodec.lib -lswresample.lib -lswscale.lib
}
qnx: LIBS += -L. -lCore -lCommon -lNative -lscreen -lz
win32 {
CONFIG(release, debug|release) {

View file

@ -43,7 +43,8 @@ symbian {
# Does not seem to be a way to change to armv6 compile so just override in variants.xml (see README)
MMP_RULES -= "ARMFPU softvfp+vfpv2"
MMP_RULES += "ARMFPU vfpv2"
DEFINES += USE_FFMPEG "BOOST_COMPILER_CONFIG=<boost/mpl/aux_/config/gcc.hpp>"
DEFINES += USE_FFMPEG __STDC_CONSTANT_MACROS "BOOST_COMPILER_CONFIG=<boost/mpl/aux_/config/gcc.hpp>"
QMAKE_CXXFLAGS += -marm -Wno-parentheses -Wno-comment
INCLUDEPATH += $$EPOCROOT/epoc32/include/stdapis/glib-2.0
INCLUDEPATH += ../ffmpeg/symbian/armv6/include
}

View file

@ -200,7 +200,7 @@ You will need to add the GCCE 4.6.3 variant to Symbian\tools\sbs\lib\config\vari
You will also need to increase the data section of the executable in linking stage by modifying Symbian\tools\sbs\lib\config\gcce.xml as follows:
```
<set name="RW_BASE" value="$(RW_BASE_OPTION)0x700000"/>
<set name="RW_BASE" value="$(RW_BASE_OPTION)0x3000000"/>
```
Then simply compile the PPSSPPQt.pro with `qmake` from the SDK or the included QtCreator.