eclipse for c++ development on sun solaris 10. getting gtk-warning - c++

I want to do c++ development on sun solaris 10.0 machine. I downloaded eclipse for solaris 10 but when I run it nothing popsup and I get warnings on command line. How do I bring up eclipse IDE? also will I need any plugin in my eclipse.ini to enable c++ development? there are a whole lot of files under the /plugins directory. I am very new to unix and solaris os.
Here is my environment
cat /etc/release
Solaris 10 10/09 s10x_u8wos_08a X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
uname -a
SunOS 5.10 Generic_147441-25 i86pc i386 i86pc
This is the eclipse I downloaded
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.6-201606061100/eclipse-SDK-4.6-solaris-gtk-x86_64.zip
This is the java version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
This is the warning message
./eclipse
Eclipse:
GTK+ Version Check
***WARNING: Gtk+ version too old (micro mismatch)
***WARNING: SWT requires GTK 2.18.0
***WARNING: Detected: 2.4.9
(Eclipse:3218): Gdk-WARNING **: gdkdrawable-x11.c:994 drawable is not a pixmap or window
(Eclipse:3218): Gtk-WARNING **: gtkwidget.c:7030: widget class GtkLabel' has no property namedlink-color'
I am using cygwin and running xwindows plugin to support popup windows.
heres the downloaded eclipse.ini. I have not made any changes to it.
vi eclipse.ini
"eclipse.ini" 13 lines, 320 characters
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.solaris.x86_64_1.1.300.v20160518-1444
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
thanks

Related

Why does Abaqus not find my c++ compiler?

I need to use uMat and user subroutines in Abaqus.
I installed Abaqus 2020, Visual Studio 2019, Intel oneApi Base Toolkit and Intel oneApi HPC Toolkit (in this order). After successfully linking the Fortran Compiler (Intel Fortran Compiler 2021.4) with VS19 (setting all the path variables and editing the abaqus2020.bat and the abaqus_v6.env) I started Abaqus Command (as admin) and used the command abaqus verify -user .. it PASSED right away.
My main problem is: if I plug in "abaqus info=system" everything is fine except the C++ Compiler.
C++ Compiler: Unable to locate or determine the version of a C++ compiler on this
system. If a C++ compiler is installed on this system, please load vcvars64.bat
file before running Abaqus
I tried:
different versions of VS
different OS
different Processor
calling the vcvars64.bat in abaqus2020.bat
Installing third party c++ compilers (MinGW)
My current setup:
Processor: AMD Ryzen 5 3600
RAM: 32 GB DDR4 3200
Graphics: MSI NVidea Geforce GTX 1660 Ti
OS: Windows 11
Linker Version: Microsoft Incremental Linker Version 14.29.30137.0
Fortran Compiler: Intel Fortran Compiler 2021.4 MPI MS-MPI 9.0.12497.11
Error Message

qtcreator installation issue invalid encoding

I had previous installation packages for Qt.
/home/star/Downloads/sandeep/Untitled Folder/qt-creator-opensource-linux-x86_64-4.2.1(1).run
/home/star/Downloads/sandeep/Untitled Folder/qt-opensource-linux-x64-5.8.0.run
/home/star/Downloads/sandeep/Untitled Folder/qt-unified-linux-x64-2.0.5-1-online.run
I clicked properties and checked "allow package to run"
But when I double click on the run file,�*B# (invalid encoding) file gets created and it does not execute.
Also, I guess my linux is 32-bit, because output of uname -a gives
Linux star-X555LAB 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:06:14 UTC 2016 i686 i686 i686 GNU/Linux
and I gues my installables are 4 bit as the name suggests,that may be the problem.
I searched internet and found that it happens when u migrate from windows to linux. So, I formatted my NTFS pen drive to ext and tried again. the same problem repeats.
What should I do now?
I think the current installation packages for qt support only 1 month service. Or is the open-source longer duration free license for qt still valid. if so What is the path to download installables?
Yes you are right. Your OS is 32bit (i686) and your Qt installation is 64bit (x64). You may:
Run the binary from terminal and see the output
Install 64bit OS
Install 32bit Qt toolset

Can't compile Cuda samples on macbook pro 2010 [duplicate]

I am trying to install CUDA on my Mac Pro (15-inch, Mid 2009 with GPU GeForce 9400M).
I have installed from https://developer.nvidia.com/cuda-downloads the toolkit.
nvcc --version returns: ... Cuda compilation tools, release 7.5, V7.5.19
I have installed directly the driver from the package, then from http://www.nvidia.com/object/mac-driver-archive.html. Then from System Preferences > CUDA Preferences, I can see CUDA Driver Version: 7.5.25 (though the update 6.5.51 is proposed (?)).
I can compile a sample (0_Simple/asyncAPI). When I launch it, I get:
[./asyncAPI] - Starting...
CUDA error at ../../common/inc/helper_cuda.h:1111
code=35(cudaErrorInsufficientDriver)
"cudaGetDeviceCount(&device_count)"
Why this error??
The CUDA 7 release cycle removed support for compute capability 1.x devices on all platforms. This includes your Geforce 9400M.
The last version with support of those devices was CUDA 6.5. You will need to work out what XCode version will work with that CUDA toolkit and your OS version and install that instead.
[This answer assembled from comments as a community wiki entry to get this question off the unanswered queue for the CUDA tag].

Is there a way to get ColdFusion Builder 3 to run using Java 8?

I am using Mac OS X El Capitan, with Java(TM) SE Runtime Environment (build 1.8.0_65-b17). ColdFusion Builder 3 uses java runtime 1.6.
Is there a way to install CF Builder, but using the current JDK on my machine?
Too long for comments
I am running Windows but my version of ColdFusion Builder 3 is running Java 8 already. I did not make any changes for this.
When I click on Help > Product Details > Installation Details > Configuration (tab) this is what it reports. I am only including some of the java* information under system properties here:
java.home=C:\Program Files\Adobe\ColdFusionBuilder3\jre
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_25-b18
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.8
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.8.0_25
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.8
java.vm.vendor=Oracle Corporation
java.vm.version=25.25-b02
I do have update 65 installed on my machine but Builder is using it's own JRE as noted above.
I asked a similar question (Install ColdFusion Builder 2 Update 1 Plug-in in Eclipse 4.3) for installing CFB 2x as an Eclipse plug-in. It seems that the requirements are fairly strict when it comes to CFB.
Here are the install specifications for CFB 3x on the Adobe site:
http://www.adobe.com/products/coldfusion-builder/tech-specs.html
It looks like this version is stuck with Java 1.7 or Eclipse 4.3.2.
Update: I was able to install Eclipse 4.3.2 (Kepler) with 64-bit JDK 1.7u80. I had to add the following to the eclipse.ini file:
-vm
D:/Program Files/Java/jre7/bin
The location of your JDK/JRE may be different.
Further Update: I was able to set up Eclipse 4.3.2 (Kepler) to use the latest 1.8u66 JDK. I modified eclipse.ini after I installed this JDK:
-vm
D:\Program Files\Java\jre1.8.0_66\bin
Eclipse Help > About Eclipse > Installation Details > Configuration has:
-vm
D:\Program Files\Java\jre1.8.0_66\bin\server\jvm.dll
So it looks like it is working with the latest 1.8.
No, it will specifically request Java 1.6 even if you edit the proper plist file (/Applications/ColdFusionBuilder3/CFBuilder.app/Contents/Info.plist). You can get Java 1.6 here https://support.apple.com/kb/DL1572?locale=en_US
You just need to find the eclipse.ini file located beside the eclipse program (or Builder as it were). In there it will have the path to the JDK. Change the path to the JDK on your system.

Cannot create new directory or file in Qt Creator.3.0 when creating a plain c/c++ project

This is a strange problem, when I create a plain C/C++ project in Qt Creator, I can not create new source file or new directory; anybody know why? thanks~
My Qt Creator info:
OS: Ubuntu 14.04 X86_64
Qt Creator 3.3.0 (opensource)
Based on Qt 5.4.0 (GCC 4.6.1, 64 bit)
Built on Dec 8 2014 at 15:21:39
From revision d36c4d87db
Copyright 2008-2014 Digia Plc. All rights reserved.