stdcpp target does not work

Monkey Forums/Monkey Programming/stdcpp target does not work

Xaron(Posted 2011) [#1]
Hi,

I get the following error while building the stdcpp target:

Error : File 'pathto/MonkeyPro/modules/mojo/native/mojo.stdcpp.cpp' not found.

Actually the mojo.stdcpp.cpp is not there.


DruggedBunny(Posted 2011) [#2]
Hi Xaron, I replied to your other post about this -- STDCPP is for command-line apps only, or potentially apps that import their own frameworks.


Xaron(Posted 2011) [#3]
Ah alright, thanks!


Chroma(Posted 2011) [#4]
Hi James. Does it say that somewhere? I was trying to run STDCPP because I thought it produced C++ code or a regular BMax-like windows .exe. What do I need to make a native Windows .exe? GLFW?


Beaker(Posted 2011) [#5]
Yes, glfw. Or xna possibly.


DruggedBunny(Posted 2011) [#6]
Ahem... and, of course, you can create Amiga programs using STDCPP!

In this case the process was:

1) Create command line-only, non-Mojo program in Monk;
2) Build for STDCPP target;
3) Create Amiga_m68k C++ project (to be able to test in WinUAE, or choose any of the other Amiga platforms) in AmiDevCPP and include main.cpp from the build folder (project had to be saved in same folder as main.cpp);
4) Build program in AmiDevCPP and copy to Amiga.

In theory, this should work for any 32-bit target with gcc support.