← Back to team overview

opencog-dev team mailing list archive

Re: Win32 port

 

On Wed, Jun 18, 2008 at 6:04 PM, Trent Waddington
<trent.waddington@xxxxxxxxx> wrote:
> It doesn't like me, I'm trying with "Visual Studio 8 2005" and it's
> giving me the attached errors.
>
> I'm trying "nmake makefiles" now, seems to be better, but I'd love to
> know what its problem is.

So after trying to get nmake makefiles to work, I gave up and went
back to "Visual Studio 8 2005" and it magically started working.
CMake is strange.

I had to modify my CMakeCache.txt and manually add all the paths to
the includes and libs of all the third party stuff.  I see a
dependency on OpenSSL that I hadn't seen before, is that new?

Finally it generated some vcproj files.  The first problem I found is
that we have a config.h and so does pthreads.  It is in the path
before src/Util so it gets included first and then we don't.  So my
solution at the moment is to move the pthreads config.h away.  An
alternative would be to change the path ordering, but I want to see if
this pthreads config file is really needed.. I expect it is cruft.

I had a little trial and error with the CSockets include.. it wants
the dir with the headers, not the parent dir with Sockets/ in it, that
seems obvious in retrospect.  Similarly for expat.. kind of strange
that CMake doesn't check for the header before shoving it into the
vcproj file.  I had a typo in another lib dir, it didn't find that
either.  Oh well.

Ok, this is really strange, during the build of one of the projects, a
new Visual Studio window opens up.. with nothing loaded.  Happens
every time.  Hmm, seems it's your test/tests projects.. the custom
build rule for tests runs devenv.. what are you trying to do here?

Otherwise, everything builds.

Trent



Follow ups

References