-
Notifications
You must be signed in to change notification settings - Fork 234
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
cygwin can't find cogutils #781
Comments
It's the right place to post. Unfortunately I have no idea what the problem is, I haven't touched Cygwin for many years. |
the part that confuses me the most about diagnosing the problem is that fact that it finds the header files. |
Well, I've had this kind of problems under linux multiple times, usually it gets solved by running ldconfig. For Cygwin I have no idea. |
from my brief research into what ldconfig does, ldconfig is equivalent of adding things to path. If you knew what variable is uses to look up cogutil, i can add the dll to path. |
I fixed the problem. cygcogutil.dll and libcogutil.dll.a needed to be copied to usr\local\include\opencog |
That's weird, isn't it? But anyway, if that fixes the problem... Would be good to have this information somewhere, on the wiki or perhaps a README.cygwin or something. |
it was made that way by someone earlier. this is really a cogutils problem. However, i havent gotten a response on that project yet. |
Closing, this seems to be a duplicate of opencog/cogutil#32 Chris, if you have access to a Windows box, and know how Cygwin works, then please do perform the port and submit pull requests. None of the regular developers have access to a Windows machine or have any experience with Windows (except for YantraBuddhi who was an actual Windows developer once upon a time). From the strategic perspective, I think an Android port would be far more interesting: it would be very cool to run opencog on a cellphone/tablet. (I don't have an iPhone, else I would be excited by that). |
If I can port to windows, then I can use several specialized tools at performing these conversions. I will need help modifying the Cygwin part of the make file. Can you make the change I noted above? |
Note, however, such a port would be hard: opencog requires scheme, python and postgres. Its not clear that any of these are fully functional and supported on windows, cygwin or android or OSX. I recall asking about scheme-on-android, and someone had tried it and gotten it to sort-of mostly work, but the patches for doing that are not upstream, as far as I know. Getting all of these pre-reqs to work happily on non-Linux systems is not a weekend project: it would require a fair bit of dedication. |
Hi Chris ... what change? Submit a pull request ... if it looks good, it can be merged. It seems like the first step is to port cogutils to cygwin, and have that work and pass it's unit tests. once that works, then we can close issue opencog/cogutil#32 and re-open this one (or create a new issue that says "port atomspace to cygwin") |
i will run unit tests on cogutils. the DLL was copied to the wrong directory during install which made atomspace complain. copied from above:
|
To get cogutils to build from on cygwin. note: these directions do not include installing dependencies other than cxxtest
all tests succeeded. moving on to atomspace. |
OK, re-opening to track the work. Please submit a pull request to cogutils that fixes all the issues that you had to manually work around. Make sure that libraries are installed in |
closing. There was no pull request made, or maybe there was, but this bug was never updated. |
i wasnt sure whether to post this issue in cogutils or atomspace. Below is the output of cmake.
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Detecting C compile features
-- Detecting C compile features - failed
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Detecting CXX compile features
-- Detecting CXX compile features - failed
-- Build type: Release
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- program_options
-- regex
-- serialization
-- system
-- thread
-- Boost version 105800 found.
-- Looking for include file opencog/util/cogutil.h
-- Looking for include file opencog/util/cogutil.h - found
-- CogUtil not found
CMake Error at CMakeLists.txt:195 (MESSAGE):
CogUtil missing: it is needed for everything!
everything in cogutils built correctly so im not sure what the problem is.
The text was updated successfully, but these errors were encountered: