Skip to content

awakecoding/gfwx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cmake build and test

git clone git@github.com:richerarc/gfwx

cd gfwx

cmake .

make

cd test/compresion

./gfwx-compress <input-img> <output data> <img-decoded>

Compiling GFWX with g++ without CMake

1) Create the static lib

cd libgfwx

g++ -std=c++11 -c gfwx.cpp

ar rvs gfwx.a gfwx.o

2) Use gfwx

// Random .cpp file

#include "libgfwx/gfwx.hpp"

3) Use the library with g++

g++ -std=c++11 -o exec random.cpp libgfwx/gfwx.a

3.1) Build with OpenCV

g++ -std=c++11 -o test main.cpp libgfwx/gfwx.a -I `pkg-config --libs opencv`

3.1) Build with OpenMP

g++ -std=c++11 -o test main.cpp libgfwx/gfwx.a -fopenmp

About

gfwx encoder porting for c lang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 70.0%
  • C 25.8%
  • CMake 4.2%