Comments (4)
I have the same problem on Windows 7 64 bit machine:
I make a Go1 project in e:\goprojects, which is also the value of my GOPATH
variable.
When I try to build the generated source file, I get:
<action id="Build" cmd="$(GO)" args="build">
<start="c:/go/bin/go.exe build"
workdir=""/>
can't load package: package .: no Go source files in
E:\Go\ides\LiteIde 1.1B2\bin
<exit code="1" msg="process exited
normally"/>
</action>
The command searches in E:\Go\ides\LiteIde 1.1B2\bin, which is the value of the
LITEAPPDIR variable, but this cannot be changed!
Please help: before the Go1 changes this all worked and it was my favourite Go
environment and I know it is very good, but now I can't get it to build and run
anymore!
Ivo Balbaert
Original comment by ivo.balbaert
on 9 Apr 2012 at 12:11
from golangide.
[deleted comment]
from golangide.
I found my problem. The GOPATH needs to be defined as $HOME/gocode. It finds
all the packages and compiles them, but places the executable in the src
directory. According to the GO1 instructions the executable should be placed in
the bin directory. I'm using a darwin_amd64.
Original comment by [email protected]
on 15 Apr 2012 at 2:52
from golangide.
#3's fix doesn't work for me. Even putting my code in $HOME/gocode and manually
specifying that as the path doesn't fix the problem...it still says it cannot
find any packages.
Original comment by jeffrey.mitchell
on 4 Jun 2013 at 9:57
from golangide.
Related Issues (20)
- 调试显示问题 HOT 3
- 64位win8下的显示问题 HOT 1
- 64位win8下的显示问题 HOT 1
- X19在linux mint15下闪退 HOT 2
- 19版本{}[]等括号自动匹配异常 HOT 2
- Building on windows filename issue HOT 1
- Cannot get Text style to show as bold.
- 新的golang会把第三方包放到gopath中,但是在liteide中无法提示
- liteide 19 crushes on kubuntu 13.10 as "Cannot mix incompatible Qt library" HOT 1
- Allow alternative gofmt path? HOT 1
- liteide doesn't work on Mac
- liteide doesn't work on Mac HOT 1
- error process failed to start HOT 2
- Autodetect Go installation by GOROOT environment
- 如何升级? HOT 1
- 类成员显示符号的bug HOT 1
- 鼠标滚动有点卡的感觉 HOT 1
- lldb debug under osx maverick
- When opening a file with X20.1 two instances of golangide are created
- Doesn't rebuild the modified file unless the output exe is manually deleted. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golangide.