Darnoman / Godot-GlobalInput-Addon

MIT License
13 stars 3 forks source link

Failed To Build Project #7

Closed Ryixu closed 3 weeks ago

Ryixu commented 3 weeks ago

It fails to build the project. i tried it in 4.3 and downgraded and tried 4.2.

edit: also yes im making a Guitar hero input viewer just for fun

i get:

CS0246: The type or namespace name 'SharpHook' could not be found (are you missing a using directive or an assembly reference?) C:\Users\retro\Documents\Game Development\Godot\Projects\gh-input-viewer-\addons\global_input\autoload\global_input_csharp\GlobalInputCSharp.cs(4,7)

CS0246: The type or namespace name 'KeyboardHookEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Users\retro\Documents\Game Development\Godot\Projects\gh-input-viewer-\addons\global_input\autoload\global_input_csharp\GlobalInputCSharp.cs(214,50)

CS0246: The type or namespace name 'KeyboardHookEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Users\retro\Documents\Game Development\Godot\Projects\gh-input-viewer-\addons\global_input\autoload\global_input_csharp\GlobalInputCSharp.cs(223,51)

CS0246: The type or namespace name 'MouseHookEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Users\retro\Documents\Game Development\Godot\Projects\gh-input-viewer-\addons\global_input\autoload\global_input_csharp\GlobalInputCSharp.cs(232,58)

CS0246: The type or namespace name 'MouseHookEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Users\retro\Documents\Game Development\Godot\Projects\gh-input-viewer-\addons\global_input\autoload\global_input_csharp\GlobalInputCSharp.cs(241,59)

CS0246: The type or namespace name 'MouseWheelHookEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Users\retro\Documents\Game Development\Godot\Projects\gh-input-viewer-\addons\global_input\autoload\global_input_csharp\GlobalInputCSharp.cs(250,50)

CS0246: The type or namespace name 'TaskPoolGlobalHook' could not be found (are you missing a using directive or an assembly reference?) C:\Users\retro\Documents\Game Development\Godot\Projects\gh-input-viewer-\addons\global_input\autoload\global_input_csharp\GlobalInputCSharp.cs(10,5)

Darnoman commented 3 weeks ago

did you get the Sharphook nuget package? do so with "dotnet add package SharpHook" in a command line within your project.

Darnoman commented 3 weeks ago

Idk who that was... but never download anything a random person tell you to unless you know what it is.

Ryixu commented 3 weeks ago

im aware lol that was the most obv scam ive ever seen

Ryixu commented 3 weeks ago

also by command line do you just mean like in a script?

Darnoman commented 3 weeks ago

like a terminal either through vscode (if you have that) or through window cmd.

Ryixu commented 3 weeks ago

what is up with these bots

Darnoman commented 3 weeks ago

i have no idea first time i've seen them (maybe because im bringing up terminal and cmd lines)

but anyways like this within your project directory. Cause it needs sharphook to run. image

Darnoman commented 3 weeks ago

either that or use the old branch which only works on Windows but a drag and drop solution without needing sharp hook.

Ryixu commented 3 weeks ago

it worked, ty