I use git clone git://git.linphone.org/linphone-android.git --recursive
I follow instruction on https://github.com/BelledonneCommunications/linphone-android/ and download lastest SDK and NDK
I set path -> sudo gedit ~/.bashrc and add last line with :
export ANDROID_HOME=/home/onysevensmarts/Android/Sdk
export ANDROID_NDK=/home/onysevensmarts/Android/Sdk/ndk-bundle
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_NDK
export PATH=$PATH:$JAVA_HOME
4.I've just install Install yasm, nasm , python, pkg_config, doxygen, graphviz and cmake 3.14 .
5.At Root direktori , execute command ./prepare.py
showing message :
Configure project :liblinphone-sdk
native sdk not ready yet
6.Then I Download last liblinphone (liblinphone-android-sdk-4.0.1.zip) at https://www.linphone.org/technical-corner/liblinphone
7.I extract them, there are 3 files
- liblinphone-sdk-javadoc.jar,
- liblinphone-sdk-release.aar,
- liblinphone-sdk-sources.jar.
8. I copy them to liblinphone-sdk folder on root direktory project.
9. I try ./prepare.py againt and still show error : native sdk not ready yet.
Where i do wrong? , and i try to 'make' , this error still show,
i try open on Android Studio and i build , error message path=""
Anyone ever see this case, help .
Check cd ~/Android/Sdk/tools/bin./sdkmanager "platform-tools" "platforms;android-28" https://developer.android.com/studio/command-line/sdkmanager.html
if number 1 error, do : export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
if repositories.cfg not found ,then : touch ~/.android/repositories.cfg
sudo pip install pystache
if pip not found : sudo apt install python-pip
pip install pystache
run 'make'
try to 'make install' and make sure android device connected debugging with your PC.
Related
i create a simple "Hello Word" in flutter and enable web and linux platform to test is both,in chrome everything was ok and i see my first web app in flutter "Hello word",but in my desktop apps on Linux starting but not displaying anything and give me this message in terminal
libEGL warning: MESA-LOADER: failed to open swrast: /lib64/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /snap/flutter/current/usr/lib/x86_64-linux-gnu/dri/../../../../lib/x86_64-linux-gnu/librt.so.1) (search paths /snap/flutter/current/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
** (app:22248): WARNING **: 05:45:50.289: Failed to start Flutter renderer: No GL implementation is available
Error waiting for a debug connection: The log reader stopped unexpectedly.
Error launching application on Linux.
and this is my hello word apps
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
#override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Welcome to Flutter',
home: Scaffold(
appBar: AppBar(
title: const Text('Welcome to Flutter'),
),
body: const Center(
child: Text('Hello World'),
),
),
);
}
}
i use fedora 35 beta
i hope u can help me guys and thanks you
Judging from the error message, it seems like it is an error with glibc or glibc-devel not being installed. I am running Fedora 34, so I can't search F35's repos but if you run dnf repoquery --whatprovides 'libpthread.so*' it should give you the name of the packages required for it to run.
If the packages are already installed, please let me know and I will see if I can help you out by editing this answer.
EDIT: I don't have any experience with Snap but, after some digging, it looks like you can't expose certain folders in Snap, so a quick (albeit dirty) fix is to add the file flutter cannot find to the folder containing the Snap package.
You could also try this:
$ snap run --shell <snap>.<command>
$ env
XDG_VTNR=1
SSH_AGENT_PID=5543
XDG_SESSION_ID=2
SNAP_USER_COMMON=/home/<user>/snap/<snap>/common
SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:
SNAP_COMMON=/var/snap/<snap>/common
[...]
Edit the line from SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl: to SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:/path/to/folder/containing/libpthread, save the edits and try to launch the app again.
You can find where libpthread is located by opening your file manager, browse to / (in GNOME this is under 'Other locations' > 'Computer' in the left-hand navigation pane), unhide hidden folders (Ctrl + H) and use the search function. This should show where the file is located (on my machine it's under /usr/lib64) and you add the folder to the SNAP_LIBRARY_PATH.
The issue is because of the snap install, what worked for me is replacing the snap version with the manual install from github. You can also use the tarball.
git clone https://github.com/flutter/flutter.git -b stable
now to add flutter to path:
sudo gedit ~/.bashrc
Assuming ur flutter install was at /home/user/ add this at the end of the file:
export PATH="$PATH:/flutter/bin"
If ur flutter install is somewhere else then change the directory accordingly
After saving and exiting, refresh ur .bashrc file with:
source ~/.bashrc
Now check if its added to path with:
echo $PATH
If you see a /flutter/bin then ur doing fine. To check if flutter's installed:
flutter --version
To add any missing dependencies (if ur on Fedora) use:
sudo dnf install bash curl file git unzip which xz zip mesa-libGLU clang cmake ninja-build pkg-config gtk3-devel
On Ubuntu based distros it is
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
I've installed Visual Studio for Mac community 8.10.11 and created a new Project based on React + .net Core WebAPI. But If I try to run the app, I got
/Users/xxx/Projects/yyy/yyy/yyy.csproj(5,5): Warning MSB3073: The command "node --version" exited with code 127. (MSB3073) (yyy)
/Users/xxx/Projects/yyy/yyy/yyy.csproj(5,5): Warning MSB4181: The "Exec" task returned false but did not log an error. (MSB4181) (yyy)
/Users/xxx/Projects/yyy/yyy/yyy.csproj(5,5): Error: Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE. (yyy)
My bash knows node and the folder is also part of echo $path. How can I add it to VS?
Thanks!
I experienced the same issue because I used homebrew to install Node.js.
According to the Homebrew documentation:
GUI apps on macOS don’t have Homebrew’s prefix in their PATH by default. If you’re on Mountain Lion or later, you can fix this by running sudo launchctl config user path "$(brew --prefix)/bin:${PATH}" and then rebooting, as documented in man launchctl. Note that this sets the launchctl PATH for all users.
If you installed node from elsewhere, you should be able to modify this command to include the path to wherever your node executable is:
sudo launchctl config user path "<path-to-bin-folder>:${PATH}"
I've been following the instructions here:
http://code.jsoftware.com/wiki/System/Installation/Linux
to install J on an Ubuntu, new computer with everything updated. I have managed to follow all of the instructions up to the point where I install a JQt IDE
http://code.jsoftware.com/wiki/Guides/Qt_IDE/Install
When I search the various file paths listed at the first like, like /usr/bin, I don't see any jqt.sh nor do I know which one is "the J install directory" since I only downloaded the .deb file to my downloads folder and then it installed other files in other places.
When I try to run
sudo jqt
I get
"/usr/bin/libjqt.so"
"could not resolve: state_run:
Cannot load library /usr/bin/libjqt.so: (libQt5WebSockets.so.5: cannot open shared object file: No such file or directory)"
Install the libQt5WebSockets.so.5 package , sudo apt-get install libqt5websockets5
mv /usr/bin/libjqt.so /usr/lib/x86_64-linux-gnu
did solve this issue for me.
I made a full application in QT creator on my mac (tested and working) and now need to move the source code to my Ubuntu machine and recompile it in QT creator in ubuntu.
This problem is as soon as the project opens I get this error in the "general messages" log
Project ERROR: Unknown module(s) in QT: serialport
So I assumed that QSerialport isn't included in the ubuntu release of QT creator.
I tried to get it myself using these terminal commands I got from a tutorial for installing QSerialport (I don't know linux at all and this is my first time using it).
git clone git://code.qt.io/qt/qtserialport.git
cd qtserialport
git checkout qt5.x.y
This is where i get stuck. I have tried substituting 'x' and 'y' for every number and its returns that no such file can be found.
Have I made some simple mistake? Has anyone out there had to do this?
Try this for your self:
git clone git://code.qt.io/qt/qtserialport.git
mkdir qtserialport-build
cd qtserialport-build
qmake ../qtserialport/qtserialport.pro
sudo make install
Listed in the Ubuntu package repo is the libqt5serialport package, so it should be available but you may need to install the package manually: http://packages.ubuntu.com/trusty/libqt5serialport5
Found the solution:
If anyone else has this problem open "Maintain QT" (which can be found in the installation folder). Select "Add or remove components". In the version of QT you have installed there is a sub-heading called "Source components" and within the "Add ons" category you need to select Qserialport". Then just hit next and install.
Everything worked fine after this.
I met a problem when I try to install QEMU with spice support.
It works well if I install spice-server with yum. In this case when I type ./configure --enable-spice in root directory of QEMU's source codes, the spice-server can be detected correctly.
But now I want to install spice-server by compiling its source codes, cause I have some work to do with it.
I tried ./configure; make; make install and ./configure --prefix=/usr; make; make install. QEMU couldn't find spice-server installed in neither way. I just got
ERROR: User requested feature spice
configure was not able to find it.
Install spice-server(>=0.12.0) and spice-protocol(>=0.12.3) devel
returned.
I don't have this problem in ubuntu, I don't know how to fix it in a CentOS server. Does anybody have a solution?
I guess you are trying to build qemu with spice from source code.
That involves many dependences and configurations.
Especially while you have system-installed 'qemu' running.
Maybe https://github.com/grizzlybears/sqb can help you.
It is a set of helper scripts to automatically do the follwing:
Install build depend.
Get code from offical repository
Get 'fedora base cloud image' as test image
Autogen/configure/build qemu with spice in local dir, touch nothing in system
5.Run test VM using our hand-made 'qemu'
Open spice console to the VM, if you have 'spice-gtk-tools' installed
You should first clone spice-protocol manually and execute ./autogen.sh && ./configure &&make &&make install and export the PKG_CONFIG_PATH export PKG_CONFIG_PATH={your pkg config path}