PlatformIO utility is not found - clion

Hello i am getting problems with CLion 2020 that when I try create a new PlatformIO project, it just says "PlatformIO utility is not found"
ERROR.jpg

The platformio.exe can usually be found at C:\Users<your_username>.platformio\penv\Scripts.
If you add that location to your path variable, clion should be able to find it.
Good luck

Related

ROS for Windows, error LNK1104: cannot open file 'rt.lib'

I'm trying to use ROS for Windows for the first time, with a package that was previously developed in Linux.
Doing the catkin_make I find this error:
LINK : fatal error LNK1104: cannot
open file 'rt.lib'
I think the problem is in my CMakeLists.txt where I have:
target_link_libraries(omni_state HD HDU rt ncurses ${catkin_LIBRARIES})
I had a similar problem with HD.lib and HDU.lib, bacause I guess that the automatic find_path doesn't work well (or at all :P) in Windows. So I added
link_directories(path_to_lib_dir)
solving the problem. I would like to do the same thing for rt, but I can't find rt.lib in my PC. I also searched how to download it but I can't find a way.
Can someone help me?

Xinput.h: No such file or directory

I'm trying to get input from an xbox controller, I went to this page:
http://www.codeproject.com/Articles/26949/Xbox-360-Controller-Input-in-C-with-XInput
and I'm just test running his source, good thing I did because it found an error:
C:\Users\me;)\Desktop\XBOX360Test\XBOX360Test\CXBOXController.h|9|fatal error: Xinput.h: No such file or directory|
Can I don't know what the issue is, doesn't Xinput ship with windows?
I'm late I know, but I get the same error.
Opening the project in Visual Studio works fine, but compiling with gcc doesn't. Seems like the compiler of VS knows more than gcc and you need to compile it with that one. Here's how:
http://msdn.microsoft.com/en-us/library/ms235639(v=vs.80).aspx

WARNING **: Couldn't find pixmap file

Working with Windows Vista. I wrote the rough interface out with Glade so I am working from that source. GTK 2.0. When I compile & run I get the above error. Is there a way to absolute path images? If not how in the world do I find it? I tried add_pixmap_directory using the absolute path with no luck. Ideas?
Turns out the problem was Msys. I swapped & started using MinGW. MSys was not writing out the output file so I just kept getting the same error as the file was not being overwritten. All is good now.

Configuring Bison to compile an input file under Visual C 6

I'm trying to get Bison to do it's thing in VC6. I'm sure this must be a problem with my configuration. At the moment I have a Custom Build step as follows.
<Commands>
echo Start parser generation
"C:\GnuWin32\bin\bison.exe" $(InputPath)
echo Finish parser generation
<Outputs>
$(ProjDir)\$(InputName).c
$(ProjDir)\$(InputName).h
The error I get is "C:\GnuWin32\bin\bison.exe: m4: No such file or directory", which makes me think the m4.exe doesn't exist or isn't on the path, but I can run the exact same command from CMD in the same directory with no errors.
This thought process makes me think it's a problem with the output options, but I've tried various configurations with no luck.
Any help would be great, thanks in advance.
Edit: I've added some more visual studio versions to the tag list to try to get some more exposure for the question. Hopefully someone will have done this in a later version and I can work backwards.
Okay, I've managed to slove this in a very round-about way but I will try my best to document it here.
It seems that VC6 Custom build options will only look in the project directory for the m4.exe, even when you specify where the calling exe (bison) is explicitly. To solve this I did a bit of a hack and did a full cd command in the custom build window to get to the gnuwin32 directory (where both bison and m4 live) before trying to call the parser generator.
This works fine but is a bit of a hassle for trying to distribute it to other people when they may have installed GNU tools to a different location.

Need help compiling libqxt for Windows

I have a Qt project which uses libqxt. How do I compile it for Windows?
Edit
Ok, I compiled it, and it's installed in "C:\Qxt\", but when I try to build my project it still fails with error
..\qlocate\mainwindow.cpp:13:29: error: QxtGlobalShortcut: No such file or directory
I assume I should change the include paths of Qt Creator, but how do I do that?
there's a problem with the headers. Read the complete guide to fixing it here:
http://qt-project.org/wiki/LibQxt_in_QtCreator
just download it from
http://dev.libqxt.org/libqxt/wiki/user_guide
and run configure.bat

Resources