Comments (10)
@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.
from paq8px.
Related: https://encode.ru/threads/2885-Paq8px-building-instructions
from paq8px.
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)'
from paq8px.
Can you try the following?
cmake .
make
from paq8px.
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
from paq8px.
Yes, that did it.
from paq8px.
And also update the README with that cmake and make commands...
from paq8px.
And also update the README with that cmake and make commands...
Yes, of course, will do.
from paq8px.
Updated the README to include newer instructions with cmake and make.
from paq8px.
I believe this issue may be closed.
from paq8px.
Related Issues (18)
- Direct buffer compression HOT 5
- Linux compile problem HOT 1
- Compression Failed on -1 parameter HOT 1
- Python interface? HOT 1
- Not a real issue but a request HOT 3
- cannot find .exe for windows HOT 2
- Text detection HOT 1
- Not issue but a request. ###How can I increase the compression speed? HOT 6
- Release new Windows Builds and/or update Windows Build Instructions with requirements HOT 2
- vTune Profile HOT 1
- Add info on max input file size HOT 6
- cannot build in linux HOT 2
- Use in production? HOT 12
- Cannot compile on debian HOT 2
- Warnings at compile time HOT 5
- Optimizing text compression HOT 2
- Issues with the build system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paq8px.