About Monkey 2 › Forums › Monkey 2 Development › Screwy windows 10 compile?
This topic contains 8 replies, has 4 voices, and was last updated by
AdamStrange
2 years, 4 months ago.
-
AuthorPosts
-
December 7, 2016 at 2:12 pm #5637
I’ve got something odd happening with windows 10.
my app compiles to a folder appname.products
inside this is a .json file and then a folder with the app. some dlls? and the assets folder.
Now if I remove the app, dlls and assets ad run – I get a blank window
If I run the app with the products folder and jason file, it runs!
Could someone please explain why this is happening, what is happening, and why can’t I just have a folder with the app and the assets + dlls?
December 10, 2016 at 11:51 am #5690AdamStrange,
The files and directory structure you describe are created by Monkey 2 in order to run the specific target.
If you delete them or place them in another order the app will not run properly.
What are you trying to do? Could you be more specific?
I have Windows 10, and Monkey 2 compiles and runs fine.
December 11, 2016 at 6:44 am #5702i think i wasn’t being clear.
there is a products folder created
inside this is a jason file then a windows folder
what is the json file for and why do i need it?
can’t I just have the windows folder and it’s contents?
December 11, 2016 at 8:05 am #5704This json is used for store settings for all targets you build.
December 11, 2016 at 10:31 am #5705I’m building one target – there are no setting. This is as clear as mud!
December 11, 2016 at 10:09 pm #5722There are currently 2 product settings for the desktop target – app name + gui or console switch. If more are added, this is where they will go. You could of course have worked this out by actually looking at the json file…
The point of this is to stick *everything* that can affect the generation of *any* product into a single file, so if a team wants to share product build setups for a range of targets they only have to share a single file.
why can’t I just have a folder with the app and the assets + dlls?
You do – it’s called ‘Windows’ or ‘Macos’ or ‘Linux’ or ‘Emscripten’ inside the blah.products folder.
Sorry if you don’t approve of this approach but it’s staying.
December 12, 2016 at 6:05 am #5738You do – it’s called ‘Windows’ or ‘Macos’ or ‘Linux’ or ‘Emscripten’ inside the blah.products folder.
Mark please read what I’m trying to say. I know all three above
But I have a windows app that wont run correctly without the folder structure above it. it wont run unless it has the .json file in the folder above the ‘windows’ one – that’s the screwy bit
December 12, 2016 at 7:06 am #5740I just moved Windows folder from products to my win10 desktop and run .exe – it’s worked.
Only one my project depends on folders hierarchy – ted2go, it must be ‘near’ to modules and mx2cc.
Don’t know what happen in your system.
December 12, 2016 at 1:52 pm #5748I have a good idea it’s to do with the assets. but then again it could be my position to the sun as well – lol
-
AuthorPosts
You must be logged in to reply to this topic.