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

Build Failure #1

Open
felipetesc opened this issue Aug 23, 2022 · 12 comments
Open

Build Failure #1

felipetesc opened this issue Aug 23, 2022 · 12 comments

Comments

@felipetesc
Copy link

felipetesc commented Aug 23, 2022

Expected Behavior

To build the example contained inside the readme

Current Behavior

Build Failure

Possible Solution

I don't know how to solve this, but perhaps it's related to how Haxe links the source to Windows, and by reading the output it seems a issue related to a missing file: Build.xml

Steps to Reproduce (for bugs)

  1. Open Windows Powershell
  2. Type 'haxe build.hxml
  3. Wait
  4. Read the message
C:\Users\MyUser\Desktop\HashLink\raylib_sample>haxe build.hxml
haxelib run hxcpp Build.xml haxe -Dhaxe="4.2.5" -Dhaxe3="1" -Dhaxe4="1" -Dhaxe_ver="4.205" -Dhxcpp="4.2.1" -Dhxcpp_api_level="400" -Dhxcpp_smart_strings="1" -Draylib-haxe="1.1.0" -Draylib_haxe="1.1.0" -Dsource_header="Generated by Haxe 4.2.5" -Dstatic="1" -Dtarget.name="cpp" -Dtarget.static="true" -Dtarget.sys="true" -Dtarget.threaded="true" -Dtarget.unicode="true" -Dtarget.utf16="true" -Dutf16="1" -I"src/" -I"C:\\HaxeToolkit\\haxe\\lib\\hxcpp/4,2,1/" -I"C:\\HaxeToolkit\\haxe\\lib\\raylib-haxe/1,1,0/" -I"" -I"C:\\HaxeToolkit\\haxe\\extraLibs/" -I"C:\\HaxeToolkit\\haxe\\std/cpp/_std/" -I"C:\\HaxeToolkit\\haxe\\std/"
Error: Could not find include file "C:/HaxeToolkit/haxe/lib/raylib-haxe/1,1,0/Build.xml"
Error: Build failed

Media

Not aplied

Test app / minimal test case

I've just followed the example from README.md

Context

Can't even test the lib

Your Environment

  • Version used: 1,1,0
  • Environment name and version : No
  • Operating System and version (desktop or mobile): Windows 11
  • Link to your project: No
@felipetesc
Copy link
Author

To fix:
I have added Build.xml inside raylib-haxe\1,1,0\lib\raylib
For some reason haxelib command is not installing several files needed to build the project

@ianharrigan
Copy link
Member

Hmmm, ill check the haxelib install, maybe the zip was bad

@felipetesc
Copy link
Author

felipetesc commented Aug 23, 2022

Hmmm, ill check the haxelib install, maybe the zip was bad

I fixed all issues after deleting raylib inside C:\HaxeToolkit\haxe\lib\raylib-haxe\1,1,0\ and I copied the folder from github raylib-haxe/tree/main/lib/raylib inside C:\HaxeToolkit\haxe\lib\raylib-haxe\1,1,0\

@ianharrigan
Copy link
Member

Cool - so sounds like a bad haxelib release on my part

@Its-Kenta
Copy link

Also facing this issue but the solution above did not fix it for me.

@ianharrigan
Copy link
Member

Have you tried git versions of haxeui-core and haxeui-raylib?

@Its-Kenta
Copy link

I didnt know you need to use haxeui-core? Is there any reason behind that?

@ianharrigan
Copy link
Member

whoops, sorry, not reading correctly AT ALL... i thought this was the haxeui-raylib repo, ntit the raylib-haxe repo. So no, you shouldnt need haxeui at all. So, have you tried using the git version of this lib?

@Its-Kenta
Copy link

My bad as well! I finally realised what was needed.
I did so, but I ran into few problems in terms of using it so I shamefully gave up.. Sorry!

@ianharrigan
Copy link
Member

problems compiling? Or problems using?

@Its-Kenta
Copy link

Using really, maybe it's my lack of knowledge in Haxe as of yet. Not sure.

@ianharrigan
Copy link
Member

Right, well, feel free to post any problems you are having here, i might be able to help (or not) :)

Cheers,
Ian

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

3 participants