fgre / libnpa Goto Github PK
View Code? Open in Web Editor NEWFree library for manipulating Nitroplus game files
License: MIT License
Free library for manipulating Nitroplus game files
License: MIT License
Code from nipa and nsbcompile2 ( https://github.com/FGRE/nptools ) needs to be integrated.
-- The CXX compiler identification is GNU 6.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.61.0
-- Found the following Boost libraries:
-- system
-- locale
-- filesystem
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Found FLEX: /usr/bin/flex (found version "2.6.1")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0
[ 5%] [FLEX][lexer] Building scanner with flex 2.6.1
[ 11%] [BISON][parser] Building parser with bison 3.0.4
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/parser.y: warning: 176 shift/reduce conflicts [-Wconflicts-sr]
Scanning dependencies of target npa
[ 16%] Building CXX object CMakeFiles/npa.dir/src/inpafile.cpp.o
[ 22%] Building CXX object CMakeFiles/npa.dir/src/npafile.cpp.o
[ 27%] Building CXX object CMakeFiles/npa.dir/src/nsbmagic.cpp.o
[ 33%] Building CXX object CMakeFiles/npa.dir/src/onpafile.cpp.o
[ 38%] Building CXX object CMakeFiles/npa.dir/src/scriptfile.cpp.o
[ 44%] Building CXX object CMakeFiles/npa.dir/src/exefile.cpp.o
[ 50%] Building CXX object CMakeFiles/npa.dir/src/fscommon.cpp.o
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp: In function ‘char* fs::ReadFile(const string&, uint32_t&)’:
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:11:5: error: reference to ‘ifstream’ is ambiguous
ifstream File(Filename, ios::binary);
^~~~~~~~
In file included from /usr/include/boost/filesystem/string_file.hpp:14:0,
from /usr/include/boost/filesystem.hpp:19,
from /tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:3:
/usr/include/boost/filesystem/fstream.hpp:169:32: note: candidates are: typedef class boost::filesystem::basic_ifstream boost::filesystem::ifstream
typedef basic_ifstream ifstream;
^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/localefwd.h:41:0,
from /usr/include/c++/6.2.1/string:43,
from /tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/include/fscommon.hpp:4,
from /tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:1:
/usr/include/c++/6.2.1/iosfwd:162:34: note: typedef class std::basic_ifstream std::ifstream
typedef basic_ifstream ifstream;
^~~~~~~~
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:12:10: error: ‘File’ was not declared in this scope
if (!File)
^~~~
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:15:5: error: ‘File’ was not declared in this scope
File.seekg(0, ios::end);
^~~~
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp: In function ‘void fs::WriteFile(const string&, const char*, uint32_t)’:
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:43:5: error: reference to ‘ofstream’ is ambiguous
ofstream File(Filename, ios::binary);
^~~~~~~~
In file included from /usr/include/boost/filesystem/string_file.hpp:14:0,
from /usr/include/boost/filesystem.hpp:19,
from /tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:3:
/usr/include/boost/filesystem/fstream.hpp:170:32: note: candidates are: typedef class boost::filesystem::basic_ofstream boost::filesystem::ofstream
typedef basic_ofstream ofstream;
^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/localefwd.h:41:0,
from /usr/include/c++/6.2.1/string:43,
from /tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/include/fscommon.hpp:4,
from /tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:1:
/usr/include/c++/6.2.1/iosfwd:165:34: note: typedef class std::basic_ofstream std::ofstream
typedef basic_ofstream ofstream;
^~~~~~~~
/tmp/yaourt-tmp-rwhited/aur-libnpa/src/libnpa-0.5.0/src/fscommon.cpp:44:5: error: ‘File’ was not declared in this scope
File.write(pData, Size);
^~~~
make[2]: *** [CMakeFiles/npa.dir/build.make:218: CMakeFiles/npa.dir/src/fscommon.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/npa.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.