|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Project files for MS Visual Studio
Project files for MS Visual Studio [message #8372] |
Tue, 06 March 2007 06:47  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
I've made project files for MS Visual Studio and tried to compile them. Unfortunately I couldn't compile many projects including Core because of various problems. See below.
d:\home\sergey\cpp\code\GUI\upp\2007.1rc2\uppsrc\ide\VectorD es\IdeVectorDes.h(4) : fatal error C1083: Cannot open include file: 'VectorDes/VectorDes.h': No such file or directory
Para.cpp(1) : fatal error C1083: Cannot open include file: 'NText.h': No such file or directory
Locale.cpp(4) : error C2143: syntax error : missing ';' before '<'
Last message seems to happen because Locale.cpp doesn't belong to the UPP namespace.
Is that a problem with UPP, or it is my fault?
I'm using 2007.1rc2.
Thanks.
P.S. There are newer versions of project files below.
Regards,
Novo
[Updated on: Tue, 10 July 2007 06:26] Report message to a moderator
|
|
|
|
Re: Project files for MS Visual Studio [message #8404 is a reply to message #8392] |
Wed, 07 March 2007 06:13   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
I've removed projects that are under development and fixed others.
There is one problem left in project Ole_Ctrl:
util.cpp(466) : error C2664: 'LoadTypeLib' : cannot convert parameter 1 from 'Upp::WString' to 'const OLECHAR *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
I've also put "using namespace UPP;" into OleCtrl.h in order to be able to compile it.
A result is attached.
I can prepare project files for the whole UPP if somebody needs them. I can also build project files for vc8, bds4, cc, em3 and ghs
Regards,
Novo
[Updated on: Wed, 07 March 2007 06:14] Report message to a moderator
|
|
|
|
Re: Project files for MS Visual Studio [message #8451 is a reply to message #8414] |
Sat, 10 March 2007 18:47   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
I think it is a good idea to support multiple development environments. Publishing of project files for msvc and other IDE would attract people to UPP.
Release privileges at sf.net would speed up the process.
But I steel need a few day to prepare first version.
Thanks.
Regards,
Novo
|
|
|
|
|
|
Re: Project files for MS Visual Studio [message #8571 is a reply to message #8569] |
Sun, 18 March 2007 18:47   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 18 March 2007 06:51 |
I think .icpp is the cause. Frankly, not quite sure how to resolve this problem in Visual Studio.
Mirek
|
Thanks. I'll try to find a solution ...
Regards,
Novo
|
|
|
|
|
Re: Project files for MS Visual Studio [message #8881 is a reply to message #8870] |
Thu, 05 April 2007 05:01   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
bitsun wrote on Wed, 04 April 2007 07:53 | the files are corrupted,i can not open them with zip.
Could you please check it out.
|
Checked. Archive is okay. It is packed with tar+gzip, but just zip.
Regards,
Novo
|
|
|
|
|
|
Re: Project files for MS Visual Studio [message #8973 is a reply to message #8920] |
Wed, 11 April 2007 04:51   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
luzr wrote on Sat, 07 April 2007 14:44 | So, what is the status? Do you think you will maintain this as another "port"? (For major releases only).
Mirek
|
There is still no handling for icpp files.
Actually, I can fix these project files manually. (I would limit myself with 33 main project files.)
About the maintenance of a "port".
I cannot promise that I will do this forever, but because everything (project files) is generated automatically, everybody can do that when I'm gone.
I'll prepare new project files, probably, next weekend.
Regards,
Novo
|
|
|
Re: Project files for MS Visual Studio [message #8974 is a reply to message #8934] |
Wed, 11 April 2007 05:17   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
ebojd wrote on Sun, 08 April 2007 12:22 |
Novo wrote on Wed, 04 April 2007 23:25 | For your convenience I uploaded solutions to build 33 main projects with vc71 and vc8 archived with zip.
|
This got me to thinking... Do you think you could write a MSVC project generator similar to how *NIX Makefiles are generated?
EBo --
|
It is a tricky question. I can write a MSVC project generator. I even wanted once. But I do not want to do this the way TheIDE does.
The makefile generator from TheIDE is hard to extend and support.
I'm using MPC because I like very much ideas it is based on.
Domain-specific language + template engine. That is it.
The only drawback of MPC is perl.
If you need a makefile generator in stile of TheIDE you can take a look at CMake (http://www.cmake.org/HTML/Index.html).
Regards,
Novo
|
|
|
|
|
Re: Project files for MS Visual Studio [message #9274 is a reply to message #9024] |
Wed, 25 April 2007 05:58   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
Sorry for the delay with the answer.
I've tried your approach. For some reason it doesn't work for me. You set "C/C++ Compiler Tool" as a tool for an icpp file. I couldn't find where you link against a compiled file.
I even went further. I explicitly link against an object file (check Debug configuration in vc71 project file attached below). That doesn't help either.
Somewhat improved project files are attached below.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Wed May 14 02:06:40 CEST 2025
Total time taken to generate the page: 0.01503 seconds
|
|
|