Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
Codeblocks Trunk: 11416

wxWidgets trunk: 1adc3ba

MingW64: i686-8.1.0-posix-sjlj-rt_v6-rev0

On windows 7 64bit home edition.

I can confirm that patch allows it to compile, And upon testing Codeblocks opens up and I'm able to edit files.

So I would say it looks like this fixes it.

Thanks Miguel Gimenez!
22
Why?
23
Help / Re: error unrecognized option '-plugin'
« Last post by 37712 on June 14, 2018, 11:28:27 am »
*** PROBLEM RESOLVED ***

apparently it was a problem with my MinGW installation but I don't know what it was. I ended up completely uninstalling and reinstalling MinGW and that somehow fixed the problem.
24
Help / Re: error unrecognized option '-plugin'
« Last post by 37712 on June 14, 2018, 10:53:02 am »
I don't think I have MinGW installed twice but i do have Cygwin installed, i dont know if that would be the reason.

here is the cmd code u asked me to run:

C:\Users\37712>mingw32-g++ -Xlinker -v
collect2 version 6.3.0
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe -plugin c:/mingw/bin/../libexec
/gcc/mingw32/6.3.0/liblto_plugin-0.dll -plugin-opt=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wra
pper.exe -plugin-opt=-fresolution=C:\Users\37712\AppData\Local\Temp\ccS4fIgE.res -plugin-opt=-pass-t
hrough=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass
-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-o
pt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -
plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-l
gcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through
=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -Bdynamic -u ___register_frame_info -u ___deregister_f
rame_info c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../crt2.o c:/mingw/bin/../lib/gcc/mingw32/6.3.
0/crtbegin.o -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0 -Lc:/mingw/bin/../lib/gcc -Lc:/mingw/bin/../lib
/gcc/mingw32/6.3.0/../../../../mingw32/lib -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../.. -v -lstd
c++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -
lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtend.o
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: unrecognized option '-plugin'
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: use the --help option for usag
e information
collect2.exe: error: ld returned 1 exit status

C:\Users\37712>
25
Help / Re: error unrecognized option '-plugin'
« Last post by Miguel Gimenez on June 14, 2018, 10:16:16 am »
-plugin is a valid option for ld.exe starting with gcc 4.5.0, and in this case is passed by mngw32-g++. It seems the ld.exe version and mingw32-g++.exe one don't match. Do you have two installations of mingw?

Can you post the output of the following command (executed in CMD)?

Code: [Select]
mingw32-g++ -Xlinker -v
26
Help / Re: error unrecognized option '-plugin'
« Last post by 37712 on June 14, 2018, 08:21:09 am »
not sure what u mean by rebuild log, I assume you mean to rebuild the code/project and post the build log so here it is:

-------------- Clean: Release in LinkedListAssignment (compiler: GNU GCC Compiler)---------------

Cleaned "LinkedListAssignment - Release"

-------------- Build: Release in LinkedListAssignment (compiler: GNU GCC Compiler)---------------

mingw32-gcc.exe -Wall -std=c99 -O2 -std=c99  -c "C:\Users\37712\Google Drive\C Projects\CodeBlocks Projects\LinkedListAssignment\LinkedListAssignment.c" -o obj\Release\LinkedListAssignment.o
mingw32-g++.exe  -o bin\Release\LinkedListAssignment.exe obj\Release\LinkedListAssignment.o  -s 
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: unrecognized option '-plugin'
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: use the --help option for usage information
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
27
Are you blind?

If no, please state a valid reason you do not wish to use the Code::Blocks GUI interface to set the libraries you wish to link?

Tim S.

The configuration made by codeblocks GUI are saved locally. I want it to persist whenever I install codeblocks from a locally created .deb file
28
Sorry, I thought I replied to this thread. Thanks, it works,

Pramay
29
Help / Re: error unrecognized option '-plugin'
« Last post by oBFusCATed on June 14, 2018, 07:36:17 am »
Can you post the full rebuild log?
30
Using Code::Blocks / Re: undefined reference to `_imp__* error
« Last post by sodev on June 14, 2018, 05:45:32 am »
Move the #include out of the extern "C" block.
Pages: 1 2 [3] 4 5 6 7 8 ... 10