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

Add gl2ps #6507

Merged
merged 18 commits into from
Mar 5, 2025
Merged

Add gl2ps #6507

merged 18 commits into from
Mar 5, 2025

Conversation

luadebug
Copy link
Contributor

@luadebug luadebug commented Mar 3, 2025

It should be working, but I have issue with Windows v3.0 CI.
I decided to add ninja dependency so it repeat same error message for all another windows CIs and policy forcing ninja generator for cmake.
Maybe issue is behind a policy.set_default("package.cmake_generator.ninja", true)?

@luadebug
Copy link
Contributor Author

luadebug commented Mar 3, 2025

Idk how to fix Windows v3. One win arm error is false positive I guess. :/

@star-hengxing
Copy link
Contributor

star-hengxing commented Mar 4, 2025

I think you can use latest commit codebase.
Port to xmake for building better than cmake, because any cmake config file dose't install.

         -- Install configuration: "Release"
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/lib/gl2ps.lib
         -- Up-to-date: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/lib/gl2ps.lib
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/bin/gl2ps.dll
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/include/gl2ps.h
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./README.txt
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./COPYING.LGPL
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./COPYING.GL2PS
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./gl2psTest.c
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./gl2psTestSimple.c

@luadebug
Copy link
Contributor Author

luadebug commented Mar 4, 2025

I think you can use latest commit codebase. Port to xmake for building better than cmake, because any cmake config file dose't install.

         -- Install configuration: "Release"
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/lib/gl2ps.lib
         -- Up-to-date: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/lib/gl2ps.lib
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/bin/gl2ps.dll
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/include/gl2ps.h
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./README.txt
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./COPYING.LGPL
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./COPYING.GL2PS
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./gl2psTest.c
         -- Installing: C:/Users/runneradmin/AppData/Local/.xmake/packages/g/gl2ps/1.4.2/632688724908443f8f3cceb4a05648a7/./gl2psTestSimple.c

OK. IDK why I have Linux arm64 error now instead of Windows v3. 😕😕😕

@luadebug luadebug requested a review from star-hengxing March 4, 2025 12:40
@waruqi waruqi merged commit 04e5336 into xmake-io:dev Mar 5, 2025
71 checks passed
Doekin pushed a commit to Doekin/xmake-repo that referenced this pull request Mar 5, 2025
* test

* fixup hash

* Do not build tests.

* test

* fixup

* test

* Update xmake.lua

* Update xmake.lua

* retry

* re

* remove v

* Update xmake.lua

* Update xmake.lua

* test

* fixup

* retry

* re

* make opengl deps optional = true

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants