Comments (14)
Source code is here, and which distro do you use?
from sciter-sdk.
I have Ubuntu 16.04, but I have many updated programs (gcc10, gtk3.22, etc). But I can install in dualboot the latest stable Debian i386. So let's imagine I have Debian 11...
from sciter-sdk.
I know how to compile it, but I dont know why it dowsnt compiles libsciter-gtk.so, It sciter-sqlite.so only, with the bin files
from sciter-sdk.
I'm sorry to hear that. Maybe there are some files missing.
Maybe you can find a way to build it. In that case, please post the instructions. The prebuilt binaries are probably not very useful because of the old glibc.
from sciter-sdk.
As far as I know, Im doing all correct, Idk why libsciter-gtk.so doesnt build
from sciter-sdk.
This is what I get:
aria2c https://codeload.github.com/c-smile/sciter-sdk/zip/refs/heads/master
unzip sciter-sdk-master.zip
cd sciter-sdk-master/build.linux/desktop
make
==== Building usciter (debug_x32) ====
Creating obj/x32/Debug/usciter
sciter-gtk-main.cpp
sciter-sqlite-db.cpp
sciter-sqlite-rs.cpp
sciter-sqlite.cpp
sqlite-wrap.c
usciter.cpp
Creating ../../bin.lnx/x32
Linking usciter
==== Building uminimal (debug_x32) ====
Creating obj/x32/Debug/uminimal
sciter-gtk-main.cpp
uminimal.cpp
Linking uminimal
==== Building ulayered (debug_x32) ====
Creating obj/x32/Debug/ulayered
sciter-gtk-main.cpp
ulayered.cpp
Linking ulayered
==== Building inspector (debug_x32) ====
Creating obj/x32/Debug/inspector
inspector.cpp
sciter-gtk-main.cpp
Linking inspector
==== Building notepad (debug_x32) ====
Creating obj/x32/Debug/notepad
html-notepad.cpp
sciter-gtk-main.cpp
Linking notepad
==== Building notes (debug_x32) ====
Creating obj/x32/Debug/notes
notes.cpp
sciter-gtk-main.cpp
Linking notes
==== Building sciter-sqlite (debug_x32) ====
make[1]: sciter-sqlite.make: No such file or directory
make[1]: *** No rule for building target «sciter-sqlite.make». Stopping.
Makefile:139: recipe execution error for target «sciter-sqlite»
make: *** [sciter-sqlite] Error 2
Sorry, I had to translate the error messages, it's not verbatim.
There really is no sciter-sqlite.make file. What to do?
A small number of object files appear in the sciter-sdk-master/bin.lnx/x32 folder.
UPD: If I remove reference to sciter-sqlite.make from Makefile, the sciter-sdk-master/bin.lnx/x32lite folder appears. But libsciter-gtk.so is still not there.
from sciter-sdk.
I assume the source code is paid. Therefore, you have no right to disclose the build instructions. Only the scapp application is built on gitlab for linux 32. There seems to be a problem building the rest. Well, now I understand. But it turns out that rustdesk is not really opensource.
from sciter-sdk.
You have to regen the code
Download/install premake using this:
sudo apt install premake
Go to main folder and run:
rm -r build.linux
premake --device=DESKTOP gmake
cd build.linux
make -j$(nproc)
from sciter-sdk.
Why do you think its paid?
from sciter-sdk.
Yes, indeed, the binaries appear and sciter-sqlite.so, but not libsciter-gtk.so. There are no errors. This is strange. Why do you think? Maybe some gtk3 dependency is missing.
I see that premake doesn't even create the libsciter-gtk.make file at the beginning. What does premake create the make files based on?
Why do you think its paid?
From the official site link.
from sciter-sdk.
Well, I see that premake creates make files based on premake5.lua. libsciter-gtk.make seems to be equal to usciter.make. I replaced /usr/lib32 with /usr/lib in the make files (lib32 doesn't exist), removed verbose SILENT = @, replaced debug with release. Of the pkg-config dependencies only gtk+-3.0 and fontconfig are needed (I also tried changing gtk+-3.0 to gtk+3.0, but this caused an error). It uses c++14, and only in glfw-opengl c++17. Nevertheless, the files compile, but libsciter-gtk.so is not created. Maybe the source code is incomplete and the full code is paid? I'll have to recompile on a 64 bit system someday (to make sure that 32 bit has nothing to do with it). Maybe libsciter-gtk.so won't show up there either.
UPD:
libsciter-gtk.make seems to be equal to usciter.make
Maybe libsciter-gtk.make (or sciter-gtk.make) is needed. When I try to run any of the compiled binaries, I get:
sciter-sdk-master/bin.lnx/x32/usciter
sciter-sdk-master/bin.lnx/x32/libsciter-gtk.so: unable to open the shared object file:
No such file or directory
Unable to load library: sciter-sdk-master/bin.lnx/x32/libsciter-gtk.so
[../../include/sciter-x-api.h] Unable to load library: libsciter-gtk.so:
unable to open the shared object file: No such file or directory
readelf -d sciter-sdk-master/bin.lnx/x32/usciter
(NEEDED) Shared library: [libc.so.6]
(NEEDED) Shared library: [libgtk-3.so.0]
(NEEDED) Shared library: [libgobject-2.0.so.0]
(NEEDED) Shared library: [libglib-2.0.so.0]
(NEEDED) Shared library: [libdl.so.2]
(NEEDED) Shared library: [libstdc++.so.6]
(NEEDED) Shared library: [libgcc_s.so.1]
(NEEDED) Shared library: [libpthread.so.0]
readelf -d sciter-sdk-master/bin.lnx/x32/sciter-sqlite.so
(NEEDED) Shared library: [libc.so.6]
(NEEDED) Shared library: [libstdc++.so.6]
(NEEDED) Shared library: [libgcc_s.so.1]
(NEEDED) Shared library: [libpthread.so.0]
(SONAME) Shared library: [sciter-sqlite.so]
readelf -a sciter-sdk-master/bin.lnx/x32/usciter
None of the binary according to readelf -a
mentions libsciter-gtk.so. However, libsciter-gtk.so is mentioned in the binary code. For example in usciter:
/proc/self/exe libsciter-gtk.so [%s] Unable to load library: %s ../../include/sciter-x-api.h SciterAPI [%s]
from sciter-sdk.
Oh I see
from sciter-sdk.
I am also looking for the 32 bit version of libsciter-gtk.so for a Debian 11 32bit RustDesk scenario. Have any of you been able to find or build one? @artenax @IsaacMvmv
from sciter-sdk.
It's closed source, you have to wait until they release it
from sciter-sdk.
Related Issues (20)
- Sciter-sdk 4.4.7.3 HOT 1
- build error on linux platform (miss sciter-sqlite.make file) HOT 1
- libsciter-gtk.so doesn't support in ARM64 platform HOT 14
- sciter.dll from bin.win folder does not work HOT 4
- samples\animations-lottie\lottie-player.htm has issues on Windows
- Question: #define _WINSOCKAPI_ within Sciter (and Boost.Asio) HOT 1
- Update please HOT 6
- bin.osx.zip
- 1000+ Data performance HOT 7
- Sciter.Lite: Custom gfx layers/rendering backends HOT 11
- Mac OS 应用程序“inspector”无法打开。 HOT 3
- Missing `license.htm`
- sigfault usciter/wsciter on Linux x64 and Win x64
- how to download old version
- get html code
- Editing input value in document fragment crash the app
- Cannot open file from commandline HOT 4
- I found a bug, I don't know if this is a bug, maybe the author can try to fix it.
- CMake doesn't find implemantation of sciter methods HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sciter-sdk.