[Geany-Users] Re: Can't split to main.cpp - header.h - header.cpp

2024-03-20 Thread Hago Ziegler via Users
Thank you very much - that's understood, Hago Am 20.03.2024 um 13:03 schrieb Lex Trotman via Users: On Wed, 20 Mar 2024 at 21:45, Hago Ziegler via Users wrote: Hi Lex, finally I got it. Now everything is compiled, I got the *.exe and it works as expected. :-) But I'd like to have this done

[Geany-Users] Re: Can't split to main.cpp - header.h - header.cpp

2024-03-20 Thread Lex Trotman via Users
On Wed, 20 Mar 2024 at 21:45, Hago Ziegler via Users wrote: > > Hi Lex, > > finally I got it. Now everything is compiled, I got the *.exe and it > works as expected. :-) > > But I'd like to have this done automatically. > Is there a way to tell Geany respectively >

[Geany-Users] Re: Can't split to main.cpp - header.h - header.cpp

2024-03-20 Thread Hago Ziegler via Users
Hi Lex, finally I got it. Now everything is compiled, I got the *.exe and it works as expected. :-) But I'd like to have this done automatically. Is there a way to tell Geany respectively g++ to compile _and_ link all *.o files in a certain

[Geany-Users] Re: Can't split to main.cpp - header.h - header.cpp

2024-03-19 Thread Lex Trotman via Users
You havn't compiled and linked bus.cpp with DBus.cpp so the linker is correctly complaining it can't find the constructor. Its not anything to do with Geany specifically, thats how the gcc tools work. You need to compile bus.cpp and link the result with the compiled result of DBus.cpp. You said