Thank you ZioYuri78,
This is awesome and I’m trying to get it to work. I will tell you step by step what I’m doing and it keeps getting me to the same error.
- I created a new 4.14 project.
- I created a new C++ Class in the project.
- I closed the editor and VS2015
- I downloaded MusicPlayer414.rar and copied/merged the Content, Ogg, Plugins, and Skins folder into the existing project folder.
- I right clicked on myexistingproject.uproject and selected Generate Visual Studio Project Files.
Now, At this point when I open the project I have all the folders there but I get compiling errors for BP_MusicPlayer like the following:
**
“Could not find a function named “GetSoundWaveFromFile” in ‘BP_MusicPlayer’. Make sure ‘BP_MusicPlayer’ has been compiled for”
“Could not find a function named “GetFiles” in ‘BP_MusicPlayer’. Make sure ‘BP_MusicPlayer’ has been compiled for”
“Could not find a function named “ExplodeString” in ‘BP_MusicPlayer’. Make sure ‘BP_MusicPlayer’ has been compiled for”
“Could not find a function named “ExpoldeString” in ‘BP_MusicPlayer’. Make sure ‘BP_MusicPlayer’ has been compiled for”
“Could not find a function named “GetGameRootDirectory” in ‘BP_MusicPlayer’. Make sure ‘BP_MusicPlayer’ has been compiled for”**
The above screenshot is an example of this stage in the process. In your last response you said I may need to compile in visual basic again so this is what I did:
- I went to myproject folder and opened the myproject.sln Visual Basic file.
- In VisualBasic 2015, I pressed F5 to to compile and run the project.
- The Unreal Project opens in the editor and I’m back in the same position as before I compiled, with the same errors as the above screenshot.
- Pressing F5 isn’t the only way I’ve attempted to compile. I have also tried clicking “Build” and “Build ProjectName” and waiting for the build to complete successfully before closing Visual Basic and trying to reopen my Uproject. I always get the compile errors for BP_MusicPlayer.
My thoughts:
I’m not sure where I can find the missing functions. I assume it’s not as easy as just adding a new function with the for each of the missing ones listed above. I’m not sure of the blueprint logic that would need to go in them.
Thank you for patience. I love the functionality of the example project. I’m just trying to see how to implement it in an existing project.