x86 build fails while x64 succeeds | Compiler Errors & Warnings | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
x86 build fails while x64 succeeds
Avatar
New Member
Members
October 21, 2022 - 5:28 am
Member Since: October 20, 2022
Forum Posts: 2
sp_UserOfflineSmall Offline

Hello,

I am using RackAFX v7.0.3.5 and Visual Studio 2019 Community 16.11.20. I was following the tutorial videos with the helloVolume project and getting the following compile error when leaving everything as it is, in particular the build configuration:

Build started...
1>------ Build started: Project: HelloVolume, Configuration: Debug Win32 ------
1>cl : command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
1>Rafx2PluginBase.cpp
1>Rafx2Plugin.cpp
1>RackAFXDLL.cpp
1>fxobjects.cpp
1>pluginparameter.cpp
1>plugingui.cpp
1>plugincore.cpp
1>pluginbase.cpp
1>customviews.cpp
1>customcontrols.cpp
1>vstgui_win32.cpp
1>C:\Users\ABG\AppData\Roaming\RackAFX 7.0\RackAFXProjects\vstgui4\vstgui\lib\cview.cpp(1010,24): warning C4996: 'VSTGUI::Animation::Animator::addAnimation': was declared deprecated
1>vstgui_uidescription_win32.cpp
1>Generating Code...
1> Creating library C:\Users\ABG\AppData\Roaming\RackAFX 7.0\RackAFXProjects\HelloVolume\RAFX2 WinBuild\\build\HelloVolume.lib and object C:\Users\ABG\AppData\Roaming\RackAFX 7.0\RackAFXProjects\HelloVolume\RAFX2 WinBuild\\build\HelloVolume.exp
1>HelloVolume.vcxproj -> C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\Contents\winOS\HelloVolume.rafx2
1>Generate Bundle
1>Ist das Ziel C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\desktop.ini ein Dateiname
1>oder ein Verzeichnisname
1>(D = Datei, V = Verzeichnis)? f
1>Ist das Ziel C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\desktop.ini ein Dateiname
1>oder ein Verzeichnisname
1>(D = Datei, V = Verzeichnis)?
1>Ist das Ziel C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\desktop.ini ein Dateiname
1>oder ein Verzeichnisname
1>(D = Datei, V = Verzeichnis)?
1>
1>Ist das Ziel C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\desktop.ini ein Dateiname
1>oder ein Verzeichnisname
1>(D = Datei, V = Verzeichnis)?
1>
1>Ist das Ziel C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\desktop.ini ein Dateiname
1>oder ein Verzeichnisname
1>(D = Datei, V = Verzeichnis)?
1>
1>Ist das Ziel C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\desktop.ini ein Dateiname
1>oder ein Verzeichnisname
1>(D = Datei, V = Verzeichnis)?
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if not exist "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/desktop.ini" echo f | xcopy /f /y /h "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/RackAFXProjects/HelloVolume/RAFX2 WinBuild/desktop.ini" "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/desktop.ini"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if not exist "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/rafx16.ico" echo f | xcopy /f /y /h "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/RackAFXProjects/HelloVolume/RAFX2 WinBuild/rafx16.ico" "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/rafx16.ico"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if not exist "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/Contents/Resources" mkdir "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/Contents/Resources"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: echo f | xcopy /f /y /h "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/RackAFXProjects/HelloVolume/Resources/PluginGUI.uidesc" "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/Contents/Resources/PluginGUI.uidesc"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: attrib +s "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/desktop.ini"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: attrib +s "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2/rafx16.ico"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: attrib +s "C:/Users/ABG/AppData/Roaming/RackAFX 7.0/PlugIns/HelloVolume.rafx2"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :VCEnd" exited with code 2.
1>Done building project "HelloVolume.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Above, the part with

1>Ist das Ziel C:\Users\ABG\AppData\Roaming\RackAFX 7.0\PlugIns\HelloVolume.rafx2\desktop.ini ein Dateiname
1>oder ein Verzeichnisname
1>(D = Datei, V = Verzeichnis)?

asks if it is a file or folder.

 

However, if I setup a x64 build configuration manually, then the build succeeds. I've searched the forum but found only similöar issues when building for VST. This happens with the native .rackfx2 format. Would appreciate any help!

 

Best Regards

John

Avatar
New Member
Members
October 21, 2022 - 7:28 am
Member Since: October 20, 2022
Forum Posts: 2
sp_UserOfflineSmall Offline

Fixed the issue. I actually installed on purpose the english version of Visual Studio to exactly avoid such errors with scripts and still happened. Although the language of the IDE is english, it still awaited a response in german (maybe because OS is in german?) when running the post-build script. Modifying the pst-build script with the appropriate echo message fixed the issue.

Forum Timezone: America/New_York

Most Users Ever Online: 294

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 2

Members: 795

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 862

Posts: 3400

Moderators: W Pirkle: 706