Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » icon.rc dont work anymore since last theIDE version
icon.rc dont work anymore since last theIDE version [message #52085] Wed, 17 July 2019 11:34 Go to next message
Xemuth is currently offline  Xemuth
Messages: 103
Registered: August 2018
Location: France
Experienced Member
on last theIDE version (13495)

EyeCare example do not have is .ico linked to exe at compilation.
I tried with some of my code and same thing happen.
Re: icon.rc dont work anymore since last theIDE version [message #52094 is a reply to message #52085] Thu, 18 July 2019 14:38 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 103
Registered: August 2018
Location: France
Experienced Member
I've done the test on TheIDE Version : 11873 it worked perfectly.
since I had try to do it with G++ by hand and I did not succeed.
maybe it come from MingW but don't know
Re: icon.rc dont work anymore since last theIDE version [message #52096 is a reply to message #52085] Thu, 18 July 2019 15:31 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 103
Registered: August 2018
Location: France
Experienced Member
After verification, MIngw Version don't have changed since both build I tried.

So the problem come from theIDE ?
Here is "Verbose" compilation and linking from Eyecare with last theIDE version:
ICON.RC
C:\UPP\UPP\BIN/MINGW64/32/BIN\WINDRES.EXE -I "C:\UPP\UPP\EXAMPLES\EYECARE\ICON.RC" -O "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" --INCLUDE-DIR="C:\UPP\UPP/EXAMPLES" --INCLUDE-DIR="C:\UPP\UPP/UPPSRC" --INCLUDE-DIR="C:\UPP\UPP\BIN/MINGW64/32/I686-W~1/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/MINGW64/32/OPT/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/SDL2/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/PGSQL/X86/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/MYSQL/INCLUDE" --INCLUDE-DIR="C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGWG~1.MAI" -DFLAGGUI -DFLAGMAIN -DFLAGGCC -DFLAGWIN32
COMPILED IN (0:00.03)
C:\UPP\UPP\BIN/MINGW64/32/BIN\C++.EXE -C  -I"C:\UPP\UPP/EXAMPLES" -I"C:\UPP\UPP/UPPSRC" -I"C:\UPP\UPP\BIN/MINGW64/32/I686-W64-MINGW32/INCLUDE" -I"C:\UPP\UPP\BIN/MINGW64/32/OPT/INCLUDE" -I"C:\UPP\UPP\BIN/SDL2/INCLUDE" -I"C:\UPP\UPP\BIN/PGSQL/X86/INCLUDE" -I"C:\UPP\UPP\BIN/MYSQL/INCLUDE" -I"C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN" -DFLAGGUI -DFLAGMAIN -DFLAGGCC -DFLAGWIN32 -MTHREADS -STATIC   -FEXCEPTIONS -MSSE2 -D__CRT__NO_INLINE -O2 -FFUNCTION-SECTIONS -X C++ -STD=C++14 "C:\UPP\UPP\EXAMPLES\EYECARE\EYECARE.CPP"  -O "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\EYECARE.O"C:\UPP\UPP\BIN/MINGW64/32/BIN\WINDRES.EXE -I "C:\UPP\UPP\EXAMPLES\EYECARE\ICON.RC" -O "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" --INCLUDE-DIR="C:\UPP\UPP/EXAMPLES" --INCLUDE-DIR="C:\UPP\UPP/UPPSRC" --INCLUDE-DIR="C:\UPP\UPP\BIN/MINGW64/32/I686-W~1/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/MINGW64/32/OPT/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/SDL2/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/PGSQL/X86/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP\BIN/MYSQL/INCLUDE" --INCLUDE-DIR="C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGWG~1.MAI" -DFLAGGUI -DFLAGMAIN -DFLAGGCC -DFLAGWIN32
EYECARE: 2 FILE(S) BUILT IN (0:05.33), 2665 MSECS / FILE, DURATION = 5331 MSECS
LINKING...
C++ -STATIC -MWINDOWS -MTHREADS -O "C:\UPP\UPP\OUT\EXAMPLES\MINGW.GUI\EYECARE.EXE" -WL,-S -L"C:\UPP\UPP\BIN/MINGW64/32/I686-W64-MINGW32/LIB" -L"C:\UPP\UPP\BIN/MINGW64/32/OPT/LIB" -L"C:\UPP\UPP\BIN/SDL2/LIB/X86" -L"C:\UPP\UPP\BIN/PGSQL/X86/BIN" -L"C:\UPP\UPP\BIN/MYSQL/LIB32" -WL,--STACK,20000000            "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\EYECARE.O" "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMPREG.O" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTERINIT.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNGREG.O" -WL,--START-GROUP  "C:/UPP/UPP/OUT/EXAMPLES/CTRLLIB/MINGW.GUI\CTRLLIB.A" "C:/UPP/UPP/OUT/EXAMPLES/CTRLCORE/MINGW.GUI\CTRLCORE.A" "C:/UPP/UPP/OUT/EXAMPLES/DRAW/MINGW.GUI\DRAW.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMP.A" "C:/UPP/UPP/OUT/EXAMPLES/RICHTEXT/MINGW.GUI\RICHTEXT.A" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTER.A" "C:/UPP/UPP/OUT/EXAMPLES/CORE/MINGW.GUI\CORE.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/Z/MINGW.GUI\Z.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNG.A" -LADVAPI32 -LCOMDLG32 -LCOMCTL32 -LUSER32 -LGDI32 -LUSER32 -LGDI32 -LADVAPI32 -LSHELL32 -LWINMM -LMPR -LKERNEL32 -LUSER32 -LOLE32 -LOLEAUT32 -LUUID -LWS2_32 -WL,--END-GROUP
C:\UPP\UPP\BIN/MINGW64/32/BIN\C++.EXE -STATIC -MWINDOWS -MTHREADS -O "C:\UPP\UPP\OUT\EXAMPLES\MINGW.GUI\EYECARE.EXE" -WL,-S -L"C:\UPP\UPP\BIN/MINGW64/32/I686-W64-MINGW32/LIB" -L"C:\UPP\UPP\BIN/MINGW64/32/OPT/LIB" -L"C:\UPP\UPP\BIN/SDL2/LIB/X86" -L"C:\UPP\UPP\BIN/PGSQL/X86/BIN" -L"C:\UPP\UPP\BIN/MYSQL/LIB32" -WL,--STACK,20000000            "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\EYECARE.O" "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMPREG.O" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTERINIT.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNGREG.O" -WL,--START-GROUP  "C:/UPP/UPP/OUT/EXAMPLES/CTRLLIB/MINGW.GUI\CTRLLIB.A" "C:/UPP/UPP/OUT/EXAMPLES/CTRLCORE/MINGW.GUI\CTRLCORE.A" "C:/UPP/UPP/OUT/EXAMPLES/DRAW/MINGW.GUI\DRAW.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMP.A" "C:/UPP/UPP/OUT/EXAMPLES/RICHTEXT/MINGW.GUI\RICHTEXT.A" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTER.A" "C:/UPP/UPP/OUT/EXAMPLES/CORE/MINGW.GUI\CORE.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/Z/MINGW.GUI\Z.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNG.A" -LADVAPI32 -LCOMDLG32 -LCOMCTL32 -LUSER32 -LGDI32 -LUSER32 -LGDI32 -LADVAPI32 -LSHELL32 -LWINMM -LMPR -LKERNEL32 -LUSER32 -LOLE32 -LOLEAUT32 -LUUID -LWS2_32 -WL,--END-GROUP
EXITCODE: 0
C:\UPP\UPP\OUT\EXAMPLES\MINGW.GUI\EYECARE.EXE (4161536 B) LINKED IN (0:00.68)
OK. (3:11.07)


and here is the same thing from old TheIDE version (working one) :
ICON.RC
C:\UPP\UPP.OLD\BIN/MINGW64/32/BIN\WINDRES.EXE -I "C:\UPP\UPP\EXAMPLES\EYECARE\ICON.RC" -O "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" --INCLUDE-DIR="C:\UPP\UPP/EXAMPLES" --INCLUDE-DIR="C:\UPP\UPP/UPPSRC" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/MINGW64/32/I686-W~1/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/MINGW64/32/OPT/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/SDL2/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/PGSQL/X86/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/MYSQL/INCLUDE" --INCLUDE-DIR="C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGWG~1.MAI" -DFLAGGUI -DFLAGMAIN -DFLAGGCC -DFLAGWIN32
COMPILED IN (0:00.01)
C:\UPP\UPP.OLD\BIN/MINGW64/32/BIN\WINDRES.EXE -I "C:\UPP\UPP\EXAMPLES\EYECARE\ICON.RC" -O "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" --INCLUDE-DIR="C:\UPP\UPP/EXAMPLES" --INCLUDE-DIR="C:\UPP\UPP/UPPSRC" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/MINGW64/32/I686-W~1/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/MINGW64/32/OPT/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/SDL2/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/PGSQL/X86/INCLUDE" --INCLUDE-DIR="C:\UPP\UPP.OLD\BIN/MYSQL/INCLUDE" --INCLUDE-DIR="C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGWG~1.MAI" -DFLAGGUI -DFLAGMAIN -DFLAGGCC -DFLAGWIN32
EYECARE: 1 FILE(S) BUILT IN (0:00.18), 184 MSECS / FILE, DURATION = 203 MSECS, PARALLELIZATION 0%
LINKING...
C++ -STATIC -MWINDOWS -MTHREADS -O "C:\UPP\UPP\OUT\EXAMPLES\MINGW.GUI\EYECARE.EXE" -WL,-S -L"C:\UPP\UPP.OLD\BIN/MINGW64/32/I686-W64-MINGW32/LIB" -L"C:\UPP\UPP.OLD\BIN/MINGW64/32/OPT/LIB" -L"C:\UPP\UPP.OLD\BIN/SDL2/LIB/X86" -L"C:\UPP\UPP.OLD\BIN/PGSQL/X86/BIN" -L"C:\UPP\UPP.OLD\BIN/MYSQL/LIB32" -WL,-O,2  -WL,--STACK,20000000            "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\EYECARE.O" "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMPREG.O" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTERINIT.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNGREG.O" -WL,--START-GROUP  "C:/UPP/UPP/OUT/EXAMPLES/CTRLLIB/MINGW.GUI\CTRLLIB.A" "C:/UPP/UPP/OUT/EXAMPLES/CTRLCORE/MINGW.GUI\CTRLCORE.A" "C:/UPP/UPP/OUT/EXAMPLES/DRAW/MINGW.GUI\DRAW.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMP.A" "C:/UPP/UPP/OUT/EXAMPLES/RICHTEXT/MINGW.GUI\RICHTEXT.A" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTER.A" "C:/UPP/UPP/OUT/EXAMPLES/CORE/MINGW.GUI\CORE.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/Z/MINGW.GUI\Z.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNG.A" -LADVAPI32 -LCOMDLG32 -LCOMCTL32 -LUSER32 -LGDI32 -LUSER32 -LGDI32 -LADVAPI32 -LSHELL32 -LWINMM-LMPR -LKERNEL32 -LUSER32 -LOLE32 -LOLEAUT32 -LUUID -LWS2_32 -WL,--END-GROUP
C:\UPP\UPP.OLD\BIN/MINGW64/32/BIN\C++.EXE -STATIC -MWINDOWS -MTHREADS -O "C:\UPP\UPP\OUT\EXAMPLES\MINGW.GUI\EYECARE.EXE" -WL,-S -L"C:\UPP\UPP.OLD\BIN/MINGW64/32/I686-W64-MINGW32/LIB" -L"C:\UPP\UPP.OLD\BIN/MINGW64/32/OPT/LIB" -L"C:\UPP\UPP.OLD\BIN/SDL2/LIB/X86" -L"C:\UPP\UPP.OLD\BIN/PGSQL/X86/BIN" -L"C:\UPP\UPP.OLD\BIN/MYSQL/LIB32" -WL,-O,2  -WL,--STACK,20000000            "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\EYECARE.O" "C:/UPP/UPP/OUT/EXAMPLES/EYECARE/MINGW.GUI.MAIN\ICON$RC.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMPREG.O" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTERINIT.O" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNGREG.O" -WL,--START-GROUP  "C:/UPP/UPP/OUT/EXAMPLES/CTRLLIB/MINGW.GUI\CTRLLIB.A" "C:/UPP/UPP/OUT/EXAMPLES/CTRLCORE/MINGW.GUI\CTRLCORE.A" "C:/UPP/UPP/OUT/EXAMPLES/DRAW/MINGW.GUI\DRAW.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/BMP/MINGW.GUI\BMP.A" "C:/UPP/UPP/OUT/EXAMPLES/RICHTEXT/MINGW.GUI\RICHTEXT.A" "C:/UPP/UPP/OUT/EXAMPLES/PAINTER/MINGW.GUI\PAINTER.A" "C:/UPP/UPP/OUT/EXAMPLES/CORE/MINGW.GUI\CORE.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/Z/MINGW.GUI\Z.A" "C:/UPP/UPP/OUT/EXAMPLES/PLUGIN/PNG/MINGW.GUI\PNG.A" -LADVAPI32 -LCOMDLG32 -LCOMCTL32 -LUSER32 -LGDI32 -LUSER32 -LGDI32 -LADVAPI32 -LSHELL32 -LWINMM -LMPR -LKERNEL32 -LUSER32 -LOLE32 -LOLEAUT32 -LUUID -LWS2_32 -WL,--END-GROUP
EXITCODE: 0
C:\UPP\UPP\OUT\EXAMPLES\MINGW.GUI\EYECARE.EXE (4234240 B) LINKED IN (0:01.19)
OK. (0:01.54)


Seems like no difference, except this thing on linking (working one) ->
-WL,-O,2 -WL,--STACK,20000000 
instead of
-WL,--STACK,20000000

(to make thing easier to read I had refractored the text)

[Updated on: Thu, 18 July 2019 15:48]

Report message to a moderator

Previous Topic: Undefined Reference to GTK
Next Topic: log-file is empty
Goto Forum:
  


Current Time: Mon Sep 16 10:58:36 CEST 2019

Total time taken to generate the page: 0.01132 seconds