Compile Lib Jingle - visual-studio-2010

I am trying to use the Libjingle library By GYP
I follow the readme
I run the following commands
$ gclient config http://libjingle.googlecode.com/svn/trunk
$ gclient sync --force
But i do not get any libjingle libraries in the folder
Has anyone else faced the problem?.
Is there any good tutorial for Libjingle which would give me step by step instructions?
Thanks in advance
Nitesh

You have to have the depot_tools downloaded and you have to make sure that you add the depot_tools folder to your path.
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="$PATH":path/to/depot_tools

Related

How do I add packages to go / golang in VS code?

Git hub gives instructions on how to install various packages to go.
But when I enter these in PowerShell, for example
go get -u github.com/disintegration/gift
I get a message
package github.com/disintegration/gift: exec: "git": executable file not found in %PATH%
How do I add a package to path?
go get uses git to fetch packages. You need to have git installed and add it to your %PATH%.
A tutorial on how to install git can be found here.
If you have any further questions, dont be afraid to ask.
Regards.
Install git or setup it properly (PATH and so) before trying to use go, as in go get github.com/**

Unable to install user-wide terminal integration with vcpkg on macOS

I'm trying to get Vcpkg user-wide bash integration following the official instructions. here are the steps I took:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
Applied user-wide integration for this vcpkg root.
CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake"
./vcpkg integrate bash
Unable to read /Users/<user>/.bashrc
touch /Users/<user>/.bashrc and repeat step 5
Adding vcpkg completion entry to /Users/<user>/.bashrc
mv /Users/<user>/.bashrc /Users/<user>/.bash_profile
However, now when I run vcpkg or ./vcpkg in new terminals I get:
-bash: vcpkg: command not found
I would appreciate it if you could help me know what is the problem and how I can resolve it.
My environment is:
macOS Catalina version 10.15.4
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
P.S. I was asked here to show the content of the .bash_profile is:
source /path/to/vcpkg/scripts/vcpkg_completion.bash
A temporary solution was to add the line:
export PATH=/path/to/vcpkg:$PATH
to the .bash_profile. Wonder why the above installation/integration scripts don't do this automatically!

What is this error `make.exe": no_c_compiler: Command not found`

I'm trying to build grpc from source on Windows 2012 Server edition. I downloaded and installed Python 3.5 from the Python website and installed the entire MinGW package as well as git along with git bash. Following the instructions for building from source:
$ git clone https://github.com/grpc/grpc.git
$ cd grpc
$ git submodule update --init
$ make
$ [sudo] make install
I get the aforementioned error after executing make. Here's the shell output for your perusal.
PS C:\Users\thunderboltsid\grpc> make
[MAKE] Generating /c/Users/thunderboltsid/grpc/libs/opt/pkgconfig/grpc.pc
[MAKE] Generating /c/Users/thunderboltsid/grpc/libs/opt/pkgconfig/grpc_unsecure.pc
[MAKE] Generating cache.mk
[C] Compiling third_party/zlib/adler32.c
make.exe": no_c_compiler: Command not found
make.exe": *** [/c/Users/thunderboltsid/grpc/objs/opt/third_party/zlib/adler32.o] Error 127
I really can't understand what is this error supposed to be. Tried googling but that didn't help. Any input will be appreciated.
you may need run apt-get install which
install build-base in your system, example:
apt-get install build-base
You may simply have no C compiler installed, not even gcc. If that's the reason then installing gcc resolves the issue:
apt get install gcc

Installing nyt streamtools: go-bindata: Command not found

I am trying to install nyt streamtools, the open-source project for ETL, but I can't seem to get my go environment right. I'm running Centos 6.5. Compiling from source should be easy, but I keep getting this error when I run the make command:
localhost streamtools]$ make
go get github.com/jteeuwen/go-bindata/...
go-bindata -pkg=server -o st/server/static_bindata.go gui/... examples/...
make: go-bindata: Command not found
make: *** [build/st] Error 127
Any help is greatly appreciated.
Added lines to ~/.bashrc:
export GOPATH="$HOME/go"
PATH="$PATH:$GOPATH/bin"
run
source ~/.bashrc
After setting GOPATH and PATH this did the trick.
For Linux you can also use this:
sudo apt install go-bindata
Windows(from comment by #kundan-roy):
choco install go-bindata
MacOS(from comment by #okan-cetin):
brew install go-bindata

How to install, compile, and utilize Rebar in Windows 8

Is this possible?
All tutorials I've come across on how to build and use Rebar involve Unix commands, and I'm a most unfortunate Windows user. I'd really like to avoid installing Cygwin if I can help it.
For example, to build Rebar you get:
$ git clone git://github.com/rebar/rebar.git
$ cd rebar
$ ./bootstrap
Recompile: src/getopt
...
Recompile: src/rebar_utils
==> rebar (compile)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.
What is the windows-cmd equivalent?
Any links or tutorial below to offer step by step instructions on how to utilize rebar in windows shell would be greatly appreciated.
UPDATE:
After manually downloading and extracting Rebar to my directory located at:
C:\erlang\rebar
I go to the windows shell and enter:
SET PATH=C:\Program Files\erl5.10.1\bin
This is the 'bin' folder located inside the directory holding erlang.exe
Next I enter:
C:\erlang\rebar>bootstrap.bat
Compiled! :)
There should be a bootstrap.bat script in the rebar directory. You don't need cygwin for this to work, but you will need Erlang installed and on the path.
I assume you have erlang istalled already and added to your path.
You can just download the Git and install it. Then open the git bash and type
git clone https://github.com/rebar/rebar.git
once cloned it to your desired location then you can run the command by going inside the rebar directory.
./bootstrap
Now it will work just fine and tell you that you have the rebar file compiled in your current working directory.
Nice you are good to go with using rebar for your project.
You can also just invoke path\to\erlang-install\bin\escript.exe bootstrap from a (Windows) command shell.
bootstrap is just an e(rlang) script.
You can download and install Git for Windows
Then, use it to run the same exact instructions:
git clone git://github.com/rebar/rebar.git
cd rebar
./bootstrap
and everything should work fine.

Resources