Bug #1485

Compilation / linking fails on MacOS

Added by S. Wrede almost 11 years ago. Updated almost 11 years ago.

Status:ResolvedStart date:05/04/2013
Priority:NormalDue 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

Revision 6bef515a
Added by S. Wrede almost 11 years ago

renamed eclipse project to rst-conversts, correct pkg-config file on MacOS, refs #1485

Revision 21296707
Added by S. Wrede almost 11 years ago

renamed eclipse project to rst-conversts, correct pkg-config file on MacOS, refs #1485

Revision d7d90de9
Added by J. Wienke almost 11 years ago

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

Revision 98e671af
Added by J. Wienke almost 11 years ago

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

Revision ad78c381
Added by J. Wienke almost 11 years ago

Fix lib name generation for linux.

refs #1485

Revision 10f54e55
Added by J. Wienke almost 11 years ago

Fix lib name generation for linux.

refs #1485

Revision ed0adb28
Added by S. Wrede over 7 years ago

renamed eclipse project to rst-conversts, correct pkg-config file on MacOS, refs #1485

Revision 9c90723d
Added by J. Wienke over 7 years ago

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

Revision 2c96c8d7
Added by J. Wienke over 7 years ago

Fix lib name generation for linux.

refs #1485

History

#1 Updated by S. Wrede almost 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 almost 11 years ago

  • Assignee changed from J. Wienke to S. Wrede

Ich denke ich hab jetzt alles wieder hergestellt.

#3 Updated by S. Wrede almost 11 years ago

Du meinst das Verhalten und Linux?

#4 Updated by J. Wienke almost 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 almost 11 years ago

Has this been fixed by the recent pkg-config changes?

#6 Updated by J. Wienke almost 11 years ago

  • Status changed from Feedback to Resolved

Please reopen if necessary.

Also available in: Atom PDF