Author Topic: cyglto_plugin.dll not found  (Read 6251 times)

Offline lbertolotti

  • Multiple posting newcomer
  • *
  • Posts: 31
cyglto_plugin.dll not found
« on: July 18, 2018, 05:36:40 pm »
I keep getting this error when using Cygwin GCC:
Build messages:
Code
||=== Build: Debug in cygwin_ex (compiler: Cygwin GCC) ===|
||error: -fuse-linker-plugin, but cyglto_plugin.dll not found|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|

Has anyone managed to solve this?
« Last Edit: July 19, 2018, 07:01:18 pm by lbertolotti »
Languages: C/C++, SQL, HTML, VB, Python and R

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: cyglto_plugin.dll not found
« Reply #1 on: July 18, 2018, 09:48:03 pm »
Post the build log instead of the build messages and someone might spot the error.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline lbertolotti

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: cyglto_plugin.dll not found
« Reply #2 on: July 19, 2018, 06:59:30 pm »
Build log:
Code
Cleaned "cygwin_ex - Debug"

-------------- Build: Debug in cygwin_ex (compiler: Cygwin GCC)---------------

g++.exe -Wall -fexceptions -g -I../../../../cygwin64/lib/gcc/x86_64-pc-cygwin/6.4.0/include -c C:/Users/Lucas/Desktop/cygwin_ex/main.cpp -o obj/Debug/main.o
g++.exe  -o bin/Debug/cygwin_ex.exe obj/Debug/main.o   
g++: fatal error: -fuse-linker-plugin, but cyglto_plugin.dll not found
compilation terminated.
Process terminated with status 1 (0 minute(s), 1 second(s))
1 error(s), 0 warning(s) (0 minute(s), 1 second(s))

Languages: C/C++, SQL, HTML, VB, Python and R

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: cyglto_plugin.dll not found
« Reply #3 on: July 19, 2018, 08:39:19 pm »
I did not see any clear cause in Build log; Installing 64 bit Cygwin GCC to see if it works for me or it errors out.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: cyglto_plugin.dll not found
« Reply #4 on: July 19, 2018, 09:29:46 pm »
Code
Cleaned "testcyg - Debug"

-------------- Build: Debug in testcyg (compiler: Cygwin GCC)---------------

g++.exe -Wall -fexceptions -g  -c C:/Users/stahta01/devel/open_source_code/no_version_control/test/testcyg/main.cpp -o obj/Debug/main.o
g++.exe  -o bin/Debug/testcyg.exe obj/Debug/main.o   
Output file is bin\Debug\testcyg.exe with size 218.25 KB

Could not duplicate the problem:

Using Code::Blocks 17.12 under Windows 7 64 bit.
g++ (GCC) 7.3.0

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: cyglto_plugin.dll not found
« Reply #5 on: July 19, 2018, 09:36:20 pm »
I would try removing "-I../../../../cygwin64/lib/gcc/x86_64-pc-cygwin/6.4.0/include" and see if the error goes away.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline lbertolotti

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: cyglto_plugin.dll not found
« Reply #6 on: July 20, 2018, 02:48:37 pm »
Doing that generates:

Build log:

Code

-------------- Clean: Debug in cygwin_ex (compiler: Cygwin GCC)---------------

Cleaned "cygwin_ex - Debug"

-------------- Build: Debug in cygwin_ex (compiler: Cygwin GCC)---------------

g++.exe -Wall -fexceptions -g  -c C:/Users/Lucas/Desktop/cygwin_ex/main.cpp -o obj/Debug/main.o
g++.exe  -o bin/Debug/cygwin_ex.exe obj/Debug/main.o   
In file included from /usr/include/stdio.h:35:0,
                 from C:/Users/Lucas/Desktop/cygwin_ex/main.cpp:1:
/usr/include/sys/cdefs.h:45:10: fatal error: stddef.h: No such file or directory
 #include <stddef.h>
          ^~~~~~~~~~
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

Languages: C/C++, SQL, HTML, VB, Python and R

Offline lbertolotti

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: cyglto_plugin.dll not found
« Reply #7 on: July 20, 2018, 03:51:01 pm »
Ok, that means it was corrupt/wrong files:
Cygwin 2.10.0:
Build log:
Code

-------------- Clean: Debug in cygwin_ex (compiler: Cygwin GCC)---------------

Cleaned "cygwin_ex - Debug"

-------------- Build: Debug in cygwin_ex (compiler: Cygwin GCC)---------------

g++.exe -Wall -fexceptions -g -I../../../../cygwin64/usr/include/gsl -c C:/Users/Lucas/Desktop/cygwin_ex/main.cpp -o obj/Debug/main.o
g++.exe  -o bin/Debug/cygwin_ex.exe obj/Debug/main.o  -lgsl 
Output file is bin\Debug\cygwin_ex.exe with size 163.73 KB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 0 warning(s) (0 minute(s), 1 second(s))
 
Languages: C/C++, SQL, HTML, VB, Python and R

Offline lbertolotti

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: cyglto_plugin.dll not found
« Reply #8 on: July 20, 2018, 06:03:08 pm »
Do you know how cb_console_runner uses cygwin1.dll?
Languages: C/C++, SQL, HTML, VB, Python and R

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: cyglto_plugin.dll not found
« Reply #9 on: July 20, 2018, 06:32:28 pm »
Do you know how cb_console_runner uses cygwin1.dll?

That question makes no sense.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org