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

linux: fix build scripts #1897

Merged
merged 2 commits into from Feb 28, 2013
Merged

Conversation

arturoc
Copy link
Member

@arturoc arturoc commented Feb 28, 2013

No description provided.

…to bugfix-linuxscripts

Conflicts:
	scripts/linux/buildAllExamples.sh
	scripts/linux/cleanAllExamples.sh
arturoc added a commit that referenced this pull request Feb 28, 2013
@arturoc arturoc merged commit 21bdfc4 into openframeworks:develop Feb 28, 2013
@arturoc arturoc deleted the bugfix-linuxscripts branch February 28, 2013 09:02
@bilderbuchi
Copy link
Member

@arturoc while we're at it, in the buildAllExamples and cleanAllExamples script, could we replace the cd - make sequences by make -c <path>, without cd?
This would enable you to add the buildAllExamples and cleanAllExamples script to an Eclipse project, bind them to build and clean, and get all the errors/warnings with the correct location (i.e. click-bound to file/line) - if you use the cd approach as it is presently, the parser gets confused and doesn't find the files.

I had this change on my local copy, and it was running without problems, only I had to stash it and then dropped it for some merge work, so I'd have to recreate it.
Can/should I PR that fix and an Eclipse project for all examples compilation?

@arturoc
Copy link
Member Author

arturoc commented Feb 28, 2013

sounds good, i've changed to work like that

@bilderbuchi
Copy link
Member

nice, thanks. currently testing it.

btw, the new makefile seems to compile 64bit OF on my 32bit machine, or is that just some path naming thing?

make -C ../openFrameworksCompiled/project/linux64 -j2 all 
make: Entering directory `/home/cbuchner/Dropbox/Visuals/Coding/openFrameworks/libs/openFrameworksCompiled/project/linux64'
make Debug
make[1]: Entering directory `/home/cbuchner/Dropbox/Visuals/Coding/openFrameworks/libs/openFrameworksCompiled/project/linux64'

uname -a: Linux kestrel 3.5.0-25-generic #38-Ubuntu SMP Mon Feb 18 23:28:26 UTC 2013 i686 athlon i686 GNU/Linux

@bilderbuchi
Copy link
Member

btw2: there's a slight concatenation error in the build examples script. output is
building + ../../examples/math/particlesExample - the + in the code seems to be superfluous?

@arturoc
Copy link
Member Author

arturoc commented Feb 28, 2013

btw, the new makefile seems to compile 64bit OF on my 32bit machine, or is that just some path naming thing?

is that in eclipse? probably you just need to refresh the project, the new makefiles won't compile with that path

the + in the code seems to be superfluous?

:) yes

@bilderbuchi
Copy link
Member

is that in eclipse? probably you just need to refresh the project, the new makefiles won't compile with that path

argh, damn, just remembered the new system hasn't been merged yet. so it's still the old one, my bad >.<
yes it's eclipse, probably some refresh issue, forget about it.

@bilderbuchi
Copy link
Member

I just tried the updated scripts, they work as expected with the eclipse examples project. maybe you wanna try and add it to OF if it works? https://gist.github.com/bilderbuchi/5055779

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

Successfully merging this pull request may close these issues.

None yet

2 participants