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

PG not working with addons on nightly builds #570

Closed
dimitre opened this issue Aug 29, 2024 · 6 comments
Closed

PG not working with addons on nightly builds #570

dimitre opened this issue Aug 29, 2024 · 6 comments

Comments

@dimitre
Copy link
Member

dimitre commented Aug 29, 2024

addons are empty. maybe a previous PG version is being used.
I've now updated PG to show version inside project
#569

And I've noticed VS project is failing also.

@dimitre
Copy link
Member Author

dimitre commented Aug 30, 2024

Hello @danoli3 I've noticed nightly builds aren't using the latest PG version.
Does it use the submodule commit? Thanks

@danoli3
Copy link
Member

danoli3 commented Aug 31, 2024

(ClCompile target) -> 
  D:\a\projectGenerator\openFrameworks\apps\projectGenerator\commandLine\src\utils\Utils.cpp(42,24): error C2079: 'buffer' uses undefined class 'std::array<char,128>' [D:\a\projectGenerator\openFrameworks\apps\projectGenerator\commandLine\commandLine.vcxproj]
  D:\a\projectGenerator\openFrameworks\apps\projectGenerator\commandLine\src\utils\Utils.cpp(54,7): error C[266](https://github.com/openframeworks/projectGenerator/actions/runs/10620500009/job/29506918650#step:8:267)0: 'fgets': function does not take 2 arguments [D:\a\projectGenerator\openFrameworks\apps\projectGenerator\commandLine\commandLine.vcxproj]```

@dimitre
Copy link
Member Author

dimitre commented Sep 1, 2024

Thanks. I fixed this and updated OF submodule to master, generated nightly and we still have issues on example generated projects (no addons in project, already closed past PG issue)
Can you help us identifying which version is used to generate recursive examples for nightlies?

@dimitre
Copy link
Member Author

dimitre commented Sep 10, 2024

@danoli3 any info on that?
I think it maybe is using PG from "bleeding" which is outdated

@dimitre
Copy link
Member Author

dimitre commented Sep 11, 2024

Ok I've changed scripts so it shows the result of projectGenerator recursively updating examples and it is up to date.
the issue is related to json issues.
log:
https://github.com/openframeworks/openFrameworks/actions/runs/10811904712/job/29992334472

relevant log entries:

  xcodeProject saveProjectFile() first json error 
  [json.exception.parse_error.109] parse error: array index '_OFProjectGeneratorVersion' is not a number
   error at this path: /_OFProjectGeneratorVersion
  xcodeProject saveProjectFile() first json error 
  [json.exception.parse_error.109] parse error: array index 'objects' is not a number
   error at this path: /objects/E545492E-12F4-4B75-A70B-12CE90A38BC6/fileEncoding
  xcodeProject saveProjectFile() first json error 
  [json.exception.parse_error.109] parse error: array index 'objects' is not a number
   error at this path: /objects/E545492E-12F4-4B75-A70B-12CE90A38BC6/isa
  xcodeProject saveProjectFile() first json error 
  [json.exception.parse_error.109] parse error: array index 'objects' is not a number
   error at this path: /objects/E545492E-12F4-4B75-A70B-12CE90A38BC6/lastKnownFileType
  xcodeProject saveProjectFile() first json error 
  [json.exception.parse_error.109] parse error: array index 'objects' is not a number
   error at this path: /objects/E545492E-12F4-4B75-A70B-12CE90A38BC6/name
  xcodeProject saveProjectFile() first json error 
  [json.exception.parse_error.109] parse error: array index 'objects' is not a number
   error at this path: /objects/E545492E-12F4-4B75-A70B-12CE90A38BC6/sourceTree
  xcodeProject saveProjectFile() json error

@dimitre
Copy link
Member Author

dimitre commented Sep 12, 2024

closed by #573

@dimitre dimitre closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants