![]() Perhaps somebody can provide some further help. Steps: 1) Downloading the gtk+-2.0 development package: Open the synaptic manager and install the libgtk2.0-dev package from it. Determines the order in the compiler drop-down menu that this compiler. To help in searching path a toll called pkg-config can be used.pkg-config will automatically look for the Gtk libraries and will provide an easy mechanism to compile the Gtk programs. Lowercase sequence of letters, numbers, underscores, and/or hyphens (it must, however, start with a letter) which is used internally to represent this compiler. Process terminated with status 1 (0 minute(s), 0 second(s))ġ error(s), 0 warning(s) (0 minute(s), 0 second(s)) is the descriptive name that will be shown to the user for this compiler.![]() usr/bin/ld: final link failed: bad valueĬollect2: error: ld returned 1 exit status Turning on 'Full Compiler Logging' tends to help newbies for directions read CB Wiki Link below FAQ-Compiling (errors) - CodeBlocks CB User Manual (I have never read it started on CB before it was written) User manual Tim S. Got it finally: In my case, the problem resulted from a program called EGCS (Experimental/Enhanced GNU Compiler System). usr/bin/ld: obj/Release/HelloWorld/Hello-World-SDK-3.o: relocation R_X86_64_PC32 against symbol `_Z16draw_hello_worldPvS_' can not be used when making a shared object recompile with -fPIC Should have the 'selected compiler' name at the top of the window that show up. Explore curated Company-Wise Interview Experiences of top tech companies like Amazon, Google, Microsoft, LinkedIn with examples of the best answers in C. Open the Settings->Compiler and debugger settings window from the menu, then change the selected compiler from the drop-down menu. G++ -shared -L/home/shj/Dokumente/HelloWorld/SDK/CHeaders/Widgets -L/home/shj/Dokumente/HelloWorld/SDK/CHeaders/Wrappers -L/home/shj/Dokumente/HelloWorld/SDK/CHeaders/XPLM obj/Release/HelloWorld/Hello-World-SDK-3.o -o bin/Release/liblin.so -s -shared -rdynamic -nodefaultlibs -undefined_warning -lGL -lGLU ![]() I have corrected the typo regarding LIN = 1 => LIN=1 which leads to this new error message: - Build: Release in HW (compiler: GNU GCC Compiler). ![]() Now, hitting F9 should compile and run the program. The initial problem is described under the below link. To compile and run simple console applications such as those used as examples in these tutorials it is enough with opening the file with Code::blocks and hit F9.
0 Comments
Leave a Reply. |