Giter VIP home page Giter VIP logo

Comments (22)

karl-lunarg avatar karl-lunarg commented on August 23, 2024 2

@irobertmanley You shouldn't really use getLatestAll. getLatestAll is for the case where a MoltenVK developer wants to update submodules to their latest versions. Often, a change in a submodule may require some adjustment in the rest of MoltenVK to cope with the change. For regular building, you really need to leave the submodule revisions alone and use makeAll (which should sync the submodule trees to the correct version).

As for the missing generated include file, see issue #84. I'll update that issue with a workaround.

from moltenvk.

billhollings avatar billhollings commented on August 23, 2024 1

PR #98 changes the way that external libraries are fetched and built, and should fix this issue. Among other significant changes, the getLatestAll script has been removed.

As @karl-lunarg indicates...the getLatestAll script was unintentionally dangerous. It was only intended to be used by MoltenVK devs who are deliberately moving MoltenVK to use another version of an external library. It was not intended to be used as a mechanism for app devs to use different versions of the external libraries...as doing so causes issues like this.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

your build details are crystal-clear, unfortunately it seems I am missing something...

screen shot 2018-03-07 at 22 09 02

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

the problem shows up for both MoltenVK Debug and Release targets.

/Users/nikyotis/Developer/MoltenVK/MoltenVKShaderConverter/MoltenVKSPIRVToMSLConverter/SPIRV-Tools/source/opt/instruction.cpp:513:10: Use of undeclared identifier 'spvInstructionBinaryToText'

Maybe I should just add the header? namespace prepending does not really help...

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

Modifying the signature of /var/instruction.h && /var/instruction.cpp so that PrettyPrint returns void does not help either...

screen shot 2018-03-07 at 22 20 32

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

screen shot 2018-03-08 at 07 57 34

from moltenvk.

karl-lunarg avatar karl-lunarg commented on August 23, 2024

This builds fine for me. I have the same version of Xcode as you. Also, the Travis-CI build is OK.

I do note that my version of Instruction.cpp has only 451 lines in it. And you are getting an error at line 513.

Are you sure you are using the latest sources?

If you do a git pull on the MoltenVK repo, you may need to do git submodule update in order to freshen the submodule content. The External/makeAll script does this submodule update for you. You may want to run this script again to get all the submodules updated and rebuilt.

Some of the other error messages in your screenshots also suggest that this could be the problem.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

Thanks @karl-lunarg. I am gonna try fresh once more.

from moltenvk.

irobertmanley avatar irobertmanley commented on August 23, 2024

Still have the problem here on clean clone + makeAll or after getLatestAll.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

screen shot 2018-03-09 at 15 42 47

from moltenvk.

irobertmanley avatar irobertmanley commented on August 23, 2024

There are completely separate versions of instruction.cpp - one in val and one in opt. One version doesn't have it, the other does.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

from moltenvk.

irobertmanley avatar irobertmanley commented on August 23, 2024

Perhaps they are not using High Sierra and APFS? Still finding minor filesystem differences here that may affect the scripts.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

from moltenvk.

irobertmanley avatar irobertmanley commented on August 23, 2024

Worth noting that I only get this error after getLatestAll. There is a different error on clean makeAll regarding a missing generated include file.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

thanks for the heads-up

from moltenvk.

irobertmanley avatar irobertmanley commented on August 23, 2024

makeAll based build now working with that update.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

from moltenvk.

karl-lunarg avatar karl-lunarg commented on August 23, 2024

@nyotis If you are building fine now, it would help @billhollings if you could close this issue. I think that #84 sufficiently tracks the other problem.

from moltenvk.

nyotis avatar nyotis commented on August 23, 2024

both Debug and Release build now fine

from moltenvk.

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.