discord/discord-rpc

Compileing issue with discord-rpc "Type not found"

Honeydews opened this issue · 6 comments

Im building a game by grabbing the source code and building it with "lime test windows" in a command prompt the game's directory. when I try this it greets me with the error:

source/Discord.hx:4: characters 8-30 : Type not found : discord_rpc.DiscordRpc
source/Discord.hx:13: characters 3-13 : Type not found : DiscordRpc
source/Discord.hx:23: characters 4-14 : Type not found : DiscordRpc
source/Discord.hx:28: characters 3-13 : Type not found : DiscordRpc
source/Discord.hx:33: characters 3-13 : Type not found : DiscordRpc
source/Discord.hx:38: characters 3-13 : Type not found : DiscordRpc
source/Discord.hx:74: characters 3-13 : Type not found : DiscordRpc

I have discordRpc downloaded
fyi, in source/discord.hx the line and characters, ex: Discord.hx:4: characters 8-30 (line 4 characters 8-30) say discord_rpc.Discord

sorry if this is scattered and stuff, ive been trying to solve this bug for hours and im not sure what is the problem because I have discord rpc download but it cant find it.

me to

please fixing

Hi, I fixed the problem by installing discord-rpc.py which is the import influence the script causing problems is missing.
just write the following into a command prompt:

pip install discord-rpc.py

Hi, I fixed the problem by installing discord-rpc.py which is the import influence the script causing problems is missing.
just write the following into a command prompt:

pip install discord-rpc.py

pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • pip install discord-rpc.py
  •   + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    
    

do i have to download pip, if so where can i download it?

dude really abandoned us

I found out I already have pip but I researched it and found this site on installation. https://pip.pypa.io/en/stable/installing/
It states "pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org or if you are working in a Virtual Environment created by virtualenv or venv. Just make sure to upgrade pip." go check out the site because there is some more info on testing whether pip is installed. Edit: I tried but this still does not fix the problem