4 ms·
Couldn't get it to compile on Ubuntu or OSX 10.8; I am definitely interested though... Is there anything like this that is more stable?
by regis 13y ago
Couldn't get it to compile on Ubuntu or OSX 10.8; I am definitely interested though... Is there anything like this that is more stable?
- shurcooL 13y agoYou should absolutely be able to compile it under OS X 10.8 without any issues. All you need is Xcode and golang installed, the project repo has everything else. You would also need git for the git-related stuff. What was the error you got? I've made it compile under Ubuntu earlier [1], but there may be some issues with dependences there. This one is trickier as it's not my main dev environment (and I'm taking some shortcuts for now). [1] https://dl.dropboxusercontent.com/u/8554242/dmitri/projects/Conception/images/Conception%20on%20Linux.png https://dl.dropboxusercontent.com/u/8554242/dmitri/projects/...
- regis 13y agoActually I mis-spoke. It compiles but I'm getting an error when it tries to load the background texture. I definitely have OpenGL but I am getting some saort of OpenGL error. I will test that Ubuntu installation in a bit. Thanks.
- shurcooL 13y agoCan you tell me what the error was (see the stdout + stderr output of Xcode)? I'd really like to help you get it to run, and figure out why it didn't out of the box (it should). Which video card do you have? It should work even on an Intel 3000.
- regis 13y agoSure, here it is: Using GLFW 2.7.5. CPU Count: 1 GL Renderer: NVIDIA Corporation NVIDIA GeForce GT 330M OpenGL Engine 2.1 NVIDIA-8.10.44 304.10.65f03 GLFW_ACCELERATED: 1 GLFW_RED_BITS: 8 GLFW_GREEN_BITS: 8 GLFW_BLUE_BITS: 8 GLFW_ALPHA_BITS: 8 GLFW_DEPTH_BITS: 0 GLFW_STENCIL_BITS: 0 GLFW_REFRESH_RATE: 0 GLFW_FSAA_SAMPLES: 8 Window Dimensions: 1536x960 Background thread (tid = 1) created. Background thread is starting. Error: Failed to load texture. rm: ./GenProgram: No such file or directory rm: ./GenDiff1.txt: No such file or directory rm: ./GenDiff2.txt: No such file or directory sh: ./bin/gocode/gocode: No such file or directory sh: ./bin/gocode/gocode: No such file or directory Sending kill to last child pid 92715. Background thread has ended. Background thread has been shut down. ~App() ~InputManager()`
- shurcooL 13y agoThanks. I can see the issue is that the current working directory for the binary is not set correctly. It should be set to the repo root (the folder that contains README.md). The ./bin/gocode/gocode file should be present. How are you running it? You should open the Xcode project and Run it (Cmd+R). The Xcode project is configured to set the current working directory as the project root folder.
- regis 13y agoThat's what I had been doing. What I ended up doing to get it to work was unzipping the file, running xcodebuild and then moving the binary to the root of the project. Thanks for the help. EDIT: Still getting this error though from within the running application: libc++abi.dylib: terminate called without an active exception ls: ./GenProgram: No such file or directory
- shurcooL 13y agoThanks for trying. It's really strange that it doesn't work on your OS X while it does on mine (and on someone else's system who tried it somewhat recently). I'd like to figure out why. I've pushed a small update [1] that prints the current working dir of the app. Perhaps you can try it and verify that it's being set correctly. See this screenshot [2] for Xcode setting that sets the running app cwd. [1] https://github.com/shurcooL/Conception/commit/37bbbb57e56caaa4e679a07f8f460426f7e0e9f2 https://github.com/shurcooL/Conception/commit/37bbbb57e56caa... [2] http://img526.imageshack.us/img526/7548/imagexcsb.png http://img526.imageshack.us/img526/7548/imagexcsb.png
- regis 13y agoAwesome that fixed it.