User forums > Nightly builds

The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.

<< < (7/19) > >>

Jenna:

--- Quote from: helpse on September 22, 2010, 12:29:53 pm ---Im not touching compiler or linker settings. They are setted to default compiler, and in the linker options i have comctl32 and gdi32. A single code, which uses some of these libraries, cant compile. But this SAME CODE compiles when i put it into a project, which has SAME settings. Weird, isnt it ?

--- End quote ---
Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline" and compare the commands used to invoke the compiler.

helpse:
Thanks. I did that. Here is what i get from compiling a project:


--- Code: ---mingw32-g++.exe -Wall  -g     -c "C:\[Sergio]\C++\C++ Projects\test\main.cpp" -o obj\Debug\main.o
mingw32-g++.exe  -o bin\Debug\test.exe obj\Debug\main.o   -enable-auto-import  -lcomctl32 -lgdi32
--- End code ---


And from compiling a single file:


--- Code: --- mingw32-g++.exe   -c "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.cpp" -o "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.o"
 mingw32-g++.exe  -o "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.exe" "C:\[Sergio]\C++\cGui Library\Examples\Button_Example.o"
--- End code ---

Easy: It's just not linking the files i told it to link. I have comctl32 and gdi32 added to Compiler & Debugger -> Linker Settings. Dont forget to compile and upload it when u fix this bug, pls.

Jenna:

--- Quote from: helpse on September 22, 2010, 01:10:23 pm ---Easy: It's just not linking the files i told it to link. I have comctl32 and gdi32 added to Compiler & Debugger -> Linker Settings. Dont forget to compile and upload it when u fix this bug, pls.

--- End quote ---

Please attach here or send me (via PM or mail) your project-file (just the cbp) and the default.conf of C::B.

helpse:
Ok, here are the 2 files.

blueshake:
support member variable initialation codecompletion now

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version