Skip to content

Access Denied VS #1005

Description

@EcologicBee4677

Please confirm the following points:

  • This report is NOT about the Android apps in the Play Store
  • I have searched the project page to check if the issue was already reported

Affected Project

libprojectM (including the playlist library)

Affected Version

4.1.6

Operating Systems and Architectures

Windows (x64)

Build Tools

Build Tool: CMake

Additional Project, OS and Toolset Details

No response

Type of Defect

Other

Log Output

Snip off the end of build output in Visual Studio 18

9>  Factory.cpp
9>  MilkdropPreset.vcxproj -> G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\ProjectM\src\libprojectM\MilkdropPreset\MilkdropPreset.dir\Debug\MilkdropPreset.lib
10>------ Build started: Project: projectM_main, Configuration: Debug x64 ------
10>  Building Custom Rule G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/src/libprojectM/CMakeLists.txt
10>  PresetFactory.cpp
10>  PresetFactoryManager.cpp
10>  ProjectMCWrapper.cpp
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(202,30): warning C4251: 'libprojectM::ProjectM::m_textureSearchPaths': 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\vector(459,7):
10>      see declaration of 'std::vector<std::string,std::allocator<std::string>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(210,43): warning C4251: 'libprojectM::ProjectM::m_presetFactoryManager': 'std::unique_ptr<libprojectM::PresetFactoryManager,std::default_delete<libprojectM::PresetFactoryManager>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::PresetFactoryManager,std::default_delete<libprojectM::PresetFactoryManager>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(212,16): warning C4251: 'libprojectM::ProjectM::m_audioStorage': 'libprojectM::Audio::PCM' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\Audio\PCM.hpp(26,7):
10>      see declaration of 'libprojectM::Audio::PCM'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(213,47): warning C4251: 'libprojectM::ProjectM::m_textureManager': 'std::unique_ptr<libprojectM::Renderer::TextureManager,std::default_delete<libprojectM::Renderer::TextureManager>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::Renderer::TextureManager,std::default_delete<libprojectM::Renderer::TextureManager>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(214,56): warning C4251: 'libprojectM::ProjectM::m_transitionShaderManager': 'std::unique_ptr<libprojectM::Renderer::TransitionShaderManager,std::default_delete<libprojectM::Renderer::TransitionShaderManager>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::Renderer::TransitionShaderManager,std::default_delete<libprojectM::Renderer::TransitionShaderManager>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(215,44): warning C4251: 'libprojectM::ProjectM::m_textureCopier': 'std::unique_ptr<libprojectM::Renderer::CopyTexture,std::default_delete<libprojectM::Renderer::CopyTexture>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::Renderer::CopyTexture,std::default_delete<libprojectM::Renderer::CopyTexture>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(216,29): warning C4251: 'libprojectM::ProjectM::m_activePreset': 'std::unique_ptr<libprojectM::Preset,std::default_delete<libprojectM::Preset>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::Preset,std::default_delete<libprojectM::Preset>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(217,29): warning C4251: 'libprojectM::ProjectM::m_transitioningPreset': 'std::unique_ptr<libprojectM::Preset,std::default_delete<libprojectM::Preset>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::Preset,std::default_delete<libprojectM::Preset>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(218,49): warning C4251: 'libprojectM::ProjectM::m_transition': 'std::unique_ptr<libprojectM::Renderer::PresetTransition,std::default_delete<libprojectM::Renderer::PresetTransition>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::Renderer::PresetTransition,std::default_delete<libprojectM::Renderer::PresetTransition>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.hpp(219,33): warning C4251: 'libprojectM::ProjectM::m_timeKeeper': 'std::unique_ptr<libprojectM::TimeKeeper,std::default_delete<libprojectM::TimeKeeper>>' needs to have dll-interface to be used by clients of 'libprojectM::ProjectM'
10>  (compiling source file '../../../src/libprojectM/ProjectMCWrapper.cpp')
10>      G:\Program Files\Microsoft Visual Studio\18\Professional\VC\Tools\MSVC\14.51.36231\include\memory(3376,7):
10>      see declaration of 'std::unique_ptr<libprojectM::TimeKeeper,std::default_delete<libprojectM::TimeKeeper>>'
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectMCWrapper.cpp(156,5): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectMCWrapper.cpp(164,5): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
10>  TimeKeeper.cpp
10>  Utils.cpp
10>  Generating Code...
10>  ProjectM.cpp
10>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\libprojectM\ProjectM.cpp(206,15): warning C4244: 'argument': conversion from 'time_t' to 'unsigned int', possible loss of data
10>  projectM_main.vcxproj -> G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\ProjectM\src\libprojectM\projectM_main.dir\Debug\projectM_main.lib
11>------ Build started: Project: projectM, Configuration: Debug x64 ------
11>  Building Custom Rule G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/src/libprojectM/CMakeLists.txt
11>  dummy.cpp
11>     Creating library G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/ProjectM/src/libprojectM/Debug/projectM-4d.lib and object G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/ProjectM/src/libprojectM/Debug/projectM-4d.exp
11>LINK : warning LNK4217: symbol '??0FrameAudioData@Audio@libprojectM@@QEAA@XZ (public: __cdecl libprojectM::Audio::FrameAudioData::FrameAudioData(void))' defined in 'PresetFactory.obj' is imported by 'PresetState.obj' in function '"public: __cdecl libprojectM::MilkdropPreset::PresetState::PresetState(void)" (??0PresetState@MilkdropPreset@libprojectM@@QEAA@XZ)'
11>  projectM.vcxproj -> G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\ProjectM\src\libprojectM\Debug\projectM-4d.dll
12>------ Build started: Project: projectM_playlist, Configuration: Debug x64 ------
12>  Building Custom Rule G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/src/playlist/CMakeLists.txt
12>  dummy.cpp
12>     Creating library G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/ProjectM/src/playlist/Debug/projectM-4-playlistd.lib and object G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/ProjectM/src/playlist/Debug/projectM-4-playlistd.exp
12>  projectM_playlist.vcxproj -> G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\ProjectM\src\playlist\Debug\projectM-4-playlistd.dll
13>------ Build started: Project: projectM-Test-UI, Configuration: Debug x64 ------
13>  Building Custom Rule G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/src/sdl-test-ui/CMakeLists.txt
13>  ConfigFile.cpp
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\ConfigFile.h(163,15): warning C4244: '=': conversion from 'int' to 'char', possible loss of data
13>  (compiling source file '../../../src/sdl-test-ui/ConfigFile.cpp')
13>  audioCapture.cpp
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.hpp(96,17): warning C4081: expected '('; found 'string'
13>  (compiling source file '../../../src/sdl-test-ui/audioCapture.cpp')
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\audioCapture.cpp(15,30): warning C4244: '=': conversion from 'int' to 'Uint16', possible loss of data
13>  loopback.cpp
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.hpp(96,17): warning C4081: expected '('; found 'string'
13>  (compiling source file '../../../src/sdl-test-ui/loopback.cpp')
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\loopback.cpp(117,28): warning C4305: 'return': truncation from 'HRESULT' to 'bool'
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\loopback.cpp(124,24): warning C4305: 'return': truncation from 'HRESULT' to 'bool'
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\loopback.cpp(163,10): warning C4189: 'bDone': local variable is initialized but not referenced
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\loopback.cpp(207,18): warning C4189: 'lBytesToWrite': local variable is initialized but not referenced
13>  pmSDL.cpp
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.hpp(96,17): warning C4081: expected '('; found 'string'
13>  (compiling source file '../../../src/sdl-test-ui/pmSDL.cpp')
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(282,39): warning C4244: '=': conversion from 'float' to 'int16_t', possible loss of data
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(283,43): warning C4244: '=': conversion from 'float' to 'int16_t', possible loss of data
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(287,39): warning C4244: '=': conversion from 'float' to 'int16_t', possible loss of data
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(288,43): warning C4244: '=': conversion from 'float' to 'int16_t', possible loss of data
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(413,61): warning C4100: 'touchtype': unreferenced parameter
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(413,47): warning C4100: 'pressure': unreferenced parameter
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(413,40): warning C4100: 'y': unreferenced parameter
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(413,31): warning C4100: 'x': unreferenced parameter
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(448,55): warning C4100: '_renderToTexture': unreferenced parameter
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.cpp(471,44): warning C4100: 'isHardCut': unreferenced parameter
13>  projectM_SDL_main.cpp
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.hpp(96,17): warning C4081: expected '('; found 'string'
13>  (compiling source file '../../../src/sdl-test-ui/projectM_SDL_main.cpp')
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\projectM_SDL_main.cpp(45,13): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\projectM_SDL_main.cpp(74,26): warning C4100: 'argv': unreferenced parameter
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\projectM_SDL_main.cpp(74,14): warning C4100: 'argc': unreferenced parameter
13>  setup.cpp
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\pmSDL.hpp(96,17): warning C4081: expected '('; found 'string'
13>  (compiling source file '../../../src/sdl-test-ui/setup.cpp')
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\ConfigFile.h(163,15): warning C4244: '=': conversion from 'int' to 'char', possible loss of data
13>  (compiling source file '../../../src/sdl-test-ui/setup.cpp')
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\setup.cpp(38,10): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\setup.cpp(109,39): warning C4100: 'win': unreferenced parameter
13>G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\src\sdl-test-ui\setup.cpp(178,9): warning C4189: 'err': local variable is initialized but not referenced
13>  Generating Code...
13>  projectM-Test-UI.vcxproj -> G:\Downloads\Compressed\libprojectM-4.1.6\libprojectM-4.1.6\ProjectM\src\sdl-test-ui\Debug\projectM-Test-UI.exe
14>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------
14>  Building Custom Rule G:/Downloads/Compressed/libprojectM-4.1.6/libprojectM-4.1.6/CMakeLists.txt
========== Build: 14 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 3:37 PM and took 35.408 seconds ==========

Describe the Issue

Everytime i try to run the project in VS it gives me an error prompt

\ProjectM\x64\Debug\ALL_Build

Access denied

I've tried different configuration and it just does the same thing 🤷‍♂️

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions