I want to run sqlite natively in MinGW as I do in Linux.
Tried downloading SQLite3 for Windows. Though it runs in Windows Command prompt, just like it does in Linux, in MinGW terminal the console hangs.
What can I do to ensure the MinGW plays as nice as Windows?
Compile against a version of readline that works properly on Windows.
I build sqlite3 against readline from http://tiswww.case.edu/php/chet/readline/rltop.html and have no issues.
Related
I installed Octave on my macOS Sierra using Homebrew with the command
brew install octave
and everything installed fine.
When I run Octave, however, it prints version 4.2.1, but I do not get the GUI nor can I force the GUI with octave --force-gui. No error message or warning is generated, the app just starts in the command line.
How do I get Octave to run with a GUI?
Run brew uninstall octave to removed the octave executables. Use MacPort instead of homebrew. Run 'port selfupgrade' and then 'port install octave'. It installs octave in the opt/local/bin directory. Type octave and it runs with the GUI. Version 4.2.1 was installed and seems to work fine.
Try running the command octave --gui instead of octave --force-gui.
I installed mingw-w64 and gdb-mingw-w64 on Ubuntu 14.10 using:
sudo apt-get install mingw-w64
sudo apt-get install gdb-mingw-w64
I'm able to compile C/C++ programs and run them from Wine or on Windows machine.
I installed mingw32 version of gdb to be able to debug windows app compiled with Mingw.
I tried to use recent versions of Netbeans 8, Code::Blocks 13.12, Eclipse Luna and was able to configure Mingw toolchain to be used with IDE for building win32 application from Linux.
I also tried to configure the same way in those IDEs to use Mingw version of GDB (gdb-mingw-w64) the same way as standrad GDB was sued for non-mingw GCC toolchain but was never able to make it work :(
How can I debug such C/C++ program compiled with Mingw from Linux?
How to configure in any of IDEs listed above?
Thank you!
I want to install OpenAL Haskell bindings for Windows. When I try cabal install alut I get:
Resolving dependencies...
Configuring OpenAL-1.4.0.2...
cabal: The package has a './configure' script. This requires a Unix
compatibility toolchain such as MinGW+MSYS or Cygwin.
Installing MSYS or Cygwin is absolutely not an option. runghc setup configure on the source yields the same thing. This leads me to the following:
How can I install OpenAL with just an installation of the Haskell Platform? I know mingw comes with the Haskell Platform on Windows. Can I use just that to execute this script?
Is there a package that can play audio that installs with cabal on Windows 7 AND Unix based systems?
The source contains hundreds of directives designed for the configure script, which doesn't work on Windows. Is there a version of the source which is platform specific, ie, the script has already been run in a windows environment?
Edit: Context for the problem:
I have a Haskell program, which among other things, plays sound. It is going to be used for demonstration/interactive presentation to students. The computers in the lab run Windows 7. They have the Haskell Platform installed, but not MSYS or Cygwin. I have about 45 minutes to complete this, which doesn't leave time for the installation of needlessly complex and essentially pointless software. If I could get Windows-compatible source code, I could just distribute it with the program I wrote. All the packages I need besides this one will cabal install just fine; this is also a good introduction to package management.
Edit2: cabal install fails with Cygwin installed, as does runghc setup configure
I have only used Mac in the past to compile, so I am a little lost with the following issue.
I am trying to compile a program in Windows 7 through cygwin. Svn co to get the source code works, but upon $ ccmake. the error "command not found" appears. I have the devel. tools from the cygwin setup, as well as cmake and MinGW-64 installed. Where can be the bug? Is ccmake. command supported at all in cygwin?
Any hints are appreciated.
If you are using Cygwin, you should install Cmake using Cygwin as well. The package should be called "cmake". Once that is done you should find ccmake at
/usr/bin/ccmake
AKA
C:\cygwin\bin\ccmake.exe
and you should make sure your PATH contains /usr/bin
ref
I am using Cygwin to compile Vim, but the configure script tells me that there is no terminal library in the Cygwin environment. Which terminal library could be installed in Cypwin?
You can install ncurses in Cygwin.
(You can also install vim; I presume you have a reason to build it from source rather than using the provided version.)
I just installed vim 7.3 under Cygwin. Here's what I did (approximately):
Download vim-7.3.tar.bz2
tar xf vim-7.3.tar.bz2
cd vim73
./configure --prefix=/path/to/installation/directory
make
make install