For the DynamicText error i have finally found a solution. You have to delete some libraries from your project. For me it was the WagoSysIcon library which wanted to reference dynamictexts even though i didn't have any in my project.