Find a file
2021-09-22 16:16:12 +08:00
cmake Fix FindFreeGLUT 2021-07-19 20:32:32 +08:00
cvdata Switch to DNN face detection 2021-01-22 19:48:55 +08:00
docs Add a newline for clarity 2021-03-31 15:14:13 +08:00
libs Add graphical error messages 2021-02-14 23:47:07 +08:00
models Add eye direction in model 2021-06-08 10:53:59 +08:00
packaging Fixed icons on Linux 2021-09-04 23:26:00 +08:00
src Fix gray window background on Windows 2021-07-19 23:17:40 +08:00
.gitignore Configure Windows Installer script with CMake 2021-07-20 23:44:40 +08:00
.gitmodules Add graphical error messages 2021-02-14 23:47:07 +08:00
CMakeLists.txt Version bump to 0.3.1 2021-09-22 16:16:12 +08:00
face.xcf add support for multiple textures in one part 2021-01-02 02:55:12 +08:00
Info.plist Add Info.plist for MacOS camera permission message 2021-01-15 18:43:30 +08:00
LICENSE Add LICENSE 2021-01-12 14:59:43 +00:00
README.md Fix some windows packaging commands 2021-09-22 01:24:22 +08:00
TODO.md Update TODO 2021-09-22 01:39:05 +08:00

Facecam2D

2D avatar facecam software


Installation

Debian GNU/Linux

A .deb package is available for systems running Debian 11 or newer or Ubuntu 20.04 or newer. You can find it on the Releases page.

Arch Linux

An AUR package (facecam2d) is available for Arch Linux users.

Windows

A Windows Installer package (MSI) is available for systems running Windows 10 or newer. You can find it on the Releases page. (You might be able to run it on earlier Windows versions, this hasn't been tested.)

Verifying packages (optional)

Released binaries are signed with this PGP key:

pub   rsa3072 2021-07-12 [SC] [expires: 2022-07-12]
      1CB1 F64B 8061 EB02 B8A4  B421 4AB7 1F23 5C64 BE77
uid           [ultimate] Rubi Wilkins (Facecam2D Release Signing Key) <epicalert@protonmail.com>

You can download it at https://epicalert.xyz/keys/4AB71F235C64BE77.asc

When downloading the package, download its accompanying signature and verify it using e.g. GnuPG.

gpg --verify facecam2d_0.3.0-1_amd64.deb.asc

Building

GNU/Linux or similar systems

Make sure you have all dependencies installed.

  1. Create a build directory and cd into it.
mkdir build
cd build
  1. Configure with cmake (You may need to define wxWidgets_CONFIG_EXECUTABLE and wxWidgets_wxrc_EXECUTABLE if you're using Arch Linux.)
cmake ..
  1. Compile with make
make -j4
  1. Run the Facecam2D Configuration Tool and/or Facecam2D
./fc2dconfig
./fc2d
  1. Optionally, you can also install your build.
make install

Windows

At the moment, building on Windows is not supported. You will need to cross-compile from a GNU/Linux system with MinGW.

  1. Create a build directory and cd into it.
mkdir build
cd build
  1. Configure with the MinGW version of cmake
x86_64-w64-mingw32-cmake ..
  1. Compile with make
make -j4
  1. Make SourceDir for MSI packaging
mkdir SourceDir
cp -r *.exe libs/Boxer/libBoxer.dll ../packaging/*.ico models/ cvdata/ SourceDir/
  1. Use a utility like peldd to find and copy the DLLs needed
for lib in $(peldd -t -r -w OPENGL32.dll -w libBoxer.dll fc2d.exe)
	cp $lib SourceDir
for lib in $(peldd -t -r fc2dconfig.exe)
	cp $lib SourceDir
  1. Create MSI package with wixl
wixl ../packaging/*.wx(s|i) -o facecam2d-$(git describe).msi