osgVisualizer in OMNeT - omnet++

In MobilityShowcase.ned example, I get this error:
Submodule osgVisualizer: No module type named 'IntegratedOsgVisualizer' found that implements module interface inet.visualizer.contract.IIntegratedVisualizer (not in the loaded NED files?), at /home/nihan/Documents/omnetpp-6.0.1/samples/inet4.4/src/inet/visualizer/common/IntegratedVisualizer.ned:26 -- in module (omnetpp::cModule) MobilityShowcase.visualizer (id=2), during network setup
I've seen that osg directory looks like this in OMNeT:
How can I solve this?

You need to enable OSG visualizer in the inet project:
Right click on inet project
Select properties
Select and expand OMNET++ from the menu
Select project feature
Check visualization OSG (3D). Also you can enable visualization OSG (3D) show cases in case you want to run the show cases.

Related

New Cursive deps module - "Clojure jar not attached to this module"

In Cursive with a new deps module (within an existing project which uses lein) I'm getting:
"Run configuration error: The Clojure jar is not attached to this module"
How do I attach it?
Relatedly, none of the clojure core functions are recognised by the editor when the file is open (I mean for the editor's code analysis purposes).
But, when I run -main in that new module with clj directly from the terminal, everything works fine.
Solved - open Project Structure and look at the bottom of the left panel in the window that opens, below Platform SDKs, there's a discrete entry called "Problems". If you click that it offers to Fix and adds clojure, spec, etc. as dependencies of the new deps module.

How to add "lwIP library" to Eclipse XSDK Zynq Application Project?

How to add "lwIP library" to Eclipse XSDK Zynq Application Project?
I tried following the instructions in "Xilinx Standalone Library
Documentation" for Zynq-7000 CPU under the chapter for "lwIP" library.
So basically, I create a FreeRTOS application project
Then the instructions say open the "The Board Support Package Settings window"... which I can't find... and then:
(e) Select the lwip202 library with version 1_1 .
On the left side of the SDK window, lwip202_v1_1 appears in the list of libraries to be compiled.
(f) Select lwip202 in the Project Explorer view.
The configuration options for lwIP are listed.
(g) Configure the lwIP and click OK.
The board support package automatically builds with lwIP included in it.
How to find the BSP settings windows in XSDK?
How to adding lwIP library to XSDK project.
Create Application project named with FreeRTOS option selected.
Right click _bsp and select "Board Support Package Settings"
Click Check box "lwip"
click ok.

I can't figure out how to change my header file to "public"

I downloaded the Parse SDK and added all of the dependencies as well as the Parse.framework and Bolts.framework. Then I went to my app delegate and
started to import Parse and Bolts. Then I got an error saying "Could not build Objective-C module 'Bolts'". This was because of many errors in the Bolts.h file which all said "Include of non-modular header inside framework module 'Bolts'". So after some research I found that people have fixed this error by changing their header file to "public". But when I tried to do this the only options I get in the "target membership" column, after selecting the Bolts.Framework, is to make it required or optional. Why am I not getting the public, private, and project options? What other way can I find those options?
Select the header file in the Project Navigator (right pane of XCode). In the Utilities pane (far right) select the File Inspector tab. Under Target Management you should be able to select the target and change that property.
Incidentally, I had the same issue (both FacebookSDK and Bolts installed). By removing Facebook from Library Search Paths (under Build Settings) I was able to get it working.

Unable to proprerly include Showcase View lib

I have trouble including the ShowcaseView library in my Android application with Android Studio.
On the GitHub repo (https://github.com/Espiandev/ShowcaseView), it says it should be easy to install with Maven. But when I search for showcaseview, Maven finds no result.
So I clone the repo on my computer and try to include it's library folder as a java library in my project's module dependencies. But when I try to use it in my code, it says
Cannot resolve symbol 'ShowcaseView'
My guess is because the actual ShowcaseView library is not compiling due to errors (the cloned repo is showing in multiple files the error
Cannot resolve symbol 'R'
event after adding the NineOldAndroids as a module dependency as showed on the GitHub repo.
Is there something I am missing?
You shouldn't include library folder as a java library.
try following way to add ShowcaseView library as a module to your project:
Go to file > Project Structure...
in the left panel select Modules and in the middle panel click plus icon and then select Import Module
from browsing dialog select path of ShowcaseView library
click next... to finish importing (but notice the directory /gen of library unchecked)
Then goto the Library section in left panel and select libs in middle panel
if the library robolectric-2.2-20130909.210745-40-jar-with-dependencies.jar existed in right panel then you should remove it.
Goto the Modules section and select your main project module in middle panel and click plus icon in right panel and select Module Dependency... then select ShowcaseView library that previously included.
Now you should rebuild your project...
Go to ShowcaseView Manifest and change the package name to com.espiandev.showcaseview
the rebuild, re-organize imports, R would resolve to the new package.

Visual Studio 2010 property sheet inheritance

I am trying to move my c++ project setting into property sheets. I use multiple third party libraries, but they are not used by all of the projects.
Is there any way to use property sheets to bring in settings specific to the third party library I need for each project (mainly include and library directories). I would like to be able to do this at a project level rather than a global level so if I get a new library I can test it without breaking my normal development projects.
As an example:
Library1: needs include directory X:\Lib1\Include and lib directory X:\Lib1\Lib
Library2: needs include directory Y:\Lib2\Include and lib directory Y:\Lib2\Lib
I tried creating two property sheets, but it appears that as VS moves through the hierarchy, it just uses the newest version of the settings that it finds (according to that hierarchy).
Is there any way to configure these so the directories properties are cumulative?
Thanks,
Eric
Click the drop-down arrow on the right of the field, select 'Edit' Check the box "Inherit from parent or project defaults' and this will automatically add the neccessary macro (eg $(AdditionalIncludeDirectories), etc)

Resources