F Florian Schneider Member Dec 31, 2019 #1 I can no longer compile projects with B4R. Information about the problem: When I installed the program a few days ago it worked (I don't know what changed). Adurino IDE still works. I reinstalled both programs (didn't fix the bug) Error message:
I can no longer compile projects with B4R. Information about the problem: When I installed the program a few days ago it worked (I don't know what changed). Adurino IDE still works. I reinstalled both programs (didn't fix the bug) Error message:
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2020 #2 Copy the complete logs and upload them as a text file. Upvote 0
F Florian Schneider Member Jan 1, 2020 #3 Here is the complete error message happy new year Attachments B4R_Error.txt B4R_Error.txt 50.9 KB · Views: 675 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2020 #4 This is the relevant line: (.text+0x0): multiple definition of `operator new(unsigned int, void*)' Add this: Code: #DefineExtra: #define SKIP_B4RNEW Upvote 0
This is the relevant line: (.text+0x0): multiple definition of `operator new(unsigned int, void*)' Add this: Code: #DefineExtra: #define SKIP_B4RNEW
F Florian Schneider Member Jan 1, 2020 #5 i have added the line in the #Region Project Attributes Unfortunately the error has not changed. Attached the new Error Message (seems similar to the old) Attachments B4R_Error.txt B4R_Error.txt 50.9 KB · Views: 638 Upvote 0
i have added the line in the #Region Project Attributes Unfortunately the error has not changed. Attached the new Error Message (seems similar to the old)
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2020 #6 Strange. Try to clean the project (Ctrl + P). If it doesn't help, please zip <project>\Objects\src and upload it. Upvote 0
Strange. Try to clean the project (Ctrl + P). If it doesn't help, please zip <project>\Objects\src and upload it.
F Florian Schneider Member Jan 1, 2020 #7 no change Attachments src.zip src.zip 17.3 KB · Views: 561 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2020 #8 I'm able to build the Arduino generated source with Arduino IDE. Change the folder name to 'src' and try it. You need to open src.ino. Upvote 0
I'm able to build the Arduino generated source with Arduino IDE. Change the folder name to 'src' and try it. You need to open src.ino.
F Florian Schneider Member Jan 2, 2020 #9 sorry i dont realy undestand what you mean first problem: The path to the file is: "C:\Users\floh2\Documents\B4R\Objects\src\src.ino" (the "src - Kopie" came because i copyed it before sending) second problem: i opend the src.ino file with the Arduino IDE and tryed to compile it This is the error message: Arduino: 1.8.10 (Windows 10), Board: "Arduino Uno" new.cpp.o (symbol from plugin): In function `operator new(unsigned int)': (.text+0x0): multiple definition of `operator new(unsigned int, void*)' sketch\B4RCore.cpp.o (symbol from plugin).text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Fehler beim Kompilieren für das Board Arduino Uno. maybe I could completely reinstall both programs. It worked when I first installed the program, so I must have broken up some library in the meantime. Before I posted this problem on the forum I tried to uninstall and reinstall both programs using the uninstall Windows programs function. Probably some libraries were not deleted which now block the program. How can I find and delete (replace) these libraries? Upvote 0
sorry i dont realy undestand what you mean first problem: The path to the file is: "C:\Users\floh2\Documents\B4R\Objects\src\src.ino" (the "src - Kopie" came because i copyed it before sending) second problem: i opend the src.ino file with the Arduino IDE and tryed to compile it This is the error message: Arduino: 1.8.10 (Windows 10), Board: "Arduino Uno" new.cpp.o (symbol from plugin): In function `operator new(unsigned int)': (.text+0x0): multiple definition of `operator new(unsigned int, void*)' sketch\B4RCore.cpp.o (symbol from plugin).text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Fehler beim Kompilieren für das Board Arduino Uno. maybe I could completely reinstall both programs. It worked when I first installed the program, so I must have broken up some library in the meantime. Before I posted this problem on the forum I tried to uninstall and reinstall both programs using the uninstall Windows programs function. Probably some libraries were not deleted which now block the program. How can I find and delete (replace) these libraries?
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2020 #10 Florian Schneider said: first problem: The path to the file is: "C:\Users\floh2\Documents\B4R\Objects\src\src.ino" (the "src - Kopie" came because i copyed it before sending) second problem: i opend the src.ino file with the Arduino IDE and tryed to compile it Click to expand... I'm doing the exact same thing and it compiles fine. Try to reinstall Arduino IDE. Upvote 0
Florian Schneider said: first problem: The path to the file is: "C:\Users\floh2\Documents\B4R\Objects\src\src.ino" (the "src - Kopie" came because i copyed it before sending) second problem: i opend the src.ino file with the Arduino IDE and tryed to compile it Click to expand... I'm doing the exact same thing and it compiles fine. Try to reinstall Arduino IDE.
F Florian Schneider Member Jan 2, 2020 #11 success. I have deleted all folders on my computer that looked like Adurino. Then i have reinstalled the Arduino IDE and it worked. Upvote 0
success. I have deleted all folders on my computer that looked like Adurino. Then i have reinstalled the Arduino IDE and it worked.