Bug #1485
Compilation / linking fails on MacOS
Status: | Resolved | Start date: | 05/04/2013 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | S. Wrede | % Done: | 90% | ||
Category: | Build System | ||||
Target version: | Robotics Service Bus - rsb-0.9 |
Description
2 warnings generated. c++ -o Example2 Example2.o -L"/Applications/Webots/lib" -lController `pkg-config --libs cca-oncilla0.4 liboncilla-0` -lCppController -mmacosx-version-min=10.6 -arch i386 -arch x86_64 clang: error: no such file or directory: '/usr/local/Cellar/rst-converters/HEAD/lib/librstconverters.dylib.0.9'
Due to a broken pkg.config file (library name is wrong):
Name: rst-converters Description: Converters for RSB based on RST types. Version: 0.9.0 Requires: rsb0.9, rst0.9 , rci0.4 Libs: -Wl,--rpath -Wl,${libdir} ${libdir}/librstconverters.dylib.0.9 Cflags: -I${includedir}
Also, we don't want an rpath on MacOS.
Associated revisions
renamed eclipse project to rst-conversts, correct pkg-config file on MacOS, refs #1485
renamed eclipse project to rst-conversts, correct pkg-config file on MacOS, refs #1485
Some intermediate cleanup of the original commit.
- Fix coding style conventions
- Use correct variable names
- Only do things if we can build a pc file at all
refs #1485
Some intermediate cleanup of the original commit.
- Fix coding style conventions
- Use correct variable names
- Only do things if we can build a pc file at all
refs #1485
Fix lib name generation for linux.
refs #1485
Fix lib name generation for linux.
refs #1485
renamed eclipse project to rst-conversts, correct pkg-config file on MacOS, refs #1485
Some intermediate cleanup of the original commit.
- Fix coding style conventions
- Use correct variable names
- Only do things if we can build a pc file at all
refs #1485
Fix lib name generation for linux.
refs #1485
History
#1 Updated by S. Wrede about 11 years ago
- Status changed from New to Feedback
- Assignee changed from S. Wrede to J. Wienke
- % Done changed from 0 to 90
Fixed this on MacOS.
Needs testing / feedback on Linux.
#2 Updated by J. Wienke about 11 years ago
- Assignee changed from J. Wienke to S. Wrede
Ich denke ich hab jetzt alles wieder hergestellt.
#3 Updated by S. Wrede about 11 years ago
Du meinst das Verhalten und Linux?
#4 Updated by J. Wienke about 11 years ago
Ja, einen wirklichen Testcase fur pc-Benutzung unter Linux habe ich nicht, aber die Datei sieht wieder passend aus.
#5 Updated by J. Moringen about 11 years ago
Has this been fixed by the recent pkg-config changes?
#6 Updated by J. Wienke about 11 years ago
- Status changed from Feedback to Resolved
Please reopen if necessary.