Native Extensions : A Hello World

mdotedot

  • Posts: 1653

« Last Edit: July 26, 2017, 10:42:06 pm by mdotedot »
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

yoplalala

  • *
  • Posts: 1633
Quote
but I failed to find the Windows and Macintosh OSX information.

Brilliant I will download it later. I kind of want to extend my tts engine to windows maybe later.

yoplalala

  • *
  • Posts: 1633
I'm trying to build the version for Windows. It says "Library hxcpp is not installed" when running build.bat

Quote
REM
REM WINDOWS Build
del ..\ndll\windows\*.*
mkdir ..\ndll\windows
REM remove Windows Objects
del obj\msvc16xp\*.*
del obj\lib\*.*
REM Stencyl Directory on Windows: c:\abc
set PATH=%PATH%;C:\Program Files (x86)\Stencyl34\plaf\haxe
set PATH=%PATH%;C:\Program Files (x86)\Stencyl34\plaf\haxe\lib\lime\lime\templates\neko\ndll\windows
set PATH=%PATH%;C:\Program Files (x86)\Stencyl34\plaf\neko-win
REM Make the Windows .ndll

haxelib run hxcpp Build.xml

mdotedot

  • Posts: 1653
Try :
> haxelib install hxcpp

I had to put stencyl in c:\abc since the path with spaces failed . Also I am still on pre-3.4 so it might have changed since then.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

squeeb

  • Posts: 1617
Oh man! This is what I was looking for! Thank you