Build issue under Windows

Home Forums Platform Specific Windows Build issue under Windows

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #69867
    pascalc
    Participant
      • Topics: 7
      • Replies: 27
      • Total: 34

      Hi,

      I’m trying to compile Ctrlr on Windows.

      I have..
      * installed Visual Studio 2015
      * installed JUCE under C:\devel\JUCE
      * Compiled Projucer for Release
      * git cloned the Ctrlr repo to c:\devel\ctrlr
      * extracted the boost.zip into c:\devel\ctrlr\Boost\boost
      * Installed cygwin

      When I run the post_commit script in the Scripts folder I get the following errors:

      "C:\devel\ctrlr\Builds\Ctrlr_Release.sln" (Rebuild target) (1) ->
      "C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr_Plugin_VST.vcxproj" (Rebuild target) (3) ->
      (ClCompile target) ->
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_audio_basics.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrl
      r_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_audio_devices.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctr
      lr_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_audio_formats.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctr
      lr_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_audio_plugin_client_utils.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\
      VST_2015\Ctrlr_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_audio_plugin_client_VST2.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\V
      ST_2015\Ctrlr_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_core.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr_Plugin
      _VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_audio_utils.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr
      _Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_cryptography.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrl
      r_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_audio_processors.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\
      Ctrlr_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_events.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr_Plug
      in_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_gui_basics.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr_
      Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_opengl.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr_Plug
      in_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_gui_extra.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr_P
      lugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_data_structures.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\C
      trlr_Plugin_VST.vcxproj]
        c1xx : fatal error C1083: Cannot open source file: '..\..\..\VST\JuceLibraryCode\juce_graphics.cpp': No such file or directory [C:\devel\ctrlr\Builds\Generated\Windows\VST_2015\Ctrlr_Pl
      ugin_VST.vcxproj]
      
          268 Warning(s)
          15 Error(s)
      
      Time Elapsed 00:04:42.30
      CTRLR: Win32 build failed

      Looking into the c:\devel\ctrlr\Builds\VST\JuceLibraryCode\ directory these files are obviously not there. Are they supposed to be copied there during the build phase or have I missed something?

      Thanks

      #69869
      Peter_EP
      Participant
        • Topics: 5
        • Replies: 19
        • Total: 24

        I’m no expert but compile on Windows? I just got the exe of the latest build and ran that, it unpacked, installed and all was well. In my case Ctrlr-Win32.exe

        #69870
        goodweather
        Participant
          • Topics: 45
          • Replies: 550
          • Total: 595
          • ★★★

          Exactly. Just take the the .exe file for Windows in the Download section and use Ctrlr… Why recompiling?

          #69872
          pascalc
          Participant
            • Topics: 7
            • Replies: 27
            • Total: 34

            Hi,

            Thanks for your suggestions but I would actually like to modify the source code of the core parts of Ctrlr. Not only a panel. So I need to rebuild Ctrlr from the sources.

            BR
            /Pascal

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

              I’ll get back to you this weekend with a fix for the build, i’m getting back to coding Ctrlr again, and i will find a fix. If you can contribute your code on github that would be great any help/fixes/patches/features are welcome.

              #69879
              pascalc
              Participant
                • Topics: 7
                • Replies: 27
                • Total: 34

                Thanks Atom,

                If I manage to create anything valuable I will push it to my fork.

                BR
                /Pascal

                #69880
                Possemo
                Participant
                  • Topics: 14
                  • Replies: 638
                  • Total: 652
                  • ★★★

                  Btw, please fix the doubled message output in the plugin version. I will try to mess around in the code too but as I have no experience in C++ it probably won’t be worth publishing.

                  • This reply was modified 7 years, 7 months ago by Possemo.
                  #69883
                  atom
                  Keymaster
                    • Topics: 159
                    • Replies: 2945
                    • Total: 3104
                    • ★★★★★

                    all bugs on github, that are posted there will be taken into processing, so if you have something please post it there, i’ll be going through them one by one.

                    #69884
                    pascalc
                    Participant
                      • Topics: 7
                      • Replies: 27
                      • Total: 34

                      I’ve posted the build issue there now.

                      Thanks!
                      /Pascal

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • The forum ‘Windows’ is closed to new topics and replies.
                    There is currently 0 users and 71 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