Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build instructions for linux #1

Closed
shrx opened this issue Sep 8, 2016 · 10 comments
Closed

Add build instructions for linux #1

shrx opened this issue Sep 8, 2016 · 10 comments

Comments

@shrx
Copy link

shrx commented Sep 8, 2016

Ideally 32 and 64 bit variants

hxim pushed a commit that referenced this issue Jan 14, 2018
Merge pull request #44 from GotthardtZ/master
hxim pushed a commit that referenced this issue Jan 27, 2018
@schnaader
Copy link

hxim pushed a commit that referenced this issue Jun 25, 2018
hxim pushed a commit that referenced this issue Jun 6, 2019
Merge pull request #106 from GotthardtZ/master
hxim pushed a commit that referenced this issue Jan 23, 2020
@L3P3
Copy link

L3P3 commented Feb 11, 2020

On Ubuntu 19, if I git clone and enter the given g++ command, beside a few warnings, I get errors like these:

/usr/bin/ld: /tmp/ccitcPAu.o: in function `BmpFilter::encode(File*, File*, unsigned long, int, int&)':
paq8px.cpp:(.text+0x540): undefined reference to `Shared::getInstance()'
/usr/bin/ld: /tmp/ccitcPAu.o: in function `Array<char, 16>::~Array()':
paq8px.cpp:(.text+0x898): undefined reference to `ProgramChecker::free(unsigned long)'
/usr/bin/ld: /tmp/ccitcPAu.o: in function `directEncodeBlock(BlockType, File*, unsigned long, Encoder&, int)':
paq8px.cpp:(.text+0x97c): undefined reference to `Encoder::compress(int)'
/usr/bin/ld: paq8px.cpp:(.text+0x987): undefined reference to `Encoder::encodeBlockSize(unsigned long)'
/usr/bin/ld: paq8px.cpp:(.text+0x999): undefined reference to `Encoder::compress(int)'

@andrew-epstein
Copy link
Contributor

Can you try the following?

cmake .
make

@L3P3
Copy link

L3P3 commented Feb 11, 2020

paq8px/model/Info.cpp: In member function ‘void Info::predict(uint8_t)’:
paq8px/model/Info.cpp:412:9: error: ‘isalpha’ was not declared in this scope
     if( isalpha(c1) != 0 ) {
         ^~~~~~~
paq8px/model/Info.cpp:414:16: error: ‘ispunct’ was not declared in this scope
     } else if( ispunct(c1) != 0 ) {
                ^~~~~~~
paq8px/model/Info.cpp:416:16: error: ‘isspace’ was not declared in this scope
     } else if( isspace(c1) != 0 ) {
                ^~~~~~~
make[2]: *** [CMakeFiles/paq8px.dir/build.make:947: CMakeFiles/paq8px.dir/model/Info.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/paq8px.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

@andrew-epstein
Copy link
Contributor

@L3P3: Can you try adding #include <cctype> to the top of Info.hpp, along with the other lines that begin with #include? If that fixes the problem, then I'll make sure to include a fix for this issue in the next version.

@L3P3
Copy link

L3P3 commented Feb 11, 2020

Yes, that did it.

@L3P3
Copy link

L3P3 commented Feb 11, 2020

And also update the README with that cmake and make commands...

@andrew-epstein
Copy link
Contributor

And also update the README with that cmake and make commands...

Yes, of course, will do.

@moisespr123
Copy link
Contributor

Updated the README to include newer instructions with cmake and make.

@GotthardtZ
Copy link
Contributor

I believe this issue may be closed.

@hxim hxim closed this as completed Sep 27, 2021
hxim pushed a commit that referenced this issue Mar 9, 2022
hxim pushed a commit that referenced this issue Jan 23, 2023
Utilizing AVX512BW neural network functions in Mixer when available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants