Jump to content

2 posts in this topic

Recommended Posts

Posted

Can anyone help me fix this error?, Please:(
all my error:
ld: warning: directory not found for option '-F/home/phamduc612010/theos/vendor/lib/iphone/rootful'
duplicate symbol '_mainWindow' in:
    /home/phamduc612010/imgui/.theos/obj/arm64/Esp/PubgLoad.mm.7f9af399.o
    /home/phamduc612010/imgui/.theos/obj/arm64/Esp/ImGuiLoad.m.7f9af399.o
ld: 1 duplicate symbol for architecture arm64
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/home/phamduc612010/theos/makefiles/instance/library.mk:52: /home/phamduc612010/imgui/.theos/obj/arm64/kust.dylib] Error 1
make[2]: *** [/home/phamduc612010/theos/makefiles/instance/library.mk:52: /home/phamduc612010/imgui/.theos/obj/arm64/kust.dylib] Error 2
make[1]: *** [/home/phamduc612010/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
make: *** [/home/phamduc612010/theos/makefiles/master/rules.mk:119: kust.all.tweak.variables] Error 2

my makefile:
 

export THEOS=/home/phamduc612010/theos


ARCHS = arm64

DEBUG = 0
FINALPACKAGE = 1
FOR_RELEASE = 1

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = kust


kust_FRAMEWORKS =  UIKit Foundation Security QuartzCore CoreGraphics CoreText  AVFoundation Accelerate GLKit SystemConfiguration GameController

kust_CCFLAGS = -std=c++11 -fno-rtti -fno-exceptions -DNDEBUG
kust_CFLAGS = -fobjc-arc -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-value

kust_FILES = ImGuiDrawView.mm $(wildcard Esp/*.mm)   $(wildcard Esp/*.m) $(wildcard KittyMemory/*.cpp) $(wildcard KittyMemory/*.mm) $(wildcard ImGuiMemory/*.cpp) $(wildcard ImGuiMemory/*.mm) $(wildcard img/*.m)

#kust_LIBRARIES += substrate
# GO_EASY_ON_ME = 1

include $(THEOS_MAKE_PATH)/tweak.mk

 

Thanks all!

Posted

Well if you read clearly

mainWindow is being duplicated in PubgLoad.mm and ImGuiLoad.m. delete or change name and see what happens

ld: warning: directory not found for option '-F/home/phamduc612010/theos/vendor/lib/iphone/rootful'
duplicate symbol '_mainWindow' in:
    /home/phamduc612010/imgui/.theos/obj/arm64/Esp/PubgLoad.mm.7f9af399.o
    /home/phamduc612010/imgui/.theos/obj/arm64/Esp/ImGuiLoad.m.7f9af399.o

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines