Closed Special-Niewbie closed 3 years ago
Try using docker run -it --rm -v "%cd%":/project moonlightbuilder make
instead.
Try using
docker run -it --rm -v "%cd%":/project moonlightbuilder make
instead.
Morning,
good news, really thanks Gary, with this command now the build process will work. I hope it's usefull for others this topic.
But it's not finished yet the error.....
There is an error on AppVersionQuad
, it goes to create the .elf
file and then it will retrieve the process because it gives the following error:
linking ... moonlight.elf
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Platform.o: in function `platform_check':
/project/src/platform.c:112: multiple definition of `platform_check'; platform.o:/project/src/platform.c:112: first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Platform.o: in function `platform_start':
/project/src/platform.c:128: multiple definition of `platform_start'; platform.o:/project/src/platform.c:128: first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Platform.o: in function `platform_stop':
platform.c:(.text.platform_stop+0x0): multiple definition of `platform_stop'; platform.o:platform.c:(.text.platform_stop+0x0): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Platform.o: in function `platform_get_video':
/project/src/platform.c:147: multiple definition of `platform_get_video'; platform.o:/project/src/platform.c:147: first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Platform.o: in function `platform_get_audio':
/project/src/platform.c:193: multiple definition of `platform_get_audio'; platform.o:/project/src/platform.c:193: first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Platform.o: in function `platform_supports_hevc':
/project/src/platform.c:221: multiple definition of `platform_supports_hevc'; platform.o:/project/src/platform.c:221: first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Platform.o: in function `platform_name':
/project/src/platform.c:230: multiple definition of `platform_name'; platform.o:/project/src/platform.c:230: first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Connection.o:(.sbss+0x0): multiple definition of `rumble_handler'; connection.o:(.sbss+0x0): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Connection.o:/project/src/connection.h:25: multiple definition of `connection_callbacks'; connection.o:/project/src/connection.h:25: first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Connection.o:(.sbss+0x4): multiple definition of `connection_debug'; connection.o:(.sbss+0x4): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: Connection.o:(.sbss+0x8): multiple definition of `main_thread_id'; connection.o:(.sbss+0x8): first defined here
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: main.o: in function `stream':
/project/src/main.c:171: undefined reference to `LiStartConnection'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: /project/src/main.c:189: undefined reference to `LiStopConnection'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: LinkedBlockingQueue.o: in function `LbqOfferQueueItem':
/project/third_party/moonlight-common-c/src/LinkedBlockingQueue.c:71: undefined reference to `PltLockMutex'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: /project/third_party/moonlight-common-c/src/LinkedBlockingQueue.c:96: undefined reference to `PltUnlockMutex'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: /project/third_party/moonlight-common-c/src/LinkedBlockingQueue.c:98: undefined reference to `PltSetEvent'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: /project/third_party/moonlight-common-c/src/LinkedBlockingQueue.c:74: undefined reference to `PltUnlockMutex'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: InputStream.o: in function `sendControllerEventInternal':
/project/third_party/moonlight-common-c/src/InputStream.c:647: undefined reference to `AppVersionQuad'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: /project/third_party/moonlight-common-c/src/InputStream.c:647: undefined reference to `AppVersionQuad'
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/10.2.0/../../../../powerpc-eabi/bin/ld: /project/third_party/moonlight-common-c/src/InputStream.c:670: undefined reference to `AppVersionQuad'
collect2: error: ld returned 1 exit status
/opt/devkitpro/wut/share/wut_rules:44: recipe for target '/project/moonlight.elf' failed
make[1]: *** [/project/moonlight.elf] Error 1
Makefile:116: recipe for target 'build' failed
make: *** [build] Error 2
I'm close to build, but I cannot continue the building process....
Edit 2: it seems that the error it starts before AppVersionQuad
(on platform_check
and so on), I checked the AppVersionQuad
and it seems it's difined in Limelight-internal.h
, that the header it's included into InputStream.c .......
This was actually caused by Windows' case insensitive file system. Try building with commit https://github.com/GaryOderNichts/moonlight-wiiu/commit/fbe5d5339933689ee585442b9f0ec277d71c9013 again.
Hi Gary,
I'm back, YES it works now!!! The Building process it's done.
Really thanks, Cris
Hello @GaryOderNichts ,
I don't know if it's only my problem or somenthig strange with the command. Once installed Doker, the first command it works, but the below second command it gives the error (any idea?):
docker run -it --rm -v ${PWD}:/project moonlightbuilder make
docker: Error response from daemon: create ${PWD}: "${PWD}" includes invalid characters for a local volume name, only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help
As you can see It's somenthing related to the loval volume name ${PWD}
Thank you , Cris