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 » Cannot Compile TheIDE with MSVC12
Cannot Compile TheIDE with MSVC12 [message #43986] Sun, 07 December 2014 16:20 Go to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Hallo,
I'm new to UPP and I'm tring to put up my working enviroment.
I began with using MINGW and MSVC12, the last one was not installed but copied from another PC,
I had to do some arrangement to make it work.
I use a Windows 7 32 bit minimalist virtual machine.

Well, I can compile with both compiler almost every example and application bundled with UPP (ver upp-win32-7904),
but I succeded to compile theide only with MINGW, when I try Build All with MSVC12 a get no error but if I try to excecute it
from theide I get this.
Any suggestions?

----- ide/Common ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (1 / 35)
cd C:\upp\uppsrc\ide\Common
----- ide/Core ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (2 / 35)
cd C:\upp\uppsrc\ide\Core
----- ide/LayDes ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (3 / 35)
cd C:\upp\uppsrc\ide\LayDes
----- ide/IconDes ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (4 / 35)
cd C:\upp\uppsrc\ide\IconDes
----- ide/Builders ( GUI MT MSC12 DEBUG DEBUG_FULL WIN32 MSC ) (5 / 35)
cd C:\upp\uppsrc\ide\Builders
----- ide/Debuggers ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (6 / 35)
cd C:\upp\uppsrc\ide\Debuggers
C:\upp\uppsrc\ide\Debuggers\i386.cpu(1) : blocks BLITZ of C:\upp\uppsrc\ide\Debuggers\Cpu.cpp
----- ide/Browser ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (7 / 35)
cd C:\upp\uppsrc\ide\Browser
----- CodeEditor ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (8 / 35)
cd C:\upp\uppsrc\CodeEditor
C:\upp\uppsrc\Core\t.h(1) : blocks BLITZ of C:\upp\uppsrc\CodeEditor\CodeEditor.cpp
----- CtrlLib ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (9 / 35)
cd C:\upp\uppsrc\CtrlLib
C:\upp\uppsrc\CtrlLib\XPTheme.dli(1) : blocks BLITZ of C:\upp\uppsrc\CtrlLib\ChWin32.cpp
C:\upp\uppsrc\CtrlLib\ChGtk.h(1) : blocks BLITZ of C:\upp\uppsrc\CtrlLib\ChGtk0.cpp
C:\upp\uppsrc\CtrlLib\ChGtk.h(1) : blocks BLITZ of C:\upp\uppsrc\CtrlLib\ChGtk.cpp
----- plugin/bz2 ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (10 / 35)
cd C:\upp\uppsrc\plugin\bz2
----- HexView ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (11 / 35)
cd C:\upp\uppsrc\HexView
----- art/BlueBar ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (12 / 35)
cd C:\upp\uppsrc\art\BlueBar
----- plugin/astyle ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (13 / 35)
cd C:\upp\uppsrc\plugin\astyle
C:\MSVC12\x86\include\cassert(1) : blocks BLITZ of C:\upp\uppsrc\plugin\astyle\ASFormatter.cpp
----- usvn ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (14 / 35)
cd C:\upp\uppsrc\usvn
----- TextDiffCtrl ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (15 / 35)
cd C:\upp\uppsrc\TextDiffCtrl
----- TabBar ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (16 / 35)
cd C:\upp\uppsrc\TabBar
C:\upp\uppsrc\Core\t.h(1) : blocks BLITZ of C:\upp\uppsrc\TabBar\TabBar.cpp
----- ide/Designers ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (17 / 35)
cd C:\upp\uppsrc\ide\Designers
----- Esc ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (18 / 35)
cd C:\upp\uppsrc\Esc
----- Core ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (19 / 35)
cd C:\upp\uppsrc\Core
C:\upp\uppsrc\Core\HeapImp.h(1) : blocks BLITZ of C:\upp\uppsrc\Core\heaputil.cpp
C:\upp\uppsrc\Core\HeapImp.h(1) : blocks BLITZ of C:\upp\uppsrc\Core\lheap.cpp
C:\upp\uppsrc\Core\HeapImp.h(1) : blocks BLITZ of C:\upp\uppsrc\Core\heap.cpp
C:\upp\uppsrc\Core\HeapImp.h(1) : blocks BLITZ of C:\upp\uppsrc\Core\heapdbg.cpp
C:\upp\uppsrc\Core\CharSet.i(1) : blocks BLITZ of C:\upp\uppsrc\Core\CharSet.cpp
C:\upp\uppsrc\Core\t.h(1) : blocks BLITZ of C:\upp\uppsrc\Core\t.cpp
----- plugin/z ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (20 / 35)
cd C:\upp\uppsrc\plugin\z
----- RichEdit ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (21 / 35)
cd C:\upp\uppsrc\RichEdit
----- IconDes ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (22 / 35)
cd C:\upp\uppsrc\IconDes
----- plugin/gif ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (23 / 35)
cd C:\upp\uppsrc\plugin\gif
----- plugin/jpg ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (24 / 35)
cd C:\upp\uppsrc\plugin\jpg
C:\upp\uppsrc\plugin\jpg\lib\jinclude.h(1) : blocks BLITZ of C:\upp\uppsrc\plugin\jpg\jpgupp.cpp
----- Painter ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (25 / 35)
cd C:\upp\uppsrc\Painter
----- Draw ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (26 / 35)
cd C:\upp\uppsrc\Draw
----- plugin/ndisasm ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (27 / 35)
cd C:\upp\uppsrc\plugin\ndisasm
----- CppBase ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (28 / 35)
cd C:\upp\uppsrc\CppBase
----- PdfDraw ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (29 / 35)
cd C:\upp\uppsrc\PdfDraw
C:\upp\uppsrc\PdfDraw\ICCColorSpace.i(1) : blocks BLITZ of C:\upp\uppsrc\PdfDraw\PdfDraw.cpp
----- plugin/pcre ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (30 / 35)
cd C:\upp\uppsrc\plugin\pcre
C:\upp\uppsrc\plugin\pcre\lib\pcre_chartables.c(1) : blocks BLITZ of C:\upp\uppsrc\plugin\pcre\lib.cpp
----- CtrlCore ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (31 / 35)
cd C:\upp\uppsrc\CtrlCore
----- plugin/bmp ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (32 / 35)
cd C:\upp\uppsrc\plugin\bmp
----- RichText ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (33 / 35)
cd C:\upp\uppsrc\RichText
----- plugin/png ( GUI MT MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (34 / 35)
cd C:\upp\uppsrc\plugin\png
----- ide ( GUI MT MAIN MSC12 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (35 / 35)
cd C:\upp\uppsrc\ide
ide.rc
compiled in (0:00.00)

There were errors. (0:00.96)


Regards,
Silvan
Re: Cannot Compile TheIDE with MSVC12 [message #43990 is a reply to message #43986] Tue, 09 December 2014 15:37 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Any ideas?
How can I read the sequence of command theide runs and see were there are errors?
Re: Cannot Compile TheIDE with MSVC12 [message #43993 is a reply to message #43986] Tue, 09 December 2014 21:38 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Well,
I find where to look for the command.
Under MSC the build process does not compile the file ide.rc.
But there is no error code, and I don't see which tool theide calls.

Any Idea?
Re: Cannot Compile TheIDE with MSVC12 [message #44001 is a reply to message #43993] Wed, 10 December 2014 12:43 Go to previous messageGo to next message
andreincx is currently offline  andreincx
Messages: 15
Registered: March 2014
Promising Member
Check menu option "Setup>Be verbose" and see Console output in TheIDE after build. Hopefully you'll spot the problem.

Andrei
Re: Cannot Compile TheIDE with MSVC12 [message #44006 is a reply to message #44001] Thu, 11 December 2014 11:10 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Ok I solved the problem, now I will refine the MSVC12 directory and try with the x64 compiler...
Re: Cannot Compile TheIDE with MSVC12 [message #44015 is a reply to message #43986] Fri, 12 December 2014 18:02 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Well It compiles also with the x64 compiler, but theIDE invokes the linker with
the argument machine:I386 and the linker abort.
I did not find an option to say to theIDE that the target is a x64 machine...
Re: Cannot Compile TheIDE with MSVC12 [message #44022 is a reply to message #44015] Mon, 15 December 2014 14:24 Go to previous messageGo to next message
andreincx is currently offline  andreincx
Messages: 15
Registered: March 2014
Promising Member
Have you selected in (menu) "Setup>Build methods.." (drop-down) Builder: MSC12X64?
Re: Cannot Compile TheIDE with MSVC12 [message #44024 is a reply to message #43986] Mon, 15 December 2014 15:51 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Yes I selected the x64 compile method that I have created manually.
I can't find an option to istruct theIDE to compile versus a 32 bit machine or 64.


Re: Cannot Compile TheIDE with MSVC12 [message #44029 is a reply to message #44024] Tue, 16 December 2014 08:08 Go to previous messageGo to next message
andreincx is currently offline  andreincx
Messages: 15
Registered: March 2014
Promising Member
Silvan wrote on Mon, 15 December 2014 15:51
Yes I selected the x64 compile method that I have created manually.
I can't find an option to istruct theIDE to compile versus a 32 bit machine or 64.



I don't have MSVC12 installed, but looking in code, it's handled like any other VS compiler.
If you've selected the right builder, it should work. (See attached image).

index.php?t=getfile&id=4685&private=0
  • Attachment: bm.png
    (Size: 15.46KB, Downloaded 709 times)
Re: Cannot Compile TheIDE with MSVC12 [message #44030 is a reply to message #43986] Tue, 16 December 2014 09:53 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Yes, I found this menu yesterday night and that solved the problem.

Now I want:
1) try to debug both in 32 and 64 bit mode.
2) clean the MSVC12 directory deleting the unnecessary files and duplicates.

Re: Cannot Compile TheIDE with MSVC12 [message #44040 is a reply to message #44030] Wed, 17 December 2014 12:41 Go to previous messageGo to next message
andreincx is currently offline  andreincx
Messages: 15
Registered: March 2014
Promising Member
Silvan wrote on Tue, 16 December 2014 09:53
Yes, I found this menu yesterday night and that solved the problem.

Now I want:
1) try to debug both in 32 and 64 bit mode.
2) clean the MSVC12 directory deleting the unnecessary files and duplicates.


I've wrote you about that option Mon, 15 December 2014 14:24
Last post was kind of duplicate (a picture is worth a thousand words) Smile

Good luck with that (1&2).

Best regards,
Andrei
Re: Cannot Compile TheIDE with MSVC12 [message #44072 is a reply to message #43986] Mon, 22 December 2014 14:10 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Well,

I razionalized the MSVC12 directory structure and files, now it is only 999Mb.
Succeded both in debugging in 32 and 64 bit mode (with the theIDE compiled in 64 bit).

Next...
1) Use the intel compiler
2) Try to compile under VC2008
Re: Cannot Compile TheIDE with MSVC12 [message #44102 is a reply to message #43986] Wed, 24 December 2014 23:11 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
There are errors compiling theIDE with Intel C++ Compiler 11.1.054:

C:\MSVC12\Include\yvals.h(666): error: pure specifier ("= 0") allowed only on virtual functions
__CLR_OR_THIS_CALL _Lockit(const _Lockit&) = delete;

??
Re: Cannot Compile TheIDE with MSVC12 [message #44113 is a reply to message #44102] Thu, 25 December 2014 16:25 Go to previous messageGo to next message
andreincx is currently offline  andreincx
Messages: 15
Registered: March 2014
Promising Member
Silvan wrote on Wed, 24 December 2014 23:11
There are errors compiling theIDE with Intel C++ Compiler 11.1.054:

C:\MSVC12\Include\yvals.h(666): error: pure specifier ("= 0") allowed only on virtual functions
__CLR_OR_THIS_CALL _Lockit(const _Lockit&) = delete;

??

Does Intel C++ compiler include files from MSVC12 compiler (shouldn't come with it's own set)? There's pure evil in that line: 666 Twisted Evil Razz

P.S.: i don't have intel compiler.
Re: Cannot Compile TheIDE with MSVC12 [message #44126 is a reply to message #43986] Sat, 27 December 2014 18:32 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Hi Andrei,
yes intel compiler requires Microsoft SDK...


[Updated on: Sat, 27 December 2014 18:32]

Report message to a moderator

Re: Cannot Compile TheIDE with MSVC12 [message #44208 is a reply to message #43986] Sun, 25 January 2015 18:49 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
No aid about Intel compiler, and I did not find any solution.
Well that is not really important,so I bypass this for now and start with the second point:
try to compile theIDE under VC2008.

Re: Cannot Compile TheIDE with MSVC12 [message #44210 is a reply to message #44208] Mon, 26 January 2015 15:09 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Silvan wrote on Sun, 25 January 2015 18:49
No aid about Intel compiler, and I did not find any solution.
Well that is not really important,so I bypass this for now and start with the second point:
try to compile theIDE under VC2008.



Have you tried 'recommended' path?

http://www.ultimatepp.org/app$ide$install$en-us.html

Mirek
Re: Cannot Compile TheIDE with MSVC12 [message #44215 is a reply to message #44210] Tue, 27 January 2015 10:15 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
mirek wrote on Mon, 26 January 2015 15:09
Silvan wrote on Sun, 25 January 2015 18:49
No aid about Intel compiler, and I did not find any solution.
Well that is not really important,so I bypass this for now and start with the second point:
try to compile theIDE under VC2008.



Have you tried 'recommended' path?

http://www.ultimatepp.org/app$ide$install$en-us.html

Mirek


Well,
the directory structure of the MSVC compiler and Intel compiler is different from that 'recommended'.
That does not do any problem to che MSVC compiler and I suppose that also che Intel compiler is not
affected by this, becouse there is no error about things not found.
When I try to compile TheIDE the first error is that:


C:\MSVC12\Include\yvals.h(666): error: pure specifier ("= 0") allowed only on virtual functions
__CLR_OR_THIS_CALL _Lockit(const _Lockit&) = delete;

It seems an error related to the language... bho....


Silvan

Re: Cannot Compile TheIDE with MSVC12 [message #44216 is a reply to message #43986] Tue, 27 January 2015 11:42 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
What are icpp files?
Re: Cannot Compile TheIDE with MSVC12 [message #44217 is a reply to message #44216] Tue, 27 January 2015 12:37 Go to previous messageGo to previous message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Silvan wrote on Tue, 27 January 2015 11:42
What are icpp files?


... and init files?

I read somethings about that on this forum.
Well my idea to build theIDE under Visual Studio is to create a solution (under MSVS) with
one project for each packages in Upp. Each project must reference the other projects that uses.

To do that can I simple deal an icpp file like a cpp file and ignore init file?

Previous Topic: TheIDE precompiled headers: again
Next Topic: valgrind problem, heap-leak debugging
Goto Forum:
  


Current Time: Thu Mar 28 17:53:57 CET 2024

Total time taken to generate the page: 0.02373 seconds