#Mac Install Terminal Error

1 messages · Page 1 of 1 (latest)

remote olive
#

I'm in the process of installing everything to my Mac, but ran into an error on the final step where I compile the program here - https://github.com/PokemonAutomation/ComputerControl/blob/master/Wiki/SetupGuide/CompilingForMac.md#compile-program

I run the cmake --build . -j 10 command, but I get the error in the attached text file.

Any suggestions to resolve it would be appreciated. Thanks!

GitHub

Computer-Control Programs for Pokémon Automation . Contribute to PokemonAutomation/ComputerControl development by creating an account on GitHub.

molten obsidian
#

the version you are using (0.40) is too old...

remote olive
#

Yeah, I have just now noticed there were more versions to scroll to that I missed the first time.

I was just coming to delete this 😂

Thanks any way, Saber.

#

Not sure why the list didn't scroll the first time.

#

Okay, looks like I spoke too soon. It's getting further through, but now errors out at this point:

#

T4A33HC5BY/qrc_darkstyle.cpp.o
Copying OS X content SerialPrograms.app/Contents/Resources/icon.icns
[100%] Linking CXX executable SerialPrograms.app/Contents/MacOS/SerialPrograms
Error copying directory from "/Users/rhinne/Pictures/Arduino-Source-0.53/SerialPrograms/../../Packages/SerialPrograms/Resources" to "/Users/rhinne/Pictures/Arduino-Source-0.53/build_mac/SerialPrograms.app/Contents/MacOS/../Resources".
make[2]: *** [SerialPrograms.app/Contents/MacOS/SerialPrograms] Error 1
make[2]: *** Deleting file `SerialPrograms.app/Contents/MacOS/SerialPrograms'
make[1]: *** [CMakeFiles/SerialPrograms.dir/all] Error 2
make: *** [all] Error 2

molten obsidian
remote olive
#

I have that folder in there already.

molten obsidian
#

where did you put it in?

remote olive
#

Inside the Arduino-Source folder

molten obsidian
#
Arduino-Source/ Packages/
remote olive
#

The one it gave me from the site is named 'Packages-master'

molten obsidian
#

should be in the same dir where Arduino-Source is in

remote olive
#

So the directly, not inside the Arduino folder itself?

molten obsidian
#

you just need to put the Packages there

remote olive
#

Ah, so the folder name is wrong? It downloaded as Packages-master

molten obsidian
#

ya should be corrected to Packages

#

github may rename it to reflect the git branch name

remote olive
#

Okay, one sec will try that again.

#

I don't know where this is going wrong, or I've made a mistake, but it's still giving me similar errors.

Is this the correct folder structure?

#

The packages folder there is the one that I downloaded which was named 'Packages-master', so I renamed it to Packages as mentioned above.

#

Okay, this time it seems to have actually worked, despite not doing anything different than last time.