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
CMake error #13
Comments
Thanks for the report, but Fruit is currently not supported on Windows due to compiler bugs. See #9. Once those are resolved I'll fix any remaining issues (including the build error you mentioned) but for now there's no chance Fruit would work anyway. Closing this bug as duplicate. |
Ok, thanks! It will be excellent to have Windows support at some point. I've been looking for a good DI container for some time now. As an aside, what is the preferred way to pull Fruit into another CMake project? Currently, I've got: set(FRUIT_LIBRARY /usr/local/lib/libfruit.so)
INCLUDE_DIRECTORIES(/usr/local/include/fruit/) Is it possible to use |
If you use the binary packages (or if you compile from source and install in the same locations), |
I wrote a little cmake code to find fruit. Hope it helps. First set hint dir and ...
set(FRUIT_INSTALLED_DIR "path to /usr"
...
find_package(fruit REQUIRED)
... Then write a find_path(FRUIT_INCLUDE_DIR fruit.h
HINTS FRUIT_INSTALLED_DIR
PATH_SUFFIXES include/fruit include fruit
)
find_library(FRUIT_LIBRARY
NAMES fruit
HINTS FRUIT_INSTALLED_DIR
PATH_SUFFIXES lib ${FRUIT_INSTALLED_DIR}
)
include(${CMAKE_MODULE_PATH}/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(fruit DEFAULT_MSG FRUIT_LIBRARY FRUIT_INCLUDE_DIR) |
Hello, I've got a cmake issue on Windows 10 x64, VS 2015 u1:
I'm attaching cmake_build.zip, but for brevity here is the error that stops cmake:
It looks like a
libstdc++
header; is there a Windows corollary? If not, is there any plan to support Windows in the future?The text was updated successfully, but these errors were encountered: