-
-
Save KuennekeS/91f3db86140a79bfdc2d to your computer and use it in GitHub Desktop.
rb++ problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef frontpanelDriver_DEF | |
#define frontpanelDriver_DEF | |
using namespace some::namespace; | |
class FrontPanelDriver | |
{ | |
public: | |
FrontPanelDriver(); | |
~FrontPanelDriver(); | |
// lots of methods that that use objects from some::namespace | |
private: | |
//some stuff here | |
}; | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'rbplusplus' | |
include RbPlusPlus | |
Extension.new "frontpanelDriver" do |f| | |
f.sources ["testing.h"], | |
:library_paths => ["../build/frontpanelDriver"], | |
:libraries => ["frontpaneldriver"], | |
:include_paths => ["/usr/local/share/gccxml-0.9/GCC/4.8", "/usr/local/include", "."] | |
f.namespace "test" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef testing_DEF | |
#define testing_DEF | |
// Things work fine until this include is added. | |
#include "frontpanelDriver.h" | |
namespace test | |
{ | |
class testing | |
{ | |
public: | |
testing(); | |
~testing(); | |
}; | |
} | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment