Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid URI detect within C++ project files #19

Open
GoogleCodeExporter opened this issue Nov 18, 2015 · 1 comment
Open

Invalid URI detect within C++ project files #19

GoogleCodeExporter opened this issue Nov 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

MakeitSo Version 1.2.0

1. run makeitso -file=RhmDxfDwgCheckCsv.sln    (Attachment)

2.
It may be, the problem is with placeholders for system variables that are 
defined in a CMD file:

set GILIB = M: \
set VSRHMENV = D: \ SANDBOX \ RHMTRUNK
...

rem RhmCore  
set RHMCOREH =% VSRHMENV% \ RhmCore
set RHMBASEH =% VSRHMENV% \ RhmGenBase
set RHMERRH =% VSRHMENV% \ RhmErrCodes
set RHMRXH =% VSRHMENV% \ RhmRegex

set PATH =% PATH%; ...; ...

rem use vstudio
"C: \ Program Files \ Common Files \ Microsoft Shared \ MSENV \ VSLauncher.exe" 
"RhmDxfDwgCheckCsv.sln"
rem or MSBUILD

C: \ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ msbuild [pathto] \ 
RhmDxfDwgCheckCsv.vcxproj / p: configuration = debug / t: rebuild
[...]

The aim then is the automatic code generation via makeitso and gcc also for 
linux...

3. What is the expected output? What do you see instead?

Parsing rhmdxfdwgcheckcsv.sln
- parsing project RhmDxfDwgCheckCsv
  - FAILED (Ung�ltiger URI: Das URI-Format konnte nicht bestimmt werden.)
- parsing project RhmDxfDwgCheckCsv_Test
  - FAILED (Ung�ltiger URI: Das URI-Format konnte nicht bestimmt werden.)
Parsing succeeded.
Creating makefile...
Creating makefile succeeded.

What version of the product are you using? On what operating system?

MakeitSo Version 1.2.0, WinXPProf

I have tried to meeting closer to the problem of using the debug Repsitory 
(VS2008 and VS2010), but the version from the repository behaves differently:

[SolutionParser.cs - VS2010]

 case ProjectType.CPP_PROJECT:
 {
  //...
   VCProject vcProject = Utils.call(() => (project.Object as VCProject));
  //Error:  vcProject is NULL!!!
 ...
 }

Please provide any additional information below.

I would like to participate to help solve the path-token-problem within the 
vcxproj. The realization of makeitso.config is too static and hardly applicable 
here.

Thank you for this exellent work and your efforts..


Bernd






Original issue reported on code.google.com by moms...@gmx.de on 22 Mar 2012 at 2:35

Attachments:

@GoogleCodeExporter
Copy link
Author

Hi Bernd,

I'm not actively enhancing make-it-so at the moment. As you say, I can imagine 
that it doesn't manage environment variables quite right.

If you want to contribute to it, can you mail me at 
richard_s_shepherd(at)yahoo.co.uk, and I can give you write permissions to the 
code repository?


Richard

Original comment by richard....@gmail.com on 18 Apr 2012 at 7:43

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant