psmoveservice / psmove-ue4

Plugin for using PSMove as input into Unreal Engine 4. Currently obsolete. Please use PSMoveService.
GNU General Public License v2.0
59 stars 28 forks source link

Error Generating Project Files #4

Closed labmice00 closed 9 years ago

labmice00 commented 9 years ago

Hello, when I tried to generate project files, I received this error:

"ERROR: Module "PSMove" linked into both C:\Users\Oculus\Documents\Unreal Projects\PSMOVE\Plugins\PSMovePlugin\Binaries\Win64\UE4Editor-PSMove.dll and ..\Binaries\Win64\UE4Editor-PSMove.dll, which creates ambiguous linkage for dependents."

I am sure I followed all of the steps you put in the tutorial, so I am at a loss as to what I need to do to generate the project files. I am using Unreal Engine 4.7.6.

cboulay commented 9 years ago

Those dlls shouldn't exist until you've built the project at least once. And you shouldn't have two references to them. If those dlls already exist, try deleting them then generate the project files again. If that still fails, then please try to make a new blank C++ project and try again, and if that still fails then please provide a directory listing of the blank project.

labmice00 commented 9 years ago

The steps I tried didn't work, I'm still getting the same error. This is the directory of the project. directory1 Currently, the binaries folder has nothing in it. I downloaded the zip package of the plugin and put it in a folder called "PSMovePlugin" in the plugins folder.

cboulay commented 9 years ago

I need the recursive directory listing.

  1. Open a command prompt.
  2. Change to the folder: cd 'C:\Users\<username>\Documents\Unreal Projects\PSMove\Plugins'
  3. Copy the directory listing to a file: for /r %i in (*) do @echo %~ni >> list_file.txt
labmice00 commented 9 years ago

list_file.txt ECHO is on. LICENSE PSMovePlugin RandomNotes README example libpsmoveapi.3.1.0 libpsmoveapi.3 libpsmoveapi libpsmoveapi_tracker 2 libpsmoveapi_tracker.3 2 libpsmoveapi_tracker.3.1.0 libpsmoveapi_tracker.3 libpsmoveapi_tracker magnetometer_calibration ps3eye_sdl psmovepair test_calibration test_tracker tracker_camera_calibration magnetometer_calibration pattern ps3eye_sdl psmove-pair-win psmoveapi psmoveapi_tracker psmovepair SDL2 test_calibration test_tracker tracker_camera_calibration README Icon128 PSMove.Build PSMoveComponent FPSMove FPSMoveWorker PSMoveComponent PSMovePrivatePCH FPSMove FPSMoveWorker PSMoveTypes COPYING psmove psmove_config psmove_tracker psmoveapi psmoveapi_tracker AfterPlugin2_DM AfterPlugin2_Zadig AfterPlugin_DM AfterPlugin_Zadig AfterZadig2_DM Before_DM bp DevicesAndPrinters DM_Driver DM_DriverDetails MoveTracker MoveTracker Yaw_PSMove_HMD Yaw_PSMove_HMD

cboulay commented 9 years ago

I'm sorry, that was my fault. I don't have Windows at home so I didn't test the command. I need to know the full path for each file. Try dir /s /b /a:d>output.txt

labmice00 commented 9 years ago

C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Binaries C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Content C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Resources C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Source C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\ThirdParty C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\wiki_pics C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Binaries\Mac C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Binaries\Win64 C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Source\PSMove C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Source\PSMove\Classes C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Source\PSMove\Private C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\Source\PSMove\Public C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\ThirdParty\psmoveapi C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\ThirdParty\psmoveapi\include C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\ThirdParty\psmoveapi\lib C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin\ThirdParty\psmoveapi\lib\win64

cboulay commented 9 years ago

Getting closer. That has the right structure but it's only directory names, no files. Do you mind searching on your own for the correct commands? I can't really do it without Windows at home. Search for "windows recursive file listing output to text file". Try the different commands you find and post the results that have the full file path for all files.

labmice00 commented 9 years ago

I believe this is what you're looking for:

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Oculus>cd C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMo vePlugin

C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin>dir /s Volume in drive C has no label. Volume Serial Number is 942D-2B98

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 281 .gitignore 06/26/2015 06:32 PM Binaries 06/26/2015 06:32 PM Content 06/26/2015 04:38 PM 18,027 LICENSE 06/26/2015 04:38 PM 410 PSMovePlugin.uplugin 06/26/2015 04:38 PM 6,109 RandomNotes.txt 06/26/2015 04:38 PM 2,543 README.md 06/26/2015 06:32 PM Resources 06/26/2015 06:32 PM Source 06/26/2015 06:32 PM ThirdParty 06/26/2015 06:32 PM wiki_pics 5 File(s) 27,370 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Binaries

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 06:32 PM Mac 06/26/2015 06:32 PM Win64 0 File(s) 0 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Binaries\Mac

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 18,708 example 06/26/2015 04:38 PM 73,500 libpsmoveapi.3.1.0.dylib 06/26/2015 04:38 PM 24 libpsmoveapi.3.dylib 06/26/2015 04:38 PM 20 libpsmoveapi.dylib 06/26/2015 04:38 PM 28 libpsmoveapi_tracker 2.dylib 06/26/2015 04:38 PM 32 libpsmoveapi_tracker.3 2.dylib 06/26/2015 04:38 PM 3,820,716 libpsmoveapi_tracker.3.1.0.dylib 06/26/2015 04:38 PM 32 libpsmoveapi_tracker.3.dylib 06/26/2015 04:38 PM 28 libpsmoveapi_tracker.dylib 06/26/2015 04:38 PM 73,696 magnetometer_calibration 06/26/2015 04:38 PM 39,184 ps3eye_sdl 06/26/2015 04:38 PM 73,692 psmovepair 06/26/2015 04:38 PM 18,108 test_calibration 06/26/2015 04:38 PM 70,732 test_tracker 06/26/2015 04:38 PM 1,892,064 tracker_camera_calibration 15 File(s) 6,080,564 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Binaries\Win64

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 36,864 magnetometer_calibration.exe 06/26/2015 04:38 PM 22,255 pattern.png 06/26/2015 04:38 PM 1,726,216 ps3eye_sdl.exe 06/26/2015 04:38 PM 19,968 psmove-pair-win.exe 06/26/2015 04:38 PM 54,272 psmoveapi.dll 06/26/2015 04:38 PM 2,207,232 psmoveapi_tracker.dll 06/26/2015 04:38 PM 33,280 psmovepair.exe 06/26/2015 04:38 PM 1,187,840 SDL2.dll 06/26/2015 04:38 PM 8,192 test_calibration.exe 06/26/2015 04:38 PM 939,008 test_tracker.exe 06/26/2015 04:38 PM 3,232,768 tracker_camera_calibration.exe 11 File(s) 9,467,895 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Content

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 52 README.md 1 File(s) 52 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Resources

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 12,739 Icon128.png 1 File(s) 12,739 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Source

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 06:32 PM PSMove 0 File(s) 0 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Source\PSMove

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 06:32 PM Classes 06/26/2015 06:32 PM Private 06/26/2015 04:38 PM 3,927 PSMove.Build.cs 06/26/2015 06:32 PM Public 1 File(s) 3,927 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Source\PSMove\Classes

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 2,184 PSMoveComponent.h 1 File(s) 2,184 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Source\PSMove\Private

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 1,602 FPSMove.cpp 06/26/2015 04:38 PM 8,333 FPSMoveWorker.cpp 06/26/2015 04:38 PM 1,778 PSMoveComponent.cpp 06/26/2015 04:38 PM 529 PSMovePrivatePCH.h 4 File(s) 12,242 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\Source\PSMove\Public

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 1,722 FPSMove.h 06/26/2015 04:38 PM 1,508 FPSMoveWorker.h 06/26/2015 04:38 PM 5,571 PSMoveTypes.h 3 File(s) 8,801 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\ThirdParty

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 06:32 PM psmoveapi 0 File(s) 0 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\ThirdParty\psmoveapi

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 1,559 COPYING 06/26/2015 06:32 PM include 06/26/2015 06:32 PM lib 1 File(s) 1,559 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\ThirdParty\psmoveapi\include

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 42,649 psmove.h 06/26/2015 04:38 PM 1,724 psmove_config.h 06/26/2015 04:38 PM 20,712 psmove_tracker.h 3 File(s) 65,085 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\ThirdParty\psmoveapi\lib

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 06:32 PM win64 0 File(s) 0 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\ThirdParty\psmoveapi\lib\win64

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 24,244 psmoveapi.lib 06/26/2015 04:38 PM 11,092 psmoveapi_tracker.lib 2 File(s) 35,336 bytes

Directory of C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlu gin\wiki_pics

06/26/2015 06:32 PM

. 06/26/2015 06:32 PM .. 06/26/2015 04:38 PM 71,219 AfterPlugin2_DM.PNG 06/26/2015 04:38 PM 18,616 AfterPlugin2_Zadig.PNG 06/26/2015 04:38 PM 94,737 AfterPlugin_DM.PNG 06/26/2015 04:38 PM 18,126 AfterPlugin_Zadig.PNG 06/26/2015 04:38 PM 61,105 AfterZadig2_DM.PNG 06/26/2015 04:38 PM 98,180 Before_DM.PNG 06/26/2015 04:38 PM 164,749 bp.png 06/26/2015 04:38 PM 126,286 DevicesAndPrinters.PNG 06/26/2015 04:38 PM 19,038 DM_Driver.PNG 06/26/2015 04:38 PM 13,218 DM_DriverDetails.PNG 06/26/2015 04:38 PM 151,234 MoveTracker.png 06/26/2015 04:38 PM 291,287 MoveTracker.svg 06/26/2015 04:38 PM 11,800 Yaw_PSMove_HMD.png 06/26/2015 04:38 PM 17,663 Yaw_PSMove_HMD.svg 14 File(s) 1,157,258 bytes

 Total Files Listed:
          62 File(s)     16,875,012 bytes
          50 Dir(s)  23,933,333,504 bytes free

C:\Users\Oculus\Documents\Unreal Projects\PSMove\Plugins\PSMovePlugin>

cboulay commented 9 years ago

I can't guess what the problem is. I haven't made a project from scratch in a long time. On Monday I'll try that, from the zip, and see if I run into any trouble.

cboulay commented 9 years ago

I just tested the instructions on my Windows 8.1 x64 machine using UE4.8.1 and I didn't have any trouble. There were a couple steps that were not spelled out very well so I've updated the Wiki. Please give it another attempt then let me know if you still have trouble.

labmice00 commented 9 years ago

I used the updated instructions, but I'm getting the same error. Oddly enough, other plugins (such as the Razer Hydra plugin) work fine when I generate the Visual Studio Files. Only this particular plugin has errors when I attempt to build the project.

cboulay commented 9 years ago

Are you using Windows 8.1? Did you try with UE 4.8.1?

labmice00 commented 9 years ago

I'm using Windows 7 and UE 4.8.1

cboulay commented 9 years ago

I'm sorry I didn't notice this before. You can't give your project the same name as the module. Don't name the project PSMove because that's the name of the module within the PSMovePlugin. Name it anything else and this should work.

labmice00 commented 9 years ago

I renamed my project to a different name and it finally worked! Thanks for all of the help!