how to install dev libraries in windows? - windows

Very noob question, from a user used to Linux and switched to Win.
I'm building a project as a library in Qt, and I am missing libsqlite3. Normally on Linux I'd install it via sudo apt install libsqlite3, but how can I do it in Windows?
I'm using MSVC2019 tools for building my app.
thank you!

Related

Cannot install libc6-devel-i386 on windows

How to install the package on windows? I have seen a lot of Ubuntu guides but don't know how to install for windows
You need libc6 header files from this library to include with your c++ programs that is not OS specific.

Where is Qt Maintenance Tool in Homebrew

I have installed Qt with Homebrew. Everything is working fine for Desktop Application Development. But I do not find Maintenance Tool. Do I need to install that separately with brew ?
It does not exist, since homebrew tries to be a package manager like they exist on linux environtments. Just like cygwin/msys2 for windows. So they provide one qt build and that's it.
You can still install the official binary distribution from Qt which contains the Maintenance Tool. You can think of the Maintenance Tool as Qt's internal package manager, that can install official Qt binaries.

How do I install git-subtree with Cygwin in Windows 7?

I'm struggling to install git-subtree with Cygwin and there hasn't been any good tutorials online focused on building from source in Windows. Have you ever had this issue, and what is the best strategy to tackle it?
git-subtree is not part of a package. However, like gitk you can manually
install it
wget rawgit.com/git/git/master/contrib/subtree/git-subtree.sh
install git-subtree.sh /bin/git-subtree

Installing VisualRuby on a MAC

I'm trying to understand how to install visualruby on a MAC. I work in ubuntu, and I've developed install instructions for Ubuntu and Windows, but I don't know the corresponding instructions for the MAC:
http://visualruby.net/Download
I know that you need to install the Glade Interface Designer. This should install the graphics toolkit, gtk2 as well. Visualruby needs gtk2. After that you can install visualruby:
gem install visualruby
My friend told me that it needs to be run in the X11 terminal. I don't understand any of this. I'd like to develop step-by-step instructions for installing it on the MAC that includes the correct version of Glade/Gtk2. I know that visualruby requires Glade version 2.6 thru 2.8. The latest version of Glade uses Gtk3 which isn't good.
EDIT: Visualruby will also require "gtksourceview2" installed (perhaps via homebrew?)
Step-by-step instructions would be greatly appreciated.
I'm the friend referred to above.
I had the best success with QuartzX11.
I installed glade, gtk+ and gtksourceview via homebrew but perhaps that's not the best way.

Porting a GTK+ App to Mac OSX

I have a GTK+ Application (ready with Autotools) which i have developed on my Linux box. Now I need to port this one to OSX.
I have successfully installed jhbuild, which in turn installed GTK+ and stuff on the Mac (10.5.8)
I just don't know what to do next. Trying to ./configure && make && make install (on my app copied to the Mac) fails since pkg-config is not installed on the Mac.
Do I really need to write a jhbuild moduleset in order to compile this app?
I need two libraries as well: libxml2 and libsoup-2.4. Will jhbuild tae care for integrating them...?!
My question now is: What is the simplest way to port a GTK+ Application to OSX and is there a tutorial or how-to on it?
I recommend installing Homebrew which is a command line package manager for mac. Once installed open terminal and run brew install pkg-config to install pkg-config then brew install gtk+ and/or brew install gtk+3 to install gtk+ 2 or 3 respectively.
After that is done you should be able to compile with your makefiles.
Are you sure that jhbuild installed GTK? Did you do
jhbuild bootstrap
jhbuild build meta-gtk-osx-bootstrap
jhbuild build meta-gtk-osx-core
as instructed on the "GTK OSX Building" page? If you did this, then pkg-config is definitely installed, because those packages wouldn't have built without it.
Are you building your application from within the jhbuild environment? i.e. did you do
jhbuild shell
before trying to build your application?
Isn't using jhbuild a bit overkill ? Wouldn't a Mac OS X GTK bundle from gtk.org be enough ? I think it provides pkg-config as the Win32 version provides it. Jhbuild is interesting if you have tons of dependencies to build, or want to build GTK yourself, but from what I understand, you just want to port a GTK application...

Resources