On Mon, Oct 26, 2015, at 07:20 PM, Patrick J. Collins wrote: > Hi everyone, > > I have a really weird linker error that I am completely baffled by... > > Basically, I have a file: RangeEditor.m, which uses a c function > called clamp(). clamp is defined in a utils.m file which has a header > exposed in utils.h... > > RangeEditor, was located at > $(project)/Menus/MenuItems/Widgets/RangeEditor/ > > ... > > I decided that I wanted that file at the root level.. so I moved > RangeEditor.m and RangeEditor.h to $(project)/ > > ... now when I build, I get: > > Undefined symbols for architecture arm64: > "_clamp", referenced from: > -[RangeEditor draggableNoteDidMove:touch:] in RangeEditor.o > (maybe you meant: _clampf) > ld: symbol(s) not found for architecture arm64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > If I move the files back, I still get that error. But if I revert the > changes > in git (literally only moving those files around) then everything builds > perfectly fine. > > What in the world???
There are no xcodeproj changes concurrent with those moves? --Kyle Sluder _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
