fix/cmake-multiple-main #18

Merged
Redacted merged 2 commits from kay/ReMixer:fix/cmake-multiple-main into main 2025-04-19 11:26:42 -04:00
Contributor

Change made to fix the following error:

/usr/bin/ld: CMakeFiles/pacat.dir/pacat_advanced.cpp.o: in function `main':
pacat_advanced.cpp:(.text+0x162b): multiple definition of `main'; CMakeFiles/pacat.dir/pacat_simple.cpp.o:pacat_simple.cpp:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/pacat.dir/build.make:133: pacat] Error 1
make[1]: *** [CMakeFiles/Makefile2:272: CMakeFiles/pacat.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Change made to fix the following error: ``` /usr/bin/ld: CMakeFiles/pacat.dir/pacat_advanced.cpp.o: in function `main': pacat_advanced.cpp:(.text+0x162b): multiple definition of `main'; CMakeFiles/pacat.dir/pacat_simple.cpp.o:pacat_simple.cpp:(.text+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/pacat.dir/build.make:133: pacat] Error 1 make[1]: *** [CMakeFiles/Makefile2:272: CMakeFiles/pacat.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ```
kay added 2 commits 2025-04-18 08:53:05 -04:00
```
/usr/bin/ld: CMakeFiles/pacat.dir/pacat_advanced.cpp.o: in function `main':
pacat_advanced.cpp:(.text+0x162b): multiple definition of `main'; CMakeFiles/pacat.dir/pacat_simple.cpp.o:pacat_simple.cpp:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/pacat.dir/build.make:133: pacat] Error 1
make[1]: *** [CMakeFiles/Makefile2:272: CMakeFiles/pacat.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
```
Redacted merged commit 065daa16fc into main 2025-04-19 11:26:42 -04:00
kay deleted branch fix/cmake-multiple-main 2025-04-19 17:56:00 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Redacted/ReMixer#18
No description provided.