Error messages since switch to JUCE 3.0

Home Forums General News and releases Error messages since switch to JUCE 3.0

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #21772
    dasfaker
    Keymaster
      • Topics: 80
      • Replies: 793
      • Total: 873
      • ★★★

      I get this error message in a LUA script working fine until rev. 1613, since JUCE 3.0 was introduced.


      Name: getChildFile
      Error message: No matching overload found, candidates:
      File getChildFile(File const&,custom [class juce::StringRef])

      Maybe Atom you need to register some class?

      Thx

      #21941
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        i’m on it

        #21956
        dasfaker
        Keymaster
          • Topics: 80
          • Replies: 793
          • Total: 873
          • ★★★

          Thanks

          #22026
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            I think i fixed it i’ll upload new builds asap.

            #22044
            dasfaker
            Keymaster
              • Topics: 80
              • Replies: 793
              • Total: 873
              • ★★★

              Thanks Atom, I downloaded the new revision but I get a new error message

              Name: getChildFile
              Error message: No matching overload found, candidates:
              File getChildFile(File const&,StringRef)

              BTW, can’t you return to the previous revision naming? The new one is Revision = 899703535ed166df4b00c6b9be338b3691de00b6

              • This reply was modified 10 years ago by dasfaker.
              #22055
              atom
              Keymaster
                • Topics: 159
                • Replies: 2945
                • Total: 3104
                • ★★★★★

                The new naming is based on GIT commit ID that the binary was built with. I gave it a limit to the first 8 characters of the ID, so now you got: http://ctrlr.org/nightly/Ctrlr_89970353.exe and http://ctrlr.org/nightly/Ctrlr_262f2710.dmg the one you mentioned is older (before the fix).

                #22056
                atom
                Keymaster
                  • Topics: 159
                  • Replies: 2945
                  • Total: 3104
                  • ★★★★★

                  YOu can see how those IDs collerate to changes in the repo here: https://github.com/RomanKubiak/ctrlr/commits/master

                  #22288
                  dasfaker
                  Keymaster
                    • Topics: 80
                    • Replies: 793
                    • Total: 873
                    • ★★★

                    The new naming is based on GIT commit ID that the binary was built with. I gave it a limit to the first 8 characters of the ID, so now you got: http://ctrlr.org/nightly/Ctrlr_89970353.exe and http://ctrlr.org/nightly/Ctrlr_262f2710.dmg the one you mentioned is older (before the fix).

                    The one I mentioned is the last build available for Windows, do I assume that you didn’t uploaded the fix yet?

                    #22337
                    atom
                    Keymaster
                      • Topics: 159
                      • Replies: 2945
                      • Total: 3104
                      • ★★★★★

                      Try the version i uploaded now git commit “ac6a31085”

                      #22344
                      dasfaker
                      Keymaster
                        • Topics: 80
                        • Replies: 793
                        • Total: 873
                        • ★★★

                        I’ll try it, thanks.

                        #22345
                        dasfaker
                        Keymaster
                          • Topics: 80
                          • Replies: 793
                          • Total: 873
                          • ★★★

                          When I try to open Ctrlr-32.exe on Windows Xp an error message appears saying that it’s not a valid Win32 application.

                          #22426
                          atom
                          Keymaster
                            • Topics: 159
                            • Replies: 2945
                            • Total: 3104
                            • ★★★★★

                            The windows issue is fixed now. I did a build on VS2013 and that seems to fuck up WindowsXP compatibility, back to VS2010, the binaries should work (tested with XP SP3)

                            #22923
                            dasfaker
                            Keymaster
                              • Topics: 80
                              • Replies: 793
                              • Total: 873
                              • ★★★

                              On build Ctrlr_ac6a3185 the error message persist.

                              Name: getChildFile
                              Error message: No matching overload found, candidates:
                              File getChildFile(File const&,StringRef)

                              • This reply was modified 9 years, 11 months ago by dasfaker.
                              #22925
                              atom
                              Keymaster
                                • Topics: 159
                                • Replies: 2945
                                • Total: 3104
                                • ★★★★★

                                In that case i’d ask you to paste the piece of code that is causing this.

                                #22926
                                dasfaker
                                Keymaster
                                  • Topics: 80
                                  • Replies: 793
                                  • Total: 873
                                  • ★★★

                                  Sure:

                                  fileBankName = string.format("%s%s %s%s","/Access Virus TI/",prename,postname,".nam")
                                  tempBankFile = File.getSpecialLocation(File.userApplicationDataDirectory):getChildFile(String(fileBankName))
                                  • This reply was modified 9 years, 11 months ago by dasfaker.
                                  #22929
                                  atom
                                  Keymaster
                                    • Topics: 159
                                    • Replies: 2945
                                    • Total: 3104
                                    • ★★★★★

                                    Looks like my internal conversion mechanism does not like String() passed to it, i’ll have a look at it later, for now this will work

                                    fileBankName = string.format("file")
                                    tempBankFile = File.getSpecialLocation(File.userApplicationDataDirectory):getChildFile(fileBankName)
                                    console (tempBankFile:getFullPathName())
                                    
                                    • This reply was modified 9 years, 11 months ago by atom.
                                    #22932
                                    dasfaker
                                    Keymaster
                                      • Topics: 80
                                      • Replies: 793
                                      • Total: 873
                                      • ★★★

                                      That worked, thanks.

                                    Viewing 17 posts - 1 through 17 (of 17 total)
                                    • The forum ‘News and releases’ is closed to new topics and replies.
                                    There is currently 0 users and 56 guests online
                                    No users are currently active
                                    Forum Statistics
                                    Threads: 2,495, Posts: 17,374, Members: 77,605
                                    Most users ever online was 12 on January 22, 2019 3:47 pm
                                    Ctrlr