Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install error #28

Open
rusoku opened this issue Mar 8, 2023 · 1 comment
Open

install error #28

rusoku opened this issue Mar 8, 2023 · 1 comment
Labels
analyzing Investigation required

Comments

@rusoku
Copy link

rusoku commented Mar 8, 2023

Tested on macbook M1 & MacMini M1
It creates in "/usr/local/" directory empty "lib" file instead

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Libraries/CANAPI install
Copying library file...
rm -f /usr/local/lib/libUVCANTOU.0.2.4.dylib; cp -f libUVCANTOU.0.2.4.dylib /usr/local/lib
rm: /usr/local/lib/libUVCANTOU.0.2.4.dylib: Not a directory
rm -f /usr/local/lib/libUVCANTOU.dylib ; ln -s /usr/local/lib/libUVCANTOU.0.2.4.dylib /usr/local/lib/libUVCANTOU.dylib
rm: /usr/local/lib/libUVCANTOU.dylib: Not a directory
ln: /usr/local/lib/libUVCANTOU.dylib: Not a directory
make[1]: *** [install] Error 1
make: *** [install] Error 2

@mac-can mac-can added the analyzing Investigation required label Apr 24, 2024
@rusoku
Copy link
Author

rusoku commented Jan 1, 2025

Fixed with adding: @mkdir -p $(INSTALL)

install:
	@echo "Copying library file..."
	@mkdir -p $(INSTALL)
	$(RM) $(INSTALL)/$(TARGET); $(CP) $(TARGET) $(INSTALL)
ifeq ($(current_OS),Darwin)
	$(RM) $(INSTALL)/$(LIBRARY).dylib ; $(LN) $(INSTALL)/$(TARGET) $(INSTALL)/$(LIBRARY).dylib
endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzing Investigation required
Projects
None yet
Development

No branches or pull requests

2 participants