cppit / jucipp

A lightweight & cross-platform IDE supporting the most recent C++ standards. This project has moved to https://gitlab.com/cppit/jucipp.
https://gitlab.com/cppit/jucipp
MIT License
883 stars 98 forks source link

Compiled release? #345

Closed ghost closed 7 years ago

ghost commented 7 years ago

I can't seem to be able to compile this (I'm a complete noob when it comes to this) but I'm looking for a compiled Windows version just to use. If you can upload it here it'd be greatly appreciated.

artisdom commented 7 years ago

You need MSYS2 to compile and run Juci. More details here: Windows with MSYS2

ghost commented 7 years ago

I'm getting multiple errors right now but is there a pre built executable that you can give me?

zalox commented 7 years ago

Hi @chuckysprojects, thank you for your interest in this project! Unfortunately, prebuilt binaries aren't available on any supported platform yet...

If you have specific build issues we would gladly help out if you post your terminal output.

The build is currently succeeding on Windows and these are the commands that run to update, install dependencies and compile juCi++:

pacman --noconfirm --sync --refresh --refresh --sysupgrade --sysupgrade
pacman --noconfirm --sync --refresh --refresh pacman
pacman --noconfirm --sync --refresh --refresh git
export arch=x86_64
pacman -S --noconfirm git mingw-w64-${arch}-cmake make mingw-w64-${arch}-toolchain mingw-w64-${arch}-clang mingw-w64-${arch}-gtkmm3 mingw-w64-${arch}-gtksourceviewmm3 mingw-w64-${arch}-boost mingw-w64-${arch}-aspell mingw-w64-${arch}-aspell-en mingw-w64-${arch}-libgit2
git clone https://github.com/cppit/jucipp
cd jucipp
git submodule update --init --recursive
mkdir -p build
cd build
cmake -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw64 .. #notice the two dots
make
eidheim commented 7 years ago

After installing MSYS2 and juCi++ it is also important to recompile and reinstall gtksourceviewmm3. Please follow the install instructions, the steps are described there.

If someone is interested in creating an MSYS2 package for juCi++, feel free to do so, and others can then install this package using pacman in MSYS2. For this to be accepted by the MSYS2 project, it needs to be based on the latest juCi++ release, that is, not a -git package like the one that already exists in MSYS2 (jucipp-git). Others have created such packages, for instance for arch linux (in AUR) and FreeBSD.

ghost commented 7 years ago

@eidheim Well after complaining about not having numerous .dll files - this happened. image I guess I'm still not compiling / building it correctly :/

eidheim commented 7 years ago

Make sure you run juci from the MinGW-w64 shell after installation (assuming you are on 64-bit architecture).

eidheim commented 7 years ago

Closing this with the assumption that the issuer made it work.