headshot2017 / sm64-san-andreas

Super Mario 64 in GTA San Andreas
73 stars 7 forks source link

Errors in plugin-sdk build #3

Closed superserenajin closed 1 year ago

superserenajin commented 1 year ago

Hey all, following the guide to compile exactly. Consistently getting the following errors when I try to compile the workspace generated for Code::Blocks:

||=== Build: Release in plugin_sa (compiler: GNU GCC Compiler) ===|
C:\plugin-sdk-master\shared\Color.h|9|fatal error: CRGBA.h: No such file or directory|
C:\plugin-sdk-master\shared\comp\plugins\LimitAdjusterSupport.cpp|8|fatal error: plugin.h: No such file or directory|
C:\plugin-sdk-master\shared\common_sdk.h|10|fatal error: common.h: No such file or directory|
C:\plugin-sdk-master\shared\extender\PedExtender.h|10|fatal error: CPools.h: No such file or directory|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

The most unusual aspect of this is that I checked for Color.h for example and it is there. Any ideas?

headshot2017 commented 1 year ago

try restarting codeblocks. if you changed the "plugin sdk directory" environment variable in plugin-sdk's installer launcher program with codeblocks open in the background, you'll have to restart codeblocks so that it sees this change

superserenajin commented 1 year ago

No change unfortunately, the error's persisting.

headshot2017 commented 1 year ago

check if the "plugin sdk folder" environment variable in the plugin sdk installer launcher says C:\plugin-sdk-master and make sure to click the "Set" button. try generating the workspace again

headshot2017 commented 1 year ago

also the errors about "plugin.h" and "common.h" not being found is weird, these files should be in the plugin_sa folder - did you tamper with it in any way like renaming the folder or forgetting to extract it?

headshot2017 commented 1 year ago

hey, you can now get a pre-compiled build of the plugin and skip the compiling process entirely from the Actions tab, instructions are in the readme

headshot2017 commented 1 year ago

closing due to inactivity