Killer.Penguin Posted July 25, 2013 Share Posted July 25, 2013 Hi, we just downloaded the latest Mac SDK and tried to create a new project from the browser. Everything works fine, except that when we actually went to start the newly created project, our terminal report that we're missing: "browser_x86.macos". We cannot locate this file anywhere. We only found the "browser_x64.macos" inside the folder. (and yes, we did try checking and unchecking the x86 and x64 options.) And when we tried to open the "main_x86.macos", it said it's missing: "bin/unigine.cfg" Anyone knows how to fix this? Link to comment
necris Posted July 25, 2013 Share Posted July 25, 2013 Hi, WaritPlease, do the next- before creating the project make sure that you create it in the empty or in the new folder, where there are no files from old projects- create New Project with "GUI-based settings configurator" option (checkbox in "Launchers" section on "New project" page)If the error doesn't disappear after that, please send us launcher.sh script from this project. Also, you can read more about engine startup here: https://developer.unigine.com/en/docs/1.0/getting_started/command_line Link to comment
Killer.Penguin Posted July 25, 2013 Author Share Posted July 25, 2013 We did all that, but it still didn't work on our Macs. Here's the launcher.sh from one of the machine: https://www.dropbox.com/s/dz0jpdm9yd12zud/launcher.sh Link to comment
necris Posted July 26, 2013 Share Posted July 26, 2013 Ok, script is correct.Let's try to find out what's the problem.- Folder structure in your generated project. Is there a "launcher.sh" file in <your_project> folder? And "browser_x64.macos" file in <your_project>/bin?- What's your OS version?- Please, print commands "uname" and "uname -m" in console and write the output. Link to comment
Killer.Penguin Posted July 29, 2013 Author Share Posted July 29, 2013 Yes, we have launcher.sh which return: iMac:~ XXX$ /XXX/XXX/launcher.sh ; exit; /XXX/XXX/launcher.sh: line 9: cd: ./bin: No such file or directory /XXX/XXX/launcher.sh: line 17: ./browser_x86.macos: No such file or directory (XXX is our project name, can't share this sorry.) We also have browser_x64.macos in the /bin. uname returns "Darwin" uname -m returns "x86_64" Our iMac is version 10.7.5. Link to comment
necris Posted July 29, 2013 Share Posted July 29, 2013 Warit, thanks for detailed response and your patience.For correct launch you need to start launcher.sh when being in <your_project> directory.For example: cd <your_project> sh launcher.sh Paths in script are relative, and cannot be resolved from another directory. Link to comment
Killer.Penguin Posted July 30, 2013 Author Share Posted July 30, 2013 I was in my project folder. I just choose create from your browser and choose a directory without moving any files inside the created folder. I don't know why your script didn't link it correctly. Is it because I create the project folder outside of your application folder? Having to go to console and write the path to the project every time myself defeat the purpose of having it as a shortcut though.. >.< Link to comment
necris Posted July 30, 2013 Share Posted July 30, 2013 Warit, You can create a shortcut if you change in launcher.sh on line 9: cd ./bin to cd ${0%/*}/bin Or download fixed script from here. Issue will be fixed in next SDK update. launcher.rar Link to comment
Recommended Posts