Issue 95 in eclihx: Completion returned with error "Standard library not found"

11 views
Skip to first unread message

ecl...@googlecode.com

unread,
Feb 3, 2012, 9:22:52 AM2/3/12
to eclih...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 95 by a...@onthewings.net: Completion returned with
error "Standard library not found"
http://code.google.com/p/eclihx/issues/detail?id=95

Using eclihx on Ubuntu 11.10, Eclipse 3.7.0, completion returned with
error "Standard library not found".

My haxe installation is at _/usr/bin/haxe_
Standard lib is at _/usr/share/haxe/std_
_$HAXE_LIBRARY_PATH_ set to _/usr/share/haxe/std:._

ecl...@googlecode.com

unread,
Feb 3, 2012, 9:26:53 AM2/3/12
to eclih...@googlegroups.com

Comment #1 on issue 95 by a...@onthewings.net: Completion returned with
error "Standard library not found"
http://code.google.com/p/eclihx/issues/detail?id=95

Bad formatting :(

It should be:

My haxe installation is at

/usr/bin/haxe

Standard lib is at
/usr/share/haxe/std

$HAXE_LIBRARY_PATH set to
/usr/share/haxe/std:.

ecl...@googlecode.com

unread,
Feb 4, 2012, 9:00:48 PM2/4/12
to eclih...@googlegroups.com
Updates:
Status: Postponed

Comment #2 on issue 95 by goodwi...@gmail.com: Completion returned with

error "Standard library not found"
http://code.google.com/p/eclihx/issues/detail?id=95

Hello, sorry for a long response. In general this is a error not from
eclihx but from haxe compiler. Please try to activate completion feature
after enabling Error Log view in eclipse (Window -> Show View -> Other ->
Error Log). You should be able to see the exact string of compiler
execution posted as information message to this window. Please confirm that
this message contains an expected path for compiler.

ecl...@googlecode.com

unread,
Feb 5, 2012, 2:10:42 AM2/5/12
to eclih...@googlegroups.com

Comment #3 on issue 95 by a...@onthewings.net: Completion returned with
error "Standard library not found"
http://code.google.com/p/eclihx/issues/detail?id=95


The error log I got:

null
Info
Sun Feb 05 15:05:00 HKT 2012
Eclihx ExecuteProcess.
WorkingDirectory: "/home/andy/workspace/testHaxe".
CommandLine: "[/usr/bin/haxe, -main, Test, -cp, src, --display,
/home/andy/workspace/testHaxe/src/Test.hx@57, --no-output, -neko,
bin/testHaxe.n]".


If I enter the display command from console, I can get the output correctly:

andy@sacredibis:~/workspace/testHaxe$ /usr/bin/haxe -main Test -cp src
--display /home/andy/workspace/testHaxe/src/Test.hx@57 --no-output -neko
bin/testHaxe.n
<list>
<i n="charAt"><t>index : Int -&gt; String</t><d></d></i>
<i n="charCodeAt"><t>index : Int -&gt; Null&lt;Int&gt;</t><d></d></i>
<i n="indexOf"><t>str : String -&gt; ?startIndex : Int -&gt;
Int</t><d></d></i>
<i n="lastIndexOf"><t>str : String -&gt; ?startIndex : Int -&gt;
Int</t><d></d></i>
<i n="length"><t>Int</t><d></d></i>
<i n="split"><t>delimiter : String -&gt;
Array&lt;String&gt;</t><d></d></i>
<i n="substr"><t>pos : Int -&gt; ?len : Int -&gt; String</t><d></d></i>
<i n="toLowerCase"><t>Void -&gt; String</t><d></d></i>
<i n="toString"><t>Void -&gt; String</t><d></d></i>
<i n="toUpperCase"><t>Void -&gt; String</t><d></d></i>
</list>

ecl...@googlecode.com

unread,
Feb 5, 2012, 2:50:51 AM2/5/12
to eclih...@googlegroups.com

Comment #4 on issue 95 by a...@onthewings.net: Completion returned with
error "Standard library not found"
http://code.google.com/p/eclihx/issues/detail?id=95

Ok, turn out I have to put the following line in "/etc/environment"
HAXE_LIBRARY_PATH="/usr/share/haxe/std:."

Previously I put "export HAXE_LIBRARY_PATH="/usr/share/haxe/std:."
in "~/.bashrc" which eclipse does not read...

It is now working as expected, thanks for the help!

ecl...@googlecode.com

unread,
Feb 5, 2012, 4:18:10 PM2/5/12
to eclih...@googlegroups.com
Updates:
Status: WontFix

Comment #5 on issue 95 by goodwi...@gmail.com: Completion returned with

error "Standard library not found"
http://code.google.com/p/eclihx/issues/detail?id=95

Thank you for posting, I'm glad it solved now.

Reply all
Reply to author
Forward
0 new messages