Stand alone application

Hello Support,

I can see Cesium library can support web based support using Java script .

Is there any way to develop as a stand alone application?

Is it support in Linux also? How to download and start cesium library on Linux?

This blog post may be helpful for you: http://cesiumjs.org/2016/04/04/An-Introduction-to-Cesium-Desktop-Apps-with-Electron/

-Hannah

Hello Hannah Pinkos,

The link what you given really helpful to me. I have followed all the instructions. But I struck in creating package.

I have installed Node.js and done all the commands . I got folder structure like this,

YourFolderName/
├── index.html
├── main.js
├── node_modules/
├── cesium/
├── electron-packager/
└── electron-prebuilt/
└── package.json

I am failing at this command.

./node_modules/.bin/electron-packager . myfirstapp --platform=win32 --arch=x64.

I am getting the following error :

Unable to determine application name or Electron version. Please specify an appl
ication name and Electron version.

For more infomation, please see
https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#n
ame or
https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#v
ersion

and also I have attached my package.json file also.

package.json (289 Bytes)

Hello Hannah Pinkos,

The problem is resolved… Sorry I forgot to run command “npm install electron-prebuilt --save-dev”

Now it is working fine. Thank you very much once again.

Great! Glad to hear you were able to figure it out =)

What kind of application are you working on?

Hello Hannah Pinkos,

I got success in windows. Made stand alone application nicely.

But in linux, I have followed the same procedure as it is.

But final command failing `"./node_modules/.bin/electron ."

I am getting following error while running above command.
``/opt/testapp/node_modules/electron-prebuilt/dist/electron: /usr/lib/libstdc++.so.6: versionCXXABI_1.3.5’ not found (required by /opt/testapp``/node_modules/electron-prebuilt/dist/electron) /opt/testapp/node_modules/electron-prebuilt/dist/electron: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /opt/``````testapp/node_modules/electron-prebuilt/dist/electron)
/opt/testapp``/node_modules/electron-prebuilt/dist/electron: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/testapp/node_modules/electron-prebuilt/dist/electron) /opt/``````testapp/node_modules/electron-prebuilt/dist/electron: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15’ not found (required by /opt/testapp/node_modules/electron-prebuilt/dist/libnode.so)

Give me solution for this pls.

``On Friday, 21 October 2016 18:47:16 UTC+5:30, Hannah Pinkos wrote: