MizunagiKB / gd_cubism

Unofficial Live2D Player for Godot Engine
https://mizunagikb.github.io/gd_cubism/
Other
111 stars 17 forks source link

SConsturt line 9 #89

Open sdvzxdvxzc opened 1 month ago

sdvzxdvxzc commented 1 month ago

i was following the build.adoc when i try scon debug and release ,it happen like this what part i did wrong?

C:\Users\user\Desktop\gd_cubism-main\gd_cubism-main>scons platform=windows arch=x86_64 `target=template_debug`
scons: Reading SConscript files ...

scons: *** missing SConscript file 'godot-cpp\\SConstruct'
File "C:\Users\user\Desktop\gd_cubism-main\gd_cubism-main\SConstruct", line 9, in <module>

C:\Users\user\Desktop\gd_cubism-main\gd_cubism-main>scons platform=windows arch=x86_64 target=template_release
scons: Reading SConscript files ...

scons: *** missing SConscript file 'godot-cpp\\SConstruct'
File "C:\Users\user\Desktop\gd_cubism-main\gd_cubism-main\SConstruct", line 9, in <module>
MizunagiKB commented 1 month ago

@sdvzxdvxzc

I will respond to the error in the log you posted as follows:

scons: *** missing SConscript file 'godot-cpp\\SConstruct'
File "C:\Users\user\Desktop\gd_cubism-main\gd_cubism-main\SConstruct", line 9, in <module>

This error occurs when the SConstruct file cannot be found in the godot-cpp folder.

Please check the following:

If you cannot find it, it seems that the godot-cpp folder could not be obtained due to some malfunction.

The godot-cpp folder refers to another repository using a feature called git submodule. Therefore, if you obtained it from a zip file or just did a git clone, it may not be expanded in its initial state.

If you still can't get godot-cpp, please try downloading and expanding the contents of the following repository directly:

https://github.com/godotengine/godot-cpp/tree/bc980b59fff6d202150508db3f00c9440022620a

sdvzxdvxzc commented 4 weeks ago

i just download file and put into it and i do the build again but i doesnt see there has dll in gd_cubism/bin 2024-06-06 18 32 40

MizunagiKB commented 4 weeks ago

Upon checking the log, it appears that the MSVC_VERSION is set to (undefined). This suggests that either Visual Studio is not installed in your environment, or if it is installed, the C compiler is not being recognized.

As mentioned in the following document, please ensure to include the C/C++ development environment when installing Visual Studio.

https://mizunagikb.github.io/gd_cubism/gd_cubism/0.6/en/build.html#_build_for_windows

sdvzxdvxzc commented 4 weeks ago

thanks🙏 dll debug reslease is done but cant find node on demo 2024-06-06 21 28 54

MizunagiKB commented 4 weeks ago

The extension modules for Godot are typically placed under a folder named addons. GDCubism follows this convention and is placed under the addons folder in a folder named gd_cubism.

Your project does not currently have an addons folder.

For the specific structure, please refer to the structure under the demo folder in the repository. If the build has been successful, please first open the project.godot within this folder and check its operation.

https://github.com/MizunagiKB/gd_cubism/tree/main/demo

sdvzxdvxzc commented 4 weeks ago

how do i put mao_pro_en into demo 2024-06-07 13 31 50

MizunagiKB commented 4 weeks ago

In the case of the Viewer sample, please deploy the contents to _res://addons/gdcubism/example/res/live2d and place the entire _map_projp folder.

If properly arranged, you will be able to select the Live2D model from the menu.

sdvzxdvxzc commented 4 weeks ago

thanks🙏 the issue is complete