Giter VIP home page Giter VIP logo

Comments (8)

sharkwouter avatar sharkwouter commented on August 13, 2024 1

This should be fixed now with #199 being merged now

from pspsdk.

diamant3 avatar diamant3 commented on August 13, 2024

Thanks for submitting an issue!, feel free to create a PR otherwise let's wait for the well versed in cmake for the fix

from pspsdk.

sharkwouter avatar sharkwouter commented on August 13, 2024

@smb123w64gb what is the problem that was fixed by this change? I just did a quick test and the binary is being stripped just fine with both of these. I see no changes to the result if I change it.

from pspsdk.

dbeef avatar dbeef commented on August 13, 2024

@smb123w64gb Please post your CMake invocation here and the relevant part of your CMake files where you call the create_pbp_file macro. Knowing the arguments you passed both to CMake and to the macro will greatly help us reproducing the issue.

from pspsdk.

dbeef avatar dbeef commented on August 13, 2024

@sharkwouter I'm not by my computer, but judging by the provided snippet:

$<TARGET_FILE_DIR:${ARG_TARGET}>/${ARG_TARGET}

...manipulating target in a way that makes its output name different can indeed lead to invalid (non-existent) file path passed to the stripper.

In other words, the macro assumes target name is the same as output artifact name.

from pspsdk.

smb123w64gb avatar smb123w64gb commented on August 13, 2024

The create_pbp_file sits here. SonyPSP.cmake#L60
Included from RSDKv5/CMakeLists.txt#L71
And this is also called from the game build its self.Sonic-Mania-Decomp/CMakeLists.txt

from pspsdk.

dbeef avatar dbeef commented on August 13, 2024

Thanks, I will get back to you soon.

from pspsdk.

dbeef avatar dbeef commented on August 13, 2024

I reproduced the issue, applied your suggestion @smb123w64gb of using $<TARGET_FILE:${ARG_TARGET}> and the macro now works for both default and customised OUTPUT_NAME. Relevant MR: #199

from pspsdk.

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.