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++ 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 Go to next message
Novo is currently offline  Novo
Messages: 1358
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 #8392 is a reply to message #8372] Tue, 06 March 2007 20:12 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
BTW. I'm reporting bugs.

For example, there is no such file as VectorDes.h


Regards,
Novo
Re: Project files for MS Visual Studio [message #8404 is a reply to message #8392] Wed, 07 March 2007 06:13 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
I've removed projects that are under development and fixed others.
Embarassed

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 Rolling Eyes


Regards,
Novo

[Updated on: Wed, 07 March 2007 06:14]

Report message to a moderator

Re: Project files for MS Visual Studio [message #8414 is a reply to message #8404] Thu, 08 March 2007 13:53 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Sounds good. Do you think it is a good idea to publish those as sf.net downloads? Do you want file release priviledges?

Mirek
Re: Project files for MS Visual Studio [message #8451 is a reply to message #8414] Sat, 10 March 2007 18:47 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
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 #8518 is a reply to message #8451] Thu, 15 March 2007 05:08 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
First release-candidate for vc71 Wink

190 projects. Cool

Everything compiles ...

Have fun.


Regards,
Novo
Re: Project files for MS Visual Studio [message #8534 is a reply to message #8518] Fri, 16 March 2007 05:36 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
When I run applications compiled using my vc project files I'm getting Look&Feel like on the attached image. Actually, everything is flattened. When I push the "Host" button everything returns to normal.

I'm definitely miss something ...
Could somebody explain to me what exactly I'm missing?

Thank you.
  • Attachment: img01.gif
    (Size: 3.54KB, Downloaded 406 times)


Regards,
Novo
Re: Project files for MS Visual Studio [message #8569 is a reply to message #8534] Sun, 18 March 2007 11:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Fri, 16 March 2007 00:36

When I run applications compiled using my vc project files I'm getting Look&Feel like on the attached image. Actually, everything is flattened. When I push the "Host" button everything returns to normal.

I'm definitely miss something ...
Could somebody explain to me what exactly I'm missing?

Thank you.


I think .icpp is the cause. Frankly, not quite sure how to resolve this problem in Visual Studio.

Mirek
Re: Project files for MS Visual Studio [message #8571 is a reply to message #8569] Sun, 18 March 2007 18:47 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
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 #8584 is a reply to message #8571] Tue, 20 March 2007 05:13 Go to previous messageGo to next message
okigan is currently offline  okigan
Messages: 16
Registered: March 2006
Promising Member
To get the .icpp files linked into target project see workspace I posted here: http://www.ultimatepp.org/forum/index.php?t=msg&&th= 1986&goto=8099#msg_8099

-Igor
Re: Project files for MS Visual Studio [message #8870 is a reply to message #8372] Wed, 04 April 2007 13:53 Go to previous messageGo to next message
bitsun is currently offline  bitsun
Messages: 12
Registered: March 2007
Location: Germany
Promising Member
the files are corrupted,i can not open them with zip.
Could you please check it out.
Re: Project files for MS Visual Studio [message #8881 is a reply to message #8870] Thu, 05 April 2007 05:01 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
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 #8882 is a reply to message #8881] Thu, 05 April 2007 06:25 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
For your convenience I uploaded solutions to build 33 main projects with vc71 and vc8 compressed with zip.


Regards,
Novo

[Updated on: Tue, 10 April 2007 03:56]

Report message to a moderator

Re: Project files for MS Visual Studio [message #8920 is a reply to message #8882] Sat, 07 April 2007 20:44 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
So, what is the status? Do you think you will maintain this as another "port"? (For major releases only).

Mirek
Re: Project files for MS Visual Studio [message #8934 is a reply to message #8882] Sun, 08 April 2007 18:22 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
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 --
Re: Project files for MS Visual Studio [message #8973 is a reply to message #8920] Wed, 11 April 2007 04:51 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
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 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
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 #8990 is a reply to message #8974] Wed, 11 April 2007 13:50 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
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 --
Re: Project files for MS Visual Studio [message #9024 is a reply to message #8973] Fri, 13 April 2007 02:49 Go to previous messageGo to next message
okigan is currently offline  okigan
Messages: 16
Registered: March 2006
Promising Member
>There is still no handling for icpp files.
Just ignoring above post ? Not even a reason Smile?

>> To get the .icpp files linked into target project see
>> workspace I posted here:
>> http://www.ultimatepp.org/forum/index.php?t=msg&&th= 1986&goto=8099#msg_8099
Re: Project files for MS Visual Studio [message #9274 is a reply to message #9024] Wed, 25 April 2007 05:58 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
okigan wrote on Thu, 12 April 2007 20:49

>There is still no handling for icpp files.
Just ignoring above post ? Not even a reason Smile?

>> To get the .icpp files linked into target project see
>> workspace I posted here:
>> http://www.ultimatepp.org/forum/index.php?t=msg&&th= 1986&goto=8099#msg_8099


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
Previous Topic: Cross Compile UPP for armv5l arch
Next Topic: Prevent to create configuration directory
Goto Forum:
  


Current Time: Fri Mar 29 01:36:26 CET 2024

Total time taken to generate the page: 0.01283 seconds