re-cmake open source release

This forum is for developers of Rack Extensions to discuss the RE SDK, share code, and offer tips to other developers.
User avatar
pongasoft
RE Developer
Posts: 437
Joined: 21 Apr 2016
Location: Las Vegas

Post 02 Jan 2023

I released re-cmake 1.5.0 this morning with support for RE Edit. What it means is that you can simply type

./re.sh edit

and it will start RE Edit with your plugin so that you can edit it in a WYSIWYG editor (note that you must install RE Edit separately)

If you generate a new plugin with re-quickstart, the new command comes with it

Yan

User avatar
Murf
RE Developer
Posts: 154
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 29 Mar 2023

Hi Yan, I am having trouble getting re-cmake working.
I have downloaded the re-blank-plugin project, I am using Windows 10 and MS VS 2022.
When I run
python configure.py -p "C:\Users\murf\Projects\Reason\SDK"

I get:
-- Fetching re-cmake from https://github.com/pongasoft/re-cmake/a ... v1.5.0.zip
CMake Error: Error: generator : Visual Studio 17 2022
Does not match the generator used previously: Visual Studio 16 2019
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

If I remove CMakeCache.txt i get this:
CMake Error: The source directory "C:/Users/murf/Projects/Reason/MyReasonDev/ReasonProjects/MISC/re-blank-plugin" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Seems to be a bit of a catch 22 situation!

Any suggestions welcome.

thanks,
Murf.

User avatar
Murf
RE Developer
Posts: 154
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 30 Mar 2023

Murf wrote:
29 Mar 2023
Hi Yan, I am having trouble getting re-cmake working.
I have downloaded the re-blank-plugin project, I am using Windows 10 and MS VS 2022.
When I run
python configure.py -p "C:\Users\murf\Projects\Reason\SDK"

I get:
-- Fetching re-cmake from https://github.com/pongasoft/re-cmake/a ... v1.5.0.zip
CMake Error: Error: generator : Visual Studio 17 2022
Does not match the generator used previously: Visual Studio 16 2019
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

If I remove CMakeCache.txt i get this:
CMake Error: The source directory "C:/Users/murf/Projects/Reason/MyReasonDev/ReasonProjects/MISC/re-blank-plugin" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Seems to be a bit of a catch 22 situation!

Any suggestions welcome.

thanks,
Murf.
Solved! I just deleted the "build" folder.
Murf

User avatar
pongasoft
RE Developer
Posts: 437
Joined: 21 Apr 2016
Location: Las Vegas

Post 30 Mar 2023

Murf wrote:
30 Mar 2023
Murf wrote:
29 Mar 2023
Hi Yan, I am having trouble getting re-cmake working.
I have downloaded the re-blank-plugin project, I am using Windows 10 and MS VS 2022.
When I run
python configure.py -p "C:\Users\murf\Projects\Reason\SDK"

I get:
-- Fetching re-cmake from https://github.com/pongasoft/re-cmake/a ... v1.5.0.zip
CMake Error: Error: generator : Visual Studio 17 2022
Does not match the generator used previously: Visual Studio 16 2019
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

If I remove CMakeCache.txt i get this:
CMake Error: The source directory "C:/Users/murf/Projects/Reason/MyReasonDev/ReasonProjects/MISC/re-blank-plugin" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Seems to be a bit of a catch 22 situation!

Any suggestions welcome.

thanks,
Murf.
Solved! I just deleted the "build" folder.
Murf
Yes. With CMake, it is always safer to delete the build folder or run configure.py with the -f option which deletes the build folder...

User avatar
Murf
RE Developer
Posts: 154
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 30 Mar 2023

pongasoft wrote:
30 Mar 2023
Murf wrote:
30 Mar 2023


Solved! I just deleted the "build" folder.
Murf
Yes. With CMake, it is always safer to delete the build folder or run configure.py with the -f option which deletes the build folder...
Thanks Yan.

What version of Visual Studio do you use? (or are you a Mac person?)

I could not get re-cmake working with 2019, as the cmake was too old. (3.20)
I upgraded to 2022 and then nothing worked, including my normal build environment!

I am back down at 2019 now, and was wondering about the best way to bump up cmake to the minimum required (3.24?) ?

Murf.

User avatar
Murf
RE Developer
Posts: 154
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 30 Mar 2023

Hmm now it is working with cmake v3.20 so all good!!!
Thanks again Yan for an awesome tool!
Murf.

User avatar
pongasoft
RE Developer
Posts: 437
Joined: 21 Apr 2016
Location: Las Vegas

Post Yesterday

Yes I am a mac person but I do test it on Windows as well: I have tested it with Visual Studio Code (not Visual Studio) or directly the command line, but of course with the Visual Studio build tools 2019. I also install CMake separately (from the https://cmake.org/download/ page).

I don't see why Visual Studio build tools 2022 would not work, but I can give it a try...

User avatar
visheshl
Posts: 1125
Joined: 27 Sep 2019

Post Yesterday

Looks like an amazing tool, I'm inclined to try it, but I'm not that good with programming, especially dsp stuff... I'd rather leave it to the pros, I'll give ut a try sometime though

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests