Re: Compiling with Eclipse



In the Linker Configuration step of the tutorial, instead of selecting "GCC C++ Linker->Miscellaneous," select "GCC C++ Linker," click in the "Command line pattern" field, move the cursor to the end of the text, and there insert a space followed by the pkg-config string.

If you're going to build several GTKMM projects in the same workspace, you can do a one-time definition of a workspace variable containing the pkg-config string and then just refer to the variable in each project, rather than having to enter the whole string each time. Define the variable in Window->Preferences->C/C++->Build->Build Variables->Add, (i.e. GTKMML), then reference the variable in the "Command line pattern" field (i.e. ${GTKMML} ).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]