|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Project files for MS Visual Studio
Re: Project files for MS Visual Studio [message #9275 is a reply to message #8990] |
Wed, 25 April 2007 06:10 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
ebojd wrote on Wed, 11 April 2007 07:50 | If I recall correctly, CMake is not a makefile generator, but a build system in itself. As I understand it, the makefile generator generates Makefiles from the .upp project description. It still depends on the system installed build facilities. So, I think of this as basically an export the build directives to ***
EBo --
|
Sorry for a long disappearance.
http://www.cmake.org/HTML/Features.html
"Generates native build files (e.g., makefiles on Unix; workspaces/projects on MS Visual C++). Therefore standard tools can be used on any platform/compiler configuration."
As I recall, project file generator in CMake is hardcoded into the code. It is just a bunch of print statements. So, you cannot fix anything without changing the code. That seems to be a bad idea (at least to me).
Regards,
Novo
|
|
|
|
Re: Project files for MS Visual Studio [message #10290 is a reply to message #9274] |
Sat, 30 June 2007 05:23 |
dskips
Messages: 2 Registered: June 2007
|
Junior Member |
|
|
Hi I tried using your VC8 project files to build upp. Most projects built fine but the following fail:
MySql
c:\upp\uppsrc\mysql\MySql.h(12) : fatal error C1083: Cannot open include file: 'MySql.h': No such file or directory
Geom_Coords
c:\upp\uppsrc\geom\coords\GeomCoords.h(5) : fatal error C1083: Cannot open include file: 'TCore/TCore.h': No such file or directory
SqlCommander
c:\upp\uppsrc\geom\coords\GeomCoords.h(5) : fatal error C1083: Cannot open include file: 'TCore/TCore.h': No such file or directory
I dont seem to have a C:\upp\uppsrc\Tcore directory, should I?
I'm not going to be using any SQL stuff in the forseeable future so I can omit those projects from compilation. Can I omit GeomCoords?
Any ideas? This toolkit looks really cool and I'd like to try it but at the moment it doesn't look promising.
[Updated on: Sat, 30 June 2007 05:38] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Project files for MS Visual Studio [message #10397 is a reply to message #10361] |
Thu, 05 July 2007 23:14 |
okigan
Messages: 16 Registered: March 2006
|
Promising Member |
|
|
luzr wrote on Wed, 04 July 2007 01:34 |
okigan wrote on Tue, 03 July 2007 21:13 | Why not associate theIDE with .lay and other files so double
click in VS would start up as the editor?
|
Well, this is what I was suggesting, was not I
|
yes, you were. Just reafirming the point.
luzr wrote on Wed, 04 July 2007 01:34 |
Quote: |
linking against .obj file corresponding to *.iccp would be
acceptable solution since it does not rely on specific VC++
extensions.
|
I do not get this. What extensions?
Mirek
|
If *.iccp file compiled into the library (as a regular cpp) the
linker will drop the object code from them since they are not
referenced inside the library itself.
theIDE has a work around for this, but to make it work with
other IDE's one would have to use non-standard extensions to
force the linker to reference the code in iccp file. Snapshot
for VS2005 attached. (Is it not?)
Another approach is to link with *.obj files corresponding to
*.iccp with the target executable....
-Igor
[Updated on: Thu, 05 July 2007 23:15] Report message to a moderator
|
|
|
|
|
|
Re: Project files for MS Visual Studio [message #10525 is a reply to message #10454] |
Sat, 14 July 2007 00:22 |
okigan
Messages: 16 Registered: March 2006
|
Promising Member |
|
|
Novo wrote on Tue, 10 July 2007 00:15 |
I've played with "Force Symbol References" in VS 7.1. I've set it to ?CtrlSetDefaultSkin@Upp<a href="mailto:@@YAXP6AXXZ0" target="_blank">@@YAXP6AXXZ0</a>@Z . No luck at all. Got the same flat gray interface.
|
Yeah... i did not feel those are easy to get working.
Novo wrote on Tue, 10 July 2007 00:15 |
I don't think many people will want to link their applications against Core_init.obj, CtrlCore.obj, CtrlLib.obj, Oracle_init.obj, e.t.c in addition to appropriate static libraries.
|
Agree, it's a pain and strange. Though works consistently.
Novo wrote on Tue, 10 July 2007 00:15 |
IMHO it is just a bad idea to use special linking rules instead of explicitly referencing symbols in icpp files. It is just a bad practice. Trying to solve that problem is just waste of time.
|
How about adding #pramga lib to bring in thouse *.obj files?
Novo wrote on Tue, 10 July 2007 00:15 |
Ultimate++ is either usable with Visual Studio or not. At this particular moment it is not usable. (Of course, you can explicitly call SetSkin(ChHostSkin) in your application as I did. )
|
Or how about modifying a macro (e.x. GUI_APP_MAIN) to reference thouse functions? And yes upp is not yet usable in VS.
-Igor
|
|
|
|
Goto Forum:
Current Time: Sat Sep 21 03:01:04 CEST 2024
Total time taken to generate the page: 0.09311 seconds
|
|
|