Git Product home page Git Product logo

Comments (4)

snej avatar snej commented on July 24, 2024

Are you checking out and building CBForest on its own, not as part of Couchbase Lite? It should work, but I haven't tried it in a while.

From your screenshot, the source paths in the project look wrong — it has .../vendor/CBForest/blockcache.cc, which is missing the last 3 directories in the path, vendor/forestdb/src. If so, I have no idea why the project would build for me and not you…

from cbforest.

ndouglas avatar ndouglas commented on July 24, 2024

Are you checking out and building CBForest on its own, not as part of Couchbase Lite? It should work, but I haven't tried it in a while.

I've been using Couchbase-Lite as a submodule in my project repo for... a while. Since the beginning of the year, I guess. All I did was switch from master to forestdb and pull, and git submodule update --init --recursive from the CBL root. I got appropriate messages, git log et al. seems correct and up to date, etc.

I encountered the first error when trying to build my entire project (which links to the CBL Mac framework). I thought, okay, maybe my header search paths are off or something, so I just tried building CBForest itself and got the same error, so I poked into the directory and found the red file names.

From your screenshot, the source paths in the project look wrong — it has .../vendor/CBForest/blockcache.cc, which is missing the last 3 directories in the path, vendor/forestdb/src. If so, I have no idea why the project would build for me and not you…

I can't imagine why this would affect CBForest, but I keep my Xcode groups/items mirroring my FS folder/file hierarchy, and all "Location"s are set to "relative to group". Again, I can't imagine why this would cause any issue, and it hasn't with CBL in the past, but perhaps there's some side effect to this that I don't know about.

from cbforest.

ndouglas avatar ndouglas commented on July 24, 2024

Well, here's something weird:

The group's path seems set correctly...

1

and yet the file contained within the group, which seems also to be set correctly, generates an incorrect path...

2

so this kind of looks like an Xcode bug to me.

from cbforest.

ndouglas avatar ndouglas commented on July 24, 2024

Deleted derived files, etc, closed and relaunched Xcode... and everything's fine :-/ I guess it was Xcode.

Nevermind! :-D

from cbforest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.