Comments (5)
Can you specify the following information?
- Your operating system
- Your compiler
- Do you build cppfs from source yourself or do you try to use it as a dependency?
from cppfs.
Hi @scheibel. Currently encountering the same problem while using the header files in my project. If you check here: https://github.com/cginternals/cppfs/tree/master/source/cppfs/include/cppfs, the header file cppfs_api.h requested from the AbstractFileSystem.h does not exist at all.
Nor does the file exist anywhere in the repository at all: https://github.com/cginternals/cppfs/find/master
Thanks.
from cppfs.
The file is not part of the source tree as it is generated during CMake build directory creation and configuration. That's why I asked for your build setup. You need to use an actual development package (either create it from source, where CMake get's executed and the cppfs_api.h
is generated or use a pre-build cppfs package where this file is added, too).
from cppfs.
Hi. I wanna use this library in my game engine.
it currently builds with premake and CMake.
CMake works fine because it generates cppfs_api.h
file + adds it to include directories.
Is there any possible way to build cppfs using premake? Has anyone done it?
Or should I drop premake support?
from cppfs.
Hi @OverShifted. As far as I can see, premake does not seem to support anything like cmake's configure_file or generate_export_header. If you want to support it, I guess it would be easiest to just add a static API header file instead of generating it, using some ifdefs to differentiate between the platforms you want to support , e.g., windows and unix. You can find plenty of examples how such a header file should look like, for example: https://stackoverflow.com/questions/19418908/creating-a-portable-library-to-run-on-both-linux-and-windows
from cppfs.
Related Issues (20)
- Special bits: Set UID/GID, Sticky Flags HOT 2
- Support for mingw on Windows HOT 3
- Can libcppfs.a (static library) be made part of Ubuntu PPA deb package HOT 1
- provide release libs to use them directly instead of Build by users HOT 4
- Handling unicode paths HOT 1
- Feature: File locking
- GoogleTest should be included as ExternalProject HOT 1
- Obtain CWD/PWD HOT 1
- Diff not handle folders been relplace by files with same name
- Build Error [-Werror-deprecated-copy] HOT 2
- FileHandle.size() does not work well for large file(more than 3.9GB) HOT 2
- Use enum class instead of enum
- Watching files doesn't work on windows? HOT 2
- Remove std templates from interface HOT 2
- Why change default output paths?
- Why there's no support for file permissions on Windows?
- Incorrect path resolving for concatenated path separators. HOT 1
- removeDirectoryRec recursively follows symlink directories and should not ? HOT 4
- Error in testing (googletest) HOT 1
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 cppfs.