Code Monkey home page Code Monkey logo

Comments (16)

mmp avatar mmp commented on August 15, 2024

I see the ubuntu one as well (pretty much the same set up here locally). It eventually build if you run make a few times in a row, the issue seems to be one of a missing dependency.

This seems to have been caused by ec742b2, so I've just reverted that for now--I haven't been able to see what the issue is, given mediocre cmake skills over her. (cc @pierremoreau, since it'd be nice to have that in there otherwise.) Please let me know if it builds for you with top of tree now.

from pbrt-v4.

mmp avatar mmp commented on August 15, 2024

For the windows part, are you using MSVC2017? If so, I think this is the same as the (yet unresolved) issue #44.

from pbrt-v4.

richardmgoodin avatar richardmgoodin commented on August 15, 2024

from pbrt-v4.

mmp avatar mmp commented on August 15, 2024

I saw nothing in your output that indicated which version you are using. I asked about 2017 because the symptoms are the same as an issue that had seemed to be VS2017 only.

from pbrt-v4.

richardmgoodin avatar richardmgoodin commented on August 15, 2024

Under ubuntu I can now build top of tree. Killeroos-gold 8.9s.

from pbrt-v4.

richardmgoodin avatar richardmgoodin commented on August 15, 2024

As to the Windows build I saw issue #44 but it appeared to be resolved by going to VS2019. I'm definitely running VS2019.

from pbrt-v4.

pierremoreau avatar pierremoreau commented on August 15, 2024

Mmh, I wonder if instead of depending on the file itself, it would work better if the dependency was on the library, i.e. changing this line from DEPENDS $<TARGET_OBJECTS:${lib_name}> to DEPENDS "${lib_name}".

from pbrt-v4.

pierremoreau avatar pierremoreau commented on August 15, 2024

I'm still working on it, but #57 seems to be building fine with Visual Studio 2019 and the built-in CMake support; the only issue I'm having are those "definition of dllimport function not allowed" messages from the dependencies though they go away if you re-run CMake and build again, and seem to happen on the current master.

I'll try to test it on Linux later today.

from pbrt-v4.

pierremoreau avatar pierremoreau commented on August 15, 2024

#57 is building just fine with both Ninja and Make on Linux for me, so hopefully it does for you as well.

from pbrt-v4.

richardmgoodin avatar richardmgoodin commented on August 15, 2024

from pbrt-v4.

pierremoreau avatar pierremoreau commented on August 15, 2024

Could you please try with the branch in #57 (since I'm assuming that by top of tree, you mean master)? It won't fix the Windows build, but I would like some additional feedback that it does not break Linux builds.

from pbrt-v4.

richardmgoodin avatar richardmgoodin commented on August 15, 2024

from pbrt-v4.

pierremoreau avatar pierremoreau commented on August 15, 2024

With #57, I am referring to the changes suggested in that MR which is some version of master + an additional commit. You can check it out by doing (assuming origin is the name of the remote for this repository)

git fetch origin pull/57/head:BRANCHNAME && git switch BRANCHNAME

which will create a new branch named BRANCHNAME with the content of the MR.

from pbrt-v4.

richardmgoodin avatar richardmgoodin commented on August 15, 2024

from pbrt-v4.

pierremoreau avatar pierremoreau commented on August 15, 2024

Awesome, thank you for testing!

For Windows, the workaround I found was to force-save one of the CMakeLists.txt files to force CMake to re-run, and then it would build just fine. But obviously that is not a great solution.

from pbrt-v4.

mmp avatar mmp commented on August 15, 2024

...and now that MR is merged, so I'll go ahead and close this. Thanks, @pierremoreau!

from pbrt-v4.

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.