New to Monkey. Problem seeing targets.

Monkey Forums/Monkey Programming/New to Monkey. Problem seeing targets.

jwl(Posted 2012) [#1]
I installed Monkey on both a Mac and Windows machine. I noticed that the only target available on the Windows machine is "HTML". On the Mac I see HTML, GFLW, IOS, and STDCPP. I'm using the latest Monkey build. I tried reinstalling it too. same problem. How many targets should I see on these OS's? Am I missing others on the Mac too?


Thanks


Jenny


Zaxxan(Posted 2012) [#2]
I've got the same problem, I've just installed MonkeyPro65 on Windows 7 and I have no targets listed. Please help!

Edit: The target folder appears to be in the zip file but does not appear to be extracting automatically. I've copied the target folder into the monkey directory but Ted is only displaying html5, glfw,xna and stdcop. Why can't I see Android etc? do I have to install the SDK's first?


Amon(Posted 2012) [#3]
Download Apache Ant from here: http://mirror.ox.ac.uk/sites/rsync.apache.org//ant/binaries/apache-ant-1.8.4-bin.zip

Unzip it and put it somewhere accessible e.g: c:\targets\apache_ant

Download flexSDK: http://www.adobe.com/devnet/flex/flex-sdk-download.html

unzip and put it somewhere accessible e.g : c:\targets\flexSDK

Download/Install the androidSDK: http://dl.google.com/android/installer_r20.0.3-windows.exe

Download Install javaDK: javascript: http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html

Download Visual Studio Express c#/c++ with XNA Game Studio from Microsoft.


Then edit the Config file in the Monkey bin folder to point to each of these installations and if done right you should be ready to go exporting to each target.


benmc(Posted 2012) [#4]
You have to edit the paths to the correct build folders in the text files in the MonkeyPro65/bin folder. ie config.winnt.txt etc

Then restart TED after you've made changes.


jwl(Posted 2012) [#5]
Does anyone have a correct config.txt for both win and mac that displays all the targets. I understand that I will need to modify them a little to point to the correct folders.

My config mac has the following:


'--------------------
'HTML player path.
'
'Must be set for HTML5 target support.
'
HTML_PLAYER=open -n "${TRANSDIR}/mserver_macos.app" --args
'--------------------

'--------------------
'Flex SDK and flash player path.
'
'Must be set for FLASH target support.
'
FLEX_PATH="${HOME}/flex_sdk_4.1.0.16076"
FLEX_PATH="${HOME}/flex_sdk_4.1"
FLEX_PATH="${HOME}/flex_sdk_4.0.0.14159"
FLEX_PATH="${HOME}/flex_sdk_4.0"
FLEX_PATH="${HOME}/flex_sdk_4"
FLEX_PATH="${HOME}/flex_sdk"
FLASH_PLAYER=open -n "${TRANSDIR}/mserver_macos.app" --args
'--------------------

'--------------------
'Android SDK and tool paths.
'
'Must be set to a valid for for ANDROID target support
'
'Android SDK
ANDROID_PATH="${HOME}/android-sdk-macosx"
ANDROID_PATH="${HOME}/android-sdk-mac_x86"
ANDROID_PATH="${HOME}/android-sdk-mac_86"
'--------------------


My config Winnt has:



'--------------------
'HTML player path.
'
'Must be set for HTML5 target support.
'
'for opening .html files...
'
HTML_PLAYER="${TRANSDIR}\mserver_winnt.exe"
'--------------------

'--------------------
'Ant build tool path
'
'Must be set to a valid dir for ANDROID target support
'
'Ant is currently available here:
' http://ant.apache.org/bindownload.cgi
'
ANT_PATH="${SYSTEMDRIVE}\apache-ant-1.8.2"
ANT_PATH="${SYSTEMDRIVE}\ant"
'--------------------

'--------------------
'MinGW path.
'
'Must be set to a valid dir for STDCPP target support.
'
'MinGW is currently available here:
' http://tdm-gcc.tdragon.net/download
'
MINGW_PATH="${SYSTEMDRIVE}\MinGW32"
MINGW_PATH="${SYSTEMDRIVE}\MinGW"
'--------------------

'--------------------
'Java dev kit path
'
'Must be set to a valid dir for ANDROID and FLASH target support
'
'Make sure to install the 32 bit JDK, even on 64 bit Windows!
'
'The Java JDK is currently available here:
' http://www.oracle.com/technetwork/java/javase/downloads/index.html
'
JDK_PATH="${PROGRAMFILES}\Java\jdk1.7.0_02"
JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_23"
JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_21"
JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_19"
'--------------------

'--------------------
'Android SDK and tool paths.
'
'Must be set to a valid for for ANDROID target support
'
'The Android SDK is currently available here:
' http://developer.android.com/sdk/index.html
'
ANDROID_PATH="${SYSTEMDRIVE}\android-sdk-windows"
'--------------------

'--------------------
'Flex SDK and flash player path.
'
'FLEX_PATH Must be set for FLASH target support.
'
'Either HTML_PLAYER or FLASH_PLAYER must be set for FLASH target support.
'
'The Flex SDK is currently available here:
' http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK
'
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.6"
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.5"
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.1.0.16076"
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.1"
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.0.0.14159"
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.0"
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4"
FLEX_PATH="${SYSTEMDRIVE}\flex_sdk"
'
'for opening .swf files...monkey will use HTML_PLAYER if this is not set.
'FLASH_PLAYER="${SYSTEMDRIVE}\flex_sdk_4.0\flashplayer_10_sa_debug.exe"
'
'--------------------

'--------------------
'Play Station Mobile SDK path.
'
'PSM_PATH must be set for PSM target support.
'
'Note: This will soon replace the Play Station Suite target - use this instead!!!!!
'
PSM_PATH="${PROGRAMFILES}\SCE\PSM"
'--------------------

'--------------------
'MSBUILD path.
'
'Must be set for XNA and GLFW target support.
'
'Visual C++ 2010 Express is required for GLFW target support and is currently available here:
' http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
'
'Visual C# 2010 Express and XNA 4.0 are requred for XNA target support and are currently available here:
' http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express
' http://www.microsoft.com/download/en/details.aspx?id=23714
'
MSBUILD_PATH="${WINDIR}\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
'--------------------


Thanks.

Jenny


AdamRedwoods(Posted 2012) [#6]
"${SYSTEMDRIVE}" is probably C: so just look on your Windows and see if it matches up with what's in the config.

When in doubt, just install Ant, MinGW, VC++ to the default locations.