Source: https://support.apple.com/en-gb/guide/t ... 20Terminal.Open new Terminal windows or tabs from the Finder
You can use the path bar in a Finder window to open a new Terminal window or tab with the working directory set to a folder’s location.
On your Mac, open a Finder window, then navigate to the folder you want to use.
If you can’t see the path bar at the bottom of the Finder window, choose View > Show Path Bar.
Control-click the folder in the path bar, then do one of the following.
Open a new window: Choose Open in Terminal.
Open a new tab: Choose Services > New Terminal Tab at Folder.
xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
-
- Posts: 38
- Joined: Sun Feb 12, 2023 11:31 am
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
For visual learners, this is how you open terminal in a file on mac
-
- Posts: 38
- Joined: Sun Feb 12, 2023 11:31 am
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
Also, here's what my ftd3xx folder looks like after doing it the manual way
-
- Posts: 14
- Joined: Tue Mar 26, 2024 2:10 am
- Contact:
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
Hi, thanks for the detailed report! I'll try to look into how to open dmg files programmatically...harpentong wrote: ↑Tue Mar 26, 2024 1:54 pmYou know what? Here's the full error/warning list
xx3dsfml-new_main_changes % make
g++ -I ftd3xx -c xx3dsfml.cpp -o xx3dsfml.o
xx3dsfml.cpp:120:20: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
int loaded_volume = -1;
...
^
29 warnings and 2 errors generated.
make: *** [xx3dsfml.o] Error 1
Glad the manual way went further though...
In the meantime, I've changed a couple of things in the zip file.
If you re-download it, replace the old files (but not the ftd3xx folder) and you try running
Code: Select all
make
The output should be the xx3dsfml file.
Which you will be then able to launch by typing this in a terminal in the same folder:
Code: Select all
./xx3dsfml
-
- Posts: 38
- Joined: Sun Feb 12, 2023 11:31 am
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
Ok so the first time I tried it I saw this
xx3dsfml-new_main_changes % make
g++ -std=c++17 -I ftd3xx -c xx3dsfml.cpp -o xx3dsfml.o
xx3dsfml.cpp:350:11: warning: enumeration value 'JOINT' not handled in switch [-Wswitch]
switch (this->m_stype) {
^~~~~~~~~~~~~
xx3dsfml.cpp:350:11: note: add missing switch cases
switch (this->m_stype) {
^
xx3dsfml.cpp:381:13: warning: 83 enumeration values not handled in switch: 'Unknown', 'A', 'D'... [-Wswitch]
switch (this->m_event.key.code) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:381:13: note: add missing switch cases
switch (this->m_event.key.code) {
^
xx3dsfml.cpp:375:12: warning: 22 enumeration values not handled in switch: 'Resized', 'LostFocus', 'GainedFocus'... [-Wswitch]
switch (this->m_event.type) {
^~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:375:12: note: add missing switch cases
switch (this->m_event.type) {
^
xx3dsfml.cpp:574:11: warning: enumeration value 'END' not handled in switch [-Wswitch]
switch (this->m_info.crop_kind) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:574:11: note: add missing switch cases
switch (this->m_info.crop_kind) {
^
4 warnings generated.
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lftd3xx -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
ld: library 'ftd3xx' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
xx3dsfml-new_main_changes % make
g++ -std=c++17 -I ftd3xx -c xx3dsfml.cpp -o xx3dsfml.o
xx3dsfml.cpp:350:11: warning: enumeration value 'JOINT' not handled in switch [-Wswitch]
switch (this->m_stype) {
^~~~~~~~~~~~~
xx3dsfml.cpp:350:11: note: add missing switch cases
switch (this->m_stype) {
^
xx3dsfml.cpp:381:13: warning: 83 enumeration values not handled in switch: 'Unknown', 'A', 'D'... [-Wswitch]
switch (this->m_event.key.code) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:381:13: note: add missing switch cases
switch (this->m_event.key.code) {
^
xx3dsfml.cpp:375:12: warning: 22 enumeration values not handled in switch: 'Resized', 'LostFocus', 'GainedFocus'... [-Wswitch]
switch (this->m_event.type) {
^~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:375:12: note: add missing switch cases
switch (this->m_event.type) {
^
xx3dsfml.cpp:574:11: warning: enumeration value 'END' not handled in switch [-Wswitch]
switch (this->m_info.crop_kind) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:574:11: note: add missing switch cases
switch (this->m_info.crop_kind) {
^
4 warnings generated.
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lftd3xx -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
ld: library 'ftd3xx' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
-
- Posts: 38
- Joined: Sun Feb 12, 2023 11:31 am
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
But now whenever I try I see this instead
xx3dsfml-new_main_changes % make
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lftd3xx -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
ld: library 'ftd3xx' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
xx3dsfml-new_main_changes % make
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lftd3xx -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
ld: library 'ftd3xx' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
-
- Posts: 14
- Joined: Tue Mar 26, 2024 2:10 am
- Contact:
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
Hi, sorry. That was a small mistake from me. Try redownloading the zip now and running make again...?harpentong wrote: ↑Tue Mar 26, 2024 3:39 pmBut now whenever I try I see this instead
xx3dsfml-new_main_changes % make
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lftd3xx -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
ld: library 'ftd3xx' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
-
- Posts: 38
- Joined: Sun Feb 12, 2023 11:31 am
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
It still does not work.Lorenzooone wrote: ↑Tue Mar 26, 2024 9:19 pmHi, sorry. That was a small mistake from me. Try redownloading the zip now and running make again...?harpentong wrote: ↑Tue Mar 26, 2024 3:39 pmBut now whenever I try I see this instead
xx3dsfml-new_main_changes % make
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lftd3xx -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
ld: library 'ftd3xx' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
xx3dsfml-new_main_changes % make
g++ -std=c++17 -I ftd3xx -c xx3dsfml.cpp -o xx3dsfml.o
xx3dsfml.cpp:350:11: warning: enumeration value 'JOINT' not handled in switch [-Wswitch]
switch (this->m_stype) {
^~~~~~~~~~~~~
xx3dsfml.cpp:350:11: note: add missing switch cases
switch (this->m_stype) {
^
xx3dsfml.cpp:381:13: warning: 83 enumeration values not handled in switch: 'Unknown', 'A', 'D'... [-Wswitch]
switch (this->m_event.key.code) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:381:13: note: add missing switch cases
switch (this->m_event.key.code) {
^
xx3dsfml.cpp:375:12: warning: 22 enumeration values not handled in switch: 'Resized', 'LostFocus', 'GainedFocus'... [-Wswitch]
switch (this->m_event.type) {
^~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:375:12: note: add missing switch cases
switch (this->m_event.type) {
^
xx3dsfml.cpp:587:11: warning: enumeration value 'END' not handled in switch [-Wswitch]
switch (this->m_info.crop_kind) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:587:11: note: add missing switch cases
switch (this->m_info.crop_kind) {
^
4 warnings generated.
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
Undefined symbols for architecture arm64:
"_CFDataGetBytes", referenced from:
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDataGetLength", referenced from:
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDataGetTypeID", referenced from:
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDictionaryCreateMutable", referenced from:
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDictionarySetValue", referenced from:
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFGetTypeID", referenced from:
_get_ioregistry_value_number in libftd3xx-static.a[arm64][10](darwin_usb.o)
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFNumberCreate", referenced from:
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFNumberGetTypeID", referenced from:
_get_ioregistry_value_number in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFNumberGetValue", referenced from:
_get_ioregistry_value_number in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRelease", referenced from:
_darwin_close in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_close in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
...
"_CFRetain", referenced from:
_darwin_open in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopAddSource", referenced from:
_darwin_open in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopGetCurrent", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopRemoveSource", referenced from:
_darwin_close in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_release_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopRun", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopSourceCreate", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopSourceSignal", referenced from:
_darwin_exit in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopStop", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFRunLoopWakeUp", referenced from:
_darwin_exit in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFUUIDGetConstantUUIDWithBytes", referenced from:
_darwin_device_from_service in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_device_from_service in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_device_from_service in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFUUIDGetUUIDBytes", referenced from:
_darwin_device_from_service in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOCreatePlugInInterfaceForService", referenced from:
_darwin_device_from_service in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOIteratorNext", referenced from:
_darwin_scan_devices in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_check_configuration in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_devices_detached in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_devices_attached in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_clear_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_get_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOKitWaitQuiet", referenced from:
_darwin_hotplug_poll in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IONotificationPortCreate", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IONotificationPortDestroy", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IONotificationPortGetRunLoopSource", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOObjectRelease", referenced from:
_darwin_kernel_driver_active in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_kernel_driver_active in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_scan_devices in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_scan_devices in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_get_cached_device in libftd3xx-static.a[arm64][10](darwin_usb.o)
...
"_IOObjectRetain", referenced from:
_darwin_get_cached_device in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IORegistryEntryCreateCFProperty", referenced from:
_get_ioregistry_value_number in libftd3xx-static.a[arm64][10](darwin_usb.o)
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IORegistryEntryGetChildEntry", referenced from:
_darwin_kernel_driver_active in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IORegistryEntryGetParentEntry", referenced from:
_get_device_port in libftd3xx-static.a[arm64][10](darwin_usb.o)
_get_device_parent_sessionID in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOServiceAddMatchingNotification", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOServiceGetMatchingService", referenced from:
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOServiceGetMatchingServices", referenced from:
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_IOServiceMatching", referenced from:
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
"___CFConstantStringClassReference", referenced from:
in libftd3xx-static.a[arm64][10](darwin_usb.o)
in libftd3xx-static.a[arm64][10](darwin_usb.o)
in libftd3xx-static.a[arm64][10](darwin_usb.o)
in libftd3xx-static.a[arm64][10](darwin_usb.o)
in libftd3xx-static.a[arm64][10](darwin_usb.o)
in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_kCFAllocatorDefault", referenced from:
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_get_ioregistry_value_number in libftd3xx-static.a[arm64][10](darwin_usb.o)
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_kCFAllocatorSystemDefault", referenced from:
_darwin_device_from_service in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_kCFRunLoopCommonModes", referenced from:
_darwin_open in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_kCFRunLoopDefaultMode", referenced from:
_darwin_close in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_event_thread_main in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_release_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
_darwin_claim_interface in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_kCFTypeDictionaryKeyCallBacks", referenced from:
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_kCFTypeDictionaryValueCallBacks", referenced from:
_usb_setup_device_iterator in libftd3xx-static.a[arm64][10](darwin_usb.o)
_usb_find_interface_matching_location in libftd3xx-static.a[arm64][10](darwin_usb.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
-
- Posts: 38
- Joined: Sun Feb 12, 2023 11:31 am
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
Let us know if you have any update for us.static_zero wrote: ↑Sat Jan 20, 2024 2:47 amIt's my pleasure! It would be nice to be able to provide binaries for it, but it's not very practical for small projects like this unfortunately. There was someone else who posted on my GitHub repository about having an issue building the software on Mac, but I hadn't heard back from them. If you have any issues yourself, I'd be happy to try to troubleshoot it for you.Chroma wrote: ↑Sun Jan 07, 2024 8:20 pmThanks for your hard work! I'd need to spend a good off day familiarizing myself with building this since I'm more used to running pre-built executables, but "multi-platform" is getting me super excited that I might finally get something usable running on my Mac.
Ideally, I'd like to test this out on a Mac myself and provide instructions for it, but I don't have a working one readily available to me at the moment (which may change in the future). Heck, I'd even like to see this working on Windows (even though there's really no need for it ). Being that FTDI's driver and SFML are available on all 3 platforms, there's no reason why it shouldn't be able to run everywhere.
-
- Posts: 14
- Joined: Tue Mar 26, 2024 2:10 am
- Contact:
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
Hi, I've tried adding some frameworks to the Makefile, which is apparently how this should be fixed.harpentong wrote: ↑Wed Mar 27, 2024 11:19 amIt still does not work.Lorenzooone wrote: ↑Tue Mar 26, 2024 9:19 pmHi, sorry. That was a small mistake from me. Try redownloading the zip now and running make again...?harpentong wrote: ↑Tue Mar 26, 2024 3:39 pmBut now whenever I try I see this instead
xx3dsfml-new_main_changes % make
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lftd3xx -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
ld: library 'ftd3xx' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
xx3dsfml-new_main_changes % make
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
Undefined symbols for architecture arm64:
"_CFDataGetBytes", referenced from:
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDataGetLength", referenced from:
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDataGetTypeID", referenced from:
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
These should all "apparently" already be installed.
So if you redownload it and you try again, what happens?
-
- Posts: 38
- Joined: Sun Feb 12, 2023 11:31 am
Re: xx3dsfml Multi-platform N3DSXL Capture Software Audio Update
This time, it not only created an xx3dsfml.o file like previous times, but it actually also created a xx3dsfml file(exec), however, it still does not runLorenzooone wrote: ↑Thu Mar 28, 2024 6:33 amHi, I've tried adding some frameworks to the Makefile, which is apparently how this should be fixed.harpentong wrote: ↑Wed Mar 27, 2024 11:19 amIt still does not work.Lorenzooone wrote: ↑Tue Mar 26, 2024 9:19 pm
Hi, sorry. That was a small mistake from me. Try redownloading the zip now and running make again...?
xx3dsfml-new_main_changes % make
g++ xx3dsfml.o -o xx3dsfml -std=c++17 ftd3xx/libftd3xx-static.a -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
Undefined symbols for architecture arm64:
"_CFDataGetBytes", referenced from:
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDataGetLength", referenced from:
_get_ioregistry_value_data in libftd3xx-static.a[arm64][10](darwin_usb.o)
"_CFDataGetTypeID", referenced from:
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xx3dsfml] Error 1
These should all "apparently" already be installed.
So if you redownload it and you try again, what happens?
Here's what i saw this time
xx3dsfml-new_main_changes % make
clang++ -std=c++17 -I ftd3xx -c xx3dsfml.cpp -o xx3dsfml.o
xx3dsfml.cpp:350:11: warning: enumeration value 'JOINT' not handled in switch [-Wswitch]
switch (this->m_stype) {
^~~~~~~~~~~~~
xx3dsfml.cpp:350:11: note: add missing switch cases
switch (this->m_stype) {
^
xx3dsfml.cpp:381:13: warning: 83 enumeration values not handled in switch: 'Unknown', 'A', 'D'... [-Wswitch]
switch (this->m_event.key.code) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:381:13: note: add missing switch cases
switch (this->m_event.key.code) {
^
xx3dsfml.cpp:375:12: warning: 22 enumeration values not handled in switch: 'Resized', 'LostFocus', 'GainedFocus'... [-Wswitch]
switch (this->m_event.type) {
^~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:375:12: note: add missing switch cases
switch (this->m_event.type) {
^
xx3dsfml.cpp:587:11: warning: enumeration value 'END' not handled in switch [-Wswitch]
switch (this->m_info.crop_kind) {
^~~~~~~~~~~~~~~~~~~~~~
xx3dsfml.cpp:587:11: note: add missing switch cases
switch (this->m_info.crop_kind) {
^
4 warnings generated.
clang++ xx3dsfml.o -o xx3dsfml -std=c++17 -framework Cocoa -framework OpenGL -framework IOKit ftd3xx/libftd3xx-static.a -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-window -lpthread
Last edited by harpentong on Fri Mar 29, 2024 9:45 am, edited 1 time in total.