shurcool-legacy / conception Goto Github PK
View Code? Open in Web Editor NEWConception was an experimental project, looking for ways to make software development more efficient.
Conception was an experimental project, looking for ways to make software development more efficient.
Please fix the links.
ty.
package main
import "fmt"
func main() {
fmt.Print(string([]byte{0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x00, 0x74, 0x68, 0x65, 0x72, 0x65, 0x2e}))
}
Displays as "Hello "
instead of "Hello?there."
or something.
Here are the problems I ran into on linux:
I couldn't compile with the provided glfw. I had to link against my system one and remove the version check in Main.cpp. On debian 2.7 is available as a package and everything I tested works fine with it. Is there a better way to link against glfw?
I had to explicitly link all the required libs, it was caused by this: http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
The changes that I needed for debian jessie was removing the glfw version check and the following Makefile:
# Linux version
CC = clang++
CFLAGS = -I./include
CPPFLAGS = -std=c++11
# Disabled
# -stdlib=libc++
LFLAGS = -lglfw -lGL -lGLU -lX11 -lpthread -lXxf86vm
OBJS = ./src/*.cpp ./src/*/*.cpp ./src/*/*/*.cpp #./lib/libglfw.a
# Rule for Conception
Conception: $(OBJS) Makefile.linux
$(CC) $(CFLAGS) $(CPPFLAGS) $(OBJS) $(LFLAGS) -o $@
Anyway just wondering if you are interested in a pull request for these?
Here is the output
Using GLFW 2.7.5.
CPU Count: 1
GL Renderer: NVIDIA Corporation NVIDIA GeForce GT 650M OpenGL Engine 2.1 NVIDIA-8.18.22 310.40.05f01
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
Background thread has ended.
Background thread has been shut down.
~App()
~InputManager()
Returning 0 from main().
Even the data/Background.tga was not loading, It part returned True only after I replaced it with absolute path.
Any way to set the base path in this case ? I am using XCode5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.